Hi, Can I build llvm with gcc 3.4.2 !!!! I'm getting the following error when I trying to build llvm 2.5 and also 2.4 make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ lib/Transforms/IPO' make[3]: Entering directory `/remote/users/hsenussi/edifact/llvm-2.4/ lib/Transforms/Hello' llvm[3]: Linking Release Loadable Module LLVMHello.so /data/softs/gcc-3.4.2/lib/../lib/libstdc++.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [/remote/users/hsenussi/edifact/llvm-2.4/Release//lib/ LLVMHello.la] Error 1 make[3]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ lib/Transforms/Hello' make[2]: *** [Hello/.makeall] Error 2 make[2]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ lib/Transforms' make[1]: *** [Transforms/.makeall] Error 2 make[1]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/lib' make: *** [all] Error 1 And this how I configured make files ./configure --enable-pic I'm need to use llvm with llvmruby and it stated that it has to be built with --enable-pic Thanks
On Jul 29, 2009, at 2:02 PM, Husam Senussi wrote:> /data/softs/gcc-3.4.2/lib/../lib/libstdc++.so: could not read symbols: > Invalid operation > collect2: ld returned 1 exit statusThis looks like a problem with your gcc installation. -eric
GCC 3.4.2 is not recommended for use with LLVM: http://llvm.org/docs/GettingStarted.html#brokengcc 2009/7/29 Husam Senussi <husam at senussi.com>> Hi, > > Can I build llvm with gcc 3.4.2 !!!! > > I'm getting the following error when I trying to build llvm 2.5 and > also 2.4 > > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ > lib/Transforms/IPO' > make[3]: Entering directory `/remote/users/hsenussi/edifact/llvm-2.4/ > lib/Transforms/Hello' > llvm[3]: Linking Release Loadable Module LLVMHello.so > /data/softs/gcc-3.4.2/lib/../lib/libstdc++.so: could not read symbols: > Invalid operation > collect2: ld returned 1 exit status > make[3]: *** [/remote/users/hsenussi/edifact/llvm-2.4/Release//lib/ > LLVMHello.la] Error 1 > make[3]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ > lib/Transforms/Hello' > make[2]: *** [Hello/.makeall] Error 2 > make[2]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/ > lib/Transforms' > make[1]: *** [Transforms/.makeall] Error 2 > make[1]: Leaving directory `/remote/users/hsenussi/edifact/llvm-2.4/lib' > make: *** [all] Error 1 > > > And this how I configured make files > > > ./configure --enable-pic > > > I'm need to use llvm with llvmruby and it stated that it has to be > built with --enable-pic > > > Thanks > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090731/bfaed3b1/attachment.html>