cxxfilt.patch (307B)
1 Using --as-needed here eliminates the libelf linkage, 2 which results in undefined symbols at runtime. 3 4 --- a/cxxfilt/Makefile 5 +++ b/cxxfilt/Makefile 6 @@ -8,7 +8,7 @@ SRCS= cxxfilt.c 7 WARNS?= 6 8 9 DPADD= ${LIBELFTC} ${LIBELF} 10 -LDADD= -lelftc -lelf 11 +LDADD= -Wl,--no-as-needed -lelftc -lelf 12 13 MAN1= c++filt.1 14