zosrothko
2014-Mar-11 17:17 UTC
[LLVMdev] Linking Release+Asserts Shared Library cygLLVM-3.5.0svn.dll fails
Hi On a cygwin/win7/x86_64 platform, building LLVM 3.4 fails as llvm[1]: Linking Release+Asserts Shared Library cygLLVM-3.5.0svn.dll Cannot export ZGVZN4llvm7hashing6detail18get_execution_seedEvE4seed: symbol not defined Cannot export ZN15BaseIndexOffset5matchEN4llvm7SDValueE: symbol not defined Cannot export ZN16LTOCodeGenerator12setDebugInfoE15lto_debug_model: symbol not defined Cannot export ZN16LTOCodeGenerator15compile_to_fileEPPKcbbbRSs: symbol not defined Cannot export ZN16LTOCodeGenerator15determineTargetERSs: symbol not defined Cannot export ZN16LTOCodeGenerator15setCodePICModelE17lto_codegen_model: symbol not defined Cannot export ZN16LTOCodeGenerator16applyRestrictionERN4llvm11GlobalValueERKNS0_8ArrayRefINS0_9StringRefEEERSt6vect ... configure.log is This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by LLVM configure 3.5.0svn, which was generated by GNU Autoconf 2.60. Invocation command line was $ ../llvm/configure --enable-targets=x86_64 --enable-optimized --enable-shared=yes --disable-embed-stdcxx Any idea what could be wrong in building LLVM? TIA zos context $ uname -a CYGWIN_NT-6.1 idefix 1.7.28(0.271/5/3) 2014-02-09 21:06 x86_64 Cygwin $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/lto-wrapper.exe Target: x86_64-pc-cygwin Configured with: /cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.2-3/src/gcc-4.8.2/configure --srcdir=/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.2-3/src/gcc-4.8.2 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib Thread model: posix gcc version 4.8.2 (GCC) -- View this message in context: llvm.1065342.n5.nabble.com/Linking-Release-Asserts-Shared-Library-cygLLVM-3-5-0svn-dll-fails-tp66721.html Sent from the LLVM - Dev mailing list archive at Nabble.com.