Robert Connolly schreef:
> I haven't got this far yet, but I remember this problem. I think it's either 
> because ssp-local.c isn't getting -fpic or because it's getting -fpie, or 
> because a non-pic libiberty.a is being linked into libssp_nonshared.a.
>
> Adding -fPIC to libssp/Makefile.in's CFLAGS, and using --with-pic (for 
> libiberty.a) might help.
>
> robert
>   

I am still stuck at the butterfly-toolchain. The only thing I found out 
is that the build-error also was reproduced by the configure script. 
Here is the part from /butterfly-build/gcc/config.log:

configure:15425: checking assembler for cmov syntax
configure:15434: ../gas/as-new  -o conftest.o conftest.s >&5
Can't modify /sources/butterfly-build/bfd/.libs/libbfd-2.17.so's text 
section. Use GCC option -fPIC for shared objects, please.
configure:15437: $? = 1
configure: failed program was
cmovl.l %edx, %eax
configure:15448: result: no
configure:15460: checking assembler for GOTOFF in data
configure:15491: result: yes
configure:15848: checking assembler for dwarf2 debug_line support
configure:15880: result: yes
configure:15888: checking assembler for buggy dwarf2 .file directive
configure:15898: ../gas/as-new  -o conftest.o conftest.s >&5
Can't modify /sources/butterfly-build/bfd/.libs/libbfd-2.17.so's text 
section. Use GCC option -fPIC for shared objects, please.
configure:15901: $? = 1
configure: failed program was
        .file 1 "foo.s"
        .file 1 "bar.s"

Rob
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to