I tried to compile LLVM+Clang on windows7 using MinGW32[1] and get a compile error since a few revisions.
Please see attached captured output.
I dont know i found a bug or i did something wrong. ( I compiled sucessfully 1..2 weeks ago.)
Any suggestions?
Ulrich Schmidt
[1]: MinGW - Minimalist GNU for Windows download | SourceForge.net
builderror.txt (1.71 KB)
Hi Ulrich,
If you don’t mind switching, try this mingw distribution
http://sourceforge.net/projects/mingw-w64/?source=directory
which is more up-to-date than the original mingw.
Yaron
Hi Yaron.
I did so in the last week. I tested:
- i686-4.8.1-win32-sjlj-rt_v3-rev2
- i686-4.8.3-win32-sjlj-rt_v3-rev0
- i686-4.9.1-win32-sjlj-rt_v3-rev1
I have read the clang user manual [1] mentioning older versions of gcc no longer available at mingw-64.
Can you point me to a working mingw64 version i sould use please?
I want to build win32 programs using windows treading.
thanks in advance.
Ulrich
[1]: http://clang.llvm.org/docs/UsersManual.html#mingw-w64
Versions 4.8.1, 4.8.2, 4.8.3, 4.9.0, 4.9.1 of mingw-builds are here
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/
I don’t think you did anything,the error is C++ error, probably result of some revision.
Are you using the trunk code of llvm & clang?
Which gcc version produced the error?
Yaron
Hi Yaron.
Thanks for your help. I successfully built llvm+clang.
I forgot to svn-update the clang subfolder in addition to llvm folder.
The make process errors out sometimes and can easily restarted. I attach my notes. May be its of some interest for you.
Thanks again.
Ulrich
builderror.txt (4.11 KB)
I use a short script to update svn & build.
The errors are all related to def files creation. It’s worth debugging what the problem is, if you have the time.
Yaron
Shure i want to help. Send me a PM and we can talk about.
Ulrich.
It seems there is a typo in some cmake generatet batch file. (seee attached debug log fragment)
There need some slashes become replaced by backslashes. Otherwise the TYPE command fails out.
I am not famillar with cmake, so please someone other than me can do the bug fix please?.
Thanks.
Ulrich
makelog.txt (485 Bytes)
Could you file a bug with http://llvm.org/bugs/ ?
Hi Ulrich,
I just had time to look into the LTO def. issue.
It may result from running make under the MSYS sh.exe and be resolved when running under cmd.exe.
Yaron