From gc's x86_64 build.log: No shared -lpthread or -ldl on x86_64? ------------------------ /bin/sh ./libtool --mode=link gcc -fexceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffe r-size=4 -m64 -mtune=nocona -o libgc.la -rpath /usr/lib64 -version-info 1:2:0 allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dy n_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgra ph.lo win32_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo mach_dep.lo -lpthread -ldl mkdir .libs rm -fr .libs/libgc.la .libs/libgc.* .libs/libgc.* *** Warning: This library needs some functionality provided by -lpthread. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -ldl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it.
fixed (I think) in gc-6.6.
Nope, spoke too soon, per http://buildsys.fedoraproject.org/logs//development/1064-Macaulay2-0.9.2-18.fc5/x86_64/build.log gcc scc1.o readfile.o error.o dictionary.o list.o cprint.o type.o chk.o compat.o grammar.o -lm -lgc -o scc1 /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_create' ... /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `dlopen' Strongly suggests the problem still exists.
Yep, from: http://buildsys.fedoraproject.org/logs//development/1016-gc-6.6-2.fc5/x86_64/build.log /bin/sh ./libtool --mode=link g++ -fexceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=nocona -o libgccpp.la -rpath /usr/lib64 -version-info 1:2:0 gc_cpp.lo -lpthread -ldl rm -fr .libs/libgc.la .libs/libgc.* .libs/libgc.* *** Warning: This library needs some functionality provided by -lpthread. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -ldl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it.
Tis a problem with the fc4 build as well.
It appears to have been mostly libtool badness. Updating libtool (libtoolize, etc...) seems to have done the trick. Fixed in gc-6.6-3
It's now November, and gc-6.6-3 is still not available. Please could someone request a rebuild?
Ack, I think the rebuilds got lost in the buildsystem madness going on recently. Builds queue'd, hopefully, to appear shortly.