wchao_at_ncsu_dot_edu
Date: Mon Feb 12 2007 - 17:36:23 PST
Paul, Thank you very much for your patch. I will try it and let you know the result when I get a chance to use our X86_64 test nodes. For the issue I mentioned in the last email, I just replaced /usr/lib64/libpthread_nonshared.a with the one from glibc-2.4, then blcr-0.4.pre3_snapshot_2006_09_06 works. Thanks! Chao > Chao, > > I am sorry it has taken so long for me to be able to do anything with > your BLCR link problem. I now have a better understating for where the > problem is coming from and why my glibc doesn't have the same problem. > While I cannot reproduce your problem myself, I think I understand > enough to try to fix it. Could you please download the BLCR 0.5.0_b1 > (or b2 if it is out by the time you see this) and apply the attached > path. I suspect that it will fix your problem - please let me know of > your success or failure. > > -Paul > > wchao_at_ncsu_dot_edu wrote: >> Hi Paul, >> >> We still failed with the new snapshot on x86_64 fc5/2.6.16: >> >> gcc -shared .libs/libcr_la-cr_async.o .libs/libcr_la-cr_core.o >> .libs/libcr_la-cr_cs.o .libs/libcr_la-cr_pthread.o >> .libs/libcr_la-cr_sig_sync.o .libs/libcr_la-cr_syscall.o >> .libs/libcr_la-cr_trace.o .libs/libcr_la-cr_strerror.o -ldl -lpthread >> -nostdlib -Wl,-soname -Wl,libcr.so.0 -o .libs/libcr.so.0.1.3 >> /usr/bin/ld: /usr/lib64/libpthread_nonshared.a(pthread_atfork.oS): >> relocation R_X86_64_PC32 against `__dso_handle' can not be used when >> making a shared object; recompile with -fPIC >> /usr/bin/ld: final link failed: Bad value >> >> and -fPIC doesn't fix the error: >> >> gcc -fPIC -shared .libs/libcr_la-cr_async.o .libs/libcr_la-cr_core.o >> .libs/libcr_la-cr_cs.o .libs/libcr_la-cr_pthread.o >> .libs/libcr_la-cr_sig_sync.o .libs/libcr_la-cr_syscall.o >> .libs/libcr_la-cr_trace.o .libs/libcr_la-cr_strerror.o -ldl -lpthread >> -nostdlib -Wl,-soname -Wl,libcr.so.0 -o .libs/libcr.so.0.1.3 >> /usr/bin/ld: /usr/lib64/libpthread_nonshared.a(pthread_atfork.oS): >> relocation R_X86_64_PC32 against `__dso_handle' can not be used when >> making a shared object; recompile with -fPIC >> /usr/bin/ld: final link failed: Bad value >> >> Our gcc and binutils are: >> gcc-4.1.0-3 >> binutils-2.16.91.0.6-5 >> >> Which gcc do you use for your compilation on x86-64? >> >> Any suggestions are welcome! >> Thanks! >> Chao >> >> >>> I've posted BLCR_0_4_pre3_snapshot_2006_09_06 to >>> http://mantis.lbl.gov/blcr-dist >>> If anybody still sees compilation or runtime failures on kernels >>> 2.6.14-2.6.17, please let me know. >>> >>> -Paul >>> >>> > > > -- > Paul H. Hargrove PHHargrove_at_lbl_dot_gov > Future Technologies Group > HPC Research Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > >