[Buildroot] fPIC problem after changing gcc version

Sven Neumann s.neumann at raumfeld.com
Thu Jul 7 12:47:04 UTC 2011


Hi,

I've changed the gcc version in our buildroot from 4.3.6 to 4.5.3 and
now all(?) binaries that use threads fail to start with the following
error:

Can't modify /lib/libpthread.so.0's text section. Use GCC option -fPIC
for shared objects, please.

Is this a known problem? Do I perhaps also need to change something in
the uCLibC configuration for this compiler update?


Thanks,
Sven




More information about the buildroot mailing list