Andrew Pennebaker
2011-Mar-05 00:33 UTC
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
When I try to compile LLVM, a dialog pops up halfway through the process: "tblgen.exe has stopped working" and the build quits. I would really appreciate a binary pack for llvm-as, llc, etc. Specs: GCC 4.5.2 MinGW-Get 0.1-alpha-5.1 Windows 7 Professional x64 Steps: Install MinGW ( http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110211/ ). Open Start -> Programs -> MinGW -> MinGW Shell. Run mingw-get install binutils. Run mingw-get install gcc. Download LLVM-GCC Front End Binaries for Mingw32/x86 ( http://llvm.org/releases/download.html#2.8). Move llvm-gcc*.tar.bz2 to C:\MinGW. Run bunzip2 llvm-*.bz2 Run tar xvf llvm-*.tar Install msysGit (http://code.google.com/p/msysgit/). Command Prompt: cd C:\Users\andrew\Desktop git clone http://llvm.org/git/llvm.git MinGW Shell: cd c:/users/andrew/desktop ./configure make ... A dialog pops up: "tblgen.exe has stopped working" make[1]: Building Intrinsics.gen.tmp from Intrinsics.td make[1]: *** [/c/users/andrew/desktop/src/llvm/lib/VMCore/Debug+Asserts/Intrinics.gen.tmp] Error 255 make[1]: Leaving directory '/c/users/andrew/desktop/src/llvm/lib/VMCore' make: *** [all] Error 1 Close program Cheers, Andrew Pennebaker www.yellosoft.us -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110304/0c397d78/attachment.html>
Duncan Sands
2011-Mar-05 10:48 UTC
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
Hi Andrew,> When I try to compile LLVM, a dialog pops up halfway through the process: > "tblgen.exe has stopped working" and the build quits. > > I would really appreciate a binary pack for llvm-as, llc, etc.indeed windows is the only platform for which the LLVM core tools like llvm-as, llc etc are not provided in the binary distribution. I think it would be better if they were included. Ciao, Duncan.> > Specs: > > GCC 4.5.2 > MinGW-Get 0.1-alpha-5.1 > Windows 7 Professional x64 > > Steps: > > Install MinGW > (http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110211/). > > Open Start -> Programs -> MinGW -> MinGW Shell. > > Run mingw-get install binutils. > > Run mingw-get install gcc. > > Download LLVM-GCC Front End Binaries for Mingw32/x86 > (http://llvm.org/releases/download.html#2.8). > > Move llvm-gcc*.tar.bz2 to C:\MinGW. > > Run bunzip2 llvm-*.bz2 > > Run tar xvf llvm-*.tar > > Install msysGit (http://code.google.com/p/msysgit/). > > Command Prompt: > > cd C:\Users\andrew\Desktop > > git clone http://llvm.org/git/llvm.git > > MinGW Shell: > > cd c:/users/andrew/desktop > > ./configure > > make > > ... > > A dialog pops up: "tblgen.exe has stopped working" > > make[1]: Building Intrinsics.gen.tmp from Intrinsics.td > make[1]: *** > [/c/users/andrew/desktop/src/llvm/lib/VMCore/Debug+Asserts/Intrinics.gen.tmp] > Error 255 > make[1]: Leaving directory '/c/users/andrew/desktop/src/llvm/lib/VMCore' > make: *** [all] Error 1 > > Close program > > Cheers, > > Andrew Pennebaker > www.yellosoft.us <http://www.yellosoft.us> > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Óscar Fuentes
2011-Mar-05 14:01 UTC
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
Duncan Sands <baldrick at free.fr> writes:>> I would really appreciate a binary pack for llvm-as, llc, etc. > > indeed windows is the only platform for which the LLVM core tools like > llvm-as, llc etc are not provided in the binary distribution. I think > it would be better if they were included.The only binary distribution related to LLVM 2.8 and Windows on the Download page is "LLVM-GCC 4.2 Front End Binaries for Mingw32/x86". It doesn't include llvm-as & co. but the other LLVM-GCC binary distributions doesn't either (I checked LLVM-GCC 4.2 Front End Binaries for Linux/x86_64).
Anton Korobeynikov
2011-Mar-05 14:21 UTC
[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
> A dialog pops up: "tblgen.exe has stopped working" > make[1]: Building Intrinsics.gen.tmp from Intrinsics.td > make[1]: ***Looks like tablegen was miscompiled by your system gcc. Try other version. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Seemingly Similar Threads
- [LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
- [LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
- [LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
- [LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64
- [LLVMdev] Fwd: undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb