<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvm-tblgen.exe crashes while compiling LLVM/Clang current release_40 with MinGW 4.9.2"
href="https://bugs.llvm.org/show_bug.cgi?id=32018">32018</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-tblgen.exe crashes while compiling LLVM/Clang current release_40 with MinGW 4.9.2
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>4.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nikolai.kosjar@qt.io
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>NOTE: The product for this report is most probably wrong, please correct.
MinGW 4.9.2
Current release_40 branch, top commit is:
commit 86fb9eec6cc7843df17ad8fc3feb75f09c067459
Author: Hans Wennborg <<a href="mailto:hans@hanshq.net">hans@hanshq.net</a>>
Date: Thu Feb 16 21:13:06 2017 +0000
Merging r295224:
------------------------------------------------------------------------
r295224 | rsmith | 2017-02-15 11:57:10 -0800 (Wed, 15 Feb 2017) | 2 lines
PR24440: Do not silently discard a fold-expression appearing as the operand
of a cast-expression.
------------------------------------------------------------------------
git-svn-id:
<a href="https://llvm.org/svn/llvm-project/cfe/branches/release_40@295375">https://llvm.org/svn/llvm-project/cfe/branches/release_40@295375</a>
91177308-0d34-0410-b5e6-96231b3b80
Commands used:
$ cmake -G "MinGW Makefiles" -DLLVM_TARGETS_TO_BUILD=X86
-DCMAKE_BUILD_TYPE=Release
$ mingw32-make.exe -j4 install-libclang install-libclang-headers
install-clang-headers install-llvm-config
Output:
mingw32-make.exe[3]: Entering directory 'D:/dev/llvm/4.0/builds/mingw492'
[ 26%] Building X86GenSubtargetInfo.inc...
cd /d D:\dev\llvm\4.0\builds\mingw492\lib\Target\X86 &&
..\..\..\bin\llvm-tblgen.exe -gen-subtarget -I D:/dev/llvm/
4.0/source/lib/Target/X86 -I D:/dev/llvm/4.0/source/include -I
D:/dev/llvm/4.0/source/lib/Target D:/dev/llvm/4.0/so
urce/lib/Target/X86/X86.td -o
D:/dev/llvm/4.0/builds/mingw492/lib/Target/X86/X86GenSubtargetInfo.inc.tmp
Wrote crash dump file
"C:\Users\nik\AppData\Local\Temp\llvm-tblgen.exe-447764.dmp"
0x005382D2 (0x0840D550 0x086F8D10 0x086FB358 0x086FCA50)
0x0840D4FC (0x0162FD60 0x034B263C 0x0000000D 0x00000000) <unknown module>
0x004CF3D5 (0x017B8F30 0x0000000B 0x00152AD0 0x00000000)
0x77666D3C (0x00000001 0x00000000 0x00000001 0x0162FE14), LdrLoadDll() + 0x91
bytes(s)
0x7634D076 (0x00152AD0 0x004D2620 0x005B8E9A 0x00000000),
GetProcAddressForCaller() + 0x47 bytes(s)
0x0059D6C1 (0x0000000B 0x00152A98 0x00151730 0x00000000)
0x004013DE (0x7FFDE000 0x0162FFD4 0x7766BD99 0x7FFDE000)
0x767F86E3 (0x7FFDE000 0xC3825040 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0xE bytes(s)
0x7766BD99 (0x004014E0 0x7FFDE000 0xFFFFFFFF 0x776E220F),
RtlInitializeExceptionChain() + 0x85 bytes(s)
0x7766BD6C (0x004014E0 0x7FFDE000 0x00000000 0x3D3D2F2F),
RtlInitializeExceptionChain() + 0x58 bytes(s)
lib\Target\X86\CMakeFiles\X86CommonTableGen.dir\build.make:704: recipe for
target 'lib/Target/X86/X86GenSubtargetIn
fo.inc.tmp' failed
mingw32-make.exe[3]: *** [lib/Target/X86/X86GenSubtargetInfo.inc.tmp] Error
-1073741819
mingw32-make.exe[3]: *** Deleting file
'lib/Target/X86/X86GenSubtargetInfo.inc.tmp'
mingw32-make.exe[3]: Leaving directory 'D:/dev/llvm/4.0/builds/mingw492'
CMakeFiles\Makefile2:4430: recipe for target
'lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/all' failed
mingw32-make.exe[2]: *** [lib/Target/X86/CMakeFiles/X86CommonTableGen.dir/all]
Error 2
mingw32-make.exe[2]: Leaving directory 'D:/dev/llvm/4.0/builds/mingw492'
CMakeFiles\Makefile2:12530: recipe for target
'tools/clang/tools/libclang/CMakeFiles/install-libclang.dir/rule' fai
led
mingw32-make.exe[1]: ***
[tools/clang/tools/libclang/CMakeFiles/install-libclang.dir/rule] Error 2
mingw32-make.exe[1]: Leaving directory 'D:/dev/llvm/4.0/builds/mingw492'
makefile:3121: recipe for target 'install-libclang' failed
mingw32-make.exe: *** [install-libclang] Error 2
D:\dev\llvm\4.0\builds\mingw492></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>