<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
<div id="smartTemplate4-template">
<p>Hello, <br>
</p>
<p>Cannot reproduce crash with 32 bit or 64 bit llvm-tblgen used
with `llvm-4.0.0.src/lib/Target/X86/X86.td` and build from MSYS2
(GCC 6.3.0, binutils 2.28, mingw-w64 from git).<br>
</p>
</div>
Regards,<br>
<p>Mateusz</p>
<p><br>
</p>
<br>
<div id="smartTemplate4-quoteHeader">------ Original Message ------<br>
Subject: [cfe-dev] MinGW 32-Bit Support?<br>
Date: Fri, 24 Mar 2017 15:45:37 +0100<br>
To: Cfe-dev<br>
From: Nikolai Kosjar Via Cfe-dev</div>
<blockquote cite="mid:1b5fbeff-5f7c-e56e-cf91-956735305c9a@qt.io"
type="cite">Hi!
<br>
<br>
I've trouble building/running llvm+clang 4.0 with/from mingw 32
bit for different mingw versions (4.9.y/5.x.y) [1]. When building
in release mode, llvm-tblgen.exe crashes. I can overcome this by
explicitly building llvm-tblgen.exe (and only that one) in debug
mode, but then I get funny crashes with libclang during parse
operations.
<br>
<br>
I get no crashes for libclang parse operations from binaries
produced by MSVC2015 (for both, 32 and 64 bit) and mingw 64 bit.
<br>
<br>
According to clang's default target, it seems that llvm/clang is
build with MSVC nowadays, starting with version 3.8.x:
<br>
<br>
D:\>D:\usr\llvm-3.7.1-win32\bin\clang --version
<br>
clang version 3.7.1 (tags/RELEASE_371/final)
<br>
Target: i686-pc-windows-gnu
<br>
Thread model: posix
<br>
<br>
D:\>D:\usr\llvm-3.8.1-win32\bin\clang --version
<br>
clang version 3.8.1 (branches/release_38)
<br>
Target: i686-pc-windows-msvc
<br>
Thread model: posix
<br>
InstalledDir: D:\usr\llvm-3.8.1-win32\bin
<br>
<br>
<br>
Does anybody know why this has changed? I'm asking because last
time I compared, libclang binaries build with mingw were
significantly faster than the ones from MSVC. In addition to this,
the profile guided optimization support of mingw produced faster
binaries than the one optimized with MSVC.
<br>
<br>
Can somebody reproduce [1] with mingw 32 bit?
<br>
Any plans to make a build bot/job for mingw 32 bit available
(again?) so that such errors will be caught earlier?
<br>
<br>
Nikolai
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://bugs.llvm.org/show_bug.cgi?id=32018">https://bugs.llvm.org/show_bug.cgi?id=32018</a>
<br>
_______________________________________________
<br>
cfe-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
<br>
</blockquote>
<br>
</body>
</html>