Skip to contentSkip to conversation

fPIC problem after changing gcc version

Buildroot Sven Neumann 1 participant 1 message Jul 7, 2011

lore
Share & tools
lore
#0 lore raw

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