Does anyone understand why we get the following when configure is run in the libgomp directory on darwin?
configure:17711: checking for shared libgcc configure:17731: /sw/src/fink.build/gcc43-4.2.999-20071214/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc43-4.2.999-20071214/darwin_objdir/./gcc/ - B/sw/lib/gcc4.3/i686-apple-darwin9/bin/ -B/sw/lib/gcc4.3/i686-apple-darwin9/lib/ -isystem /sw/lib/gcc4.3/i686-apple-darwin9/include -isystem /sw/lib/g cc4.3/i686-apple-darwin9/sys-include -o conftest -lgcc_s conftest.c >&5 ld: library not found for -lgcc_s collect2: ld returned 1 exit status configure:17737: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU OpenMP Runtime Library" | #define PACKAGE_TARNAME "libgomp" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libgomp" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_GETLOADAVG 1 | #define HAVE_BROKEN_POSIX_SEMAPHORES 1 | #define HAVE_ATTRIBUTE_VISIBILITY 1 | /* end confdefs.h. */ | | int | main () | { | return 0; | ; | return 0; | } configure:17789: /sw/src/fink.build/gcc43-4.2.999-20071214/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc43-4.2.999-20071214/darwin_objdir/./gcc/ - B/sw/lib/gcc4.3/i686-apple-darwin9/bin/ -B/sw/lib/gcc4.3/i686-apple-darwin9/lib/ -isystem /sw/lib/gcc4.3/i686-apple-darwin9/include -isystem /sw/lib/g cc4.3/i686-apple-darwin9/sys-include -o conftest -lgcc_s.10.5 conftest.c >&5 configure:17795: $? = 0 configure:17799: test -z || test ! -s conftest.err configure:17802: $? = 0 configure:17805: test -s conftest configure:17808: $? = 0 configure:17821: result: yes configure:17862: WARNING: === You have requested some kind of symbol versioning, but configure:17864: WARNING: === either you are not using a supported linker, or you are configure:17866: WARNING: === not building a shared libgcc_s (which is required). configure:17868: WARNING: === Symbol versioning will be disabled. configure:17884: versioning on shared library symbols is no I don't seem to see this warning about symbol versioning in config.log for any of the other shared libraries built for gcc trunk on darwin. Jack