This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static libc.a and weak __pthread_unwind symbol problem


On 08/29/11 15:52, Bryan Ischo wrote:

I did try hacking the gcc configuration to force -lpthread when libgcc_s.so was being linked, but that didn't help, I still got the relocation error. Of course, I did that before hiding the __pthread_unwind symbol. Are you saying that both hiding the symbol and forcing libgcc_s.so link to include -lpthread should work? I hope so - I'll try it now!

This approach does get past the __pthread_unwind problem but introduces another:


/home/bji/buildtools/output/install/stage2/x86_64-unknown-linux-gnu/usr/x86_64-unknown-linux-gnu/bin/ld: /home/bji/buildtools/output/install/stage1/x86_64-unknown-linux-gnu/usr/lib/libpthread.a(pthread_once.o): relocation R_X86_64_32 against `__gcc_personality_v0' can not be used when making a shared object; recompile with -fPIC

I'm not sure if I should give up or keep pressing forward. God knows I've pressed forward through dozens of problems already that I probably should have just given up on, would hate to be finally defeated by this one ...

Thanks,
Bryan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]