hi ..... .... Can't modify /build/bft/bfd/.libs/libbfd-2.17.so's text section. Use GCC option -fPIC for shared objects, please. .... ...
I went ahead and modified the Makefile in bfd directory, but libbfd-2.17.so still has TEXTREL. cd bfd mv .libs/* /tmp mv *.o *.lo /tmp sed -i.orig "s/^CFLAGS =.*/CFLAGS=-g -O2 -fno-PIE -fPIC/" Makefile sed -i.orig "s/^LDFLAGS =.*/LDFLAGS=-fpic -fPIC/" Makefile diff Makefile.orig Makefile make tooldir=/usr readelf -ld .libs/libbfd-2.17.so | grep -E 'Shared object|TEXTREL' I'm about to give up for good. -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
