Re: New BLCR snapshot posted (for 2.6.14 through 2.6.17)

wchao_at_ncsu_dot_edu
Date: Fri Sep 08 2006 - 14:36:04 PDT

  • Next message: Paul H. Hargrove: "Re: New BLCR snapshot posted (for 2.6.14 through 2.6.17)"
    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
    >
    

  • Next message: Paul H. Hargrove: "Re: New BLCR snapshot posted (for 2.6.14 through 2.6.17)"