<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - Can't compile clang 3.9 via MinGW GCC 6.2 (x86)"
href="https://llvm.org/bugs/show_bug.cgi?id=30263">30263</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Can't compile clang 3.9 via MinGW GCC 6.2 (x86)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>libclang
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>denisavvakumov@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>klimek@google.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I tried to build llvm+clang with GCC 6.2
Toolchanin url -->
(<a href="https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/6.2.0/threads-posix/dwarf/i686-6.2.0-release-posix-dwarf-rt_v5-rev0.7z/download">https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/6.2.0/threads-posix/dwarf/i686-6.2.0-release-posix-dwarf-rt_v5-rev0.7z/download</a>)
Got error messages:
[ 75%] Built target clangASTMatchers
[ 75%] Building CXX object
projects/cfe-3.9.0.src/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.obj
E:/FDISK/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.2.0/../../../../i686-w64-mingw32/bin/as.exe:
CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: too many sections
(32838)
C:\Users\denis\AppData\Local\Temp\ccMkeeMR.s: Assembler messages:
C:\Users\denis\AppData\Local\Temp\ccMkeeMR.s: Fatal error: can't write
CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: File too big
E:/FDISK/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.2.0/../../../../i686-w64-mingw32/bin/as.exe:
CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: too many sections
(32838)
C:\Users\denis\AppData\Local\Temp\ccMkeeMR.s: Fatal error: can't close
CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: File too big
projects\cfe-3.9.0.src\lib\ASTMatchers\Dynamic\CMakeFiles\clangDynamicASTMatchers.dir\build.make:137:
recipe for target
'projects/cfe-3.9.0.src/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.obj'
failed
mingw32-make.exe[2]: ***
[projects/cfe-3.9.0.src/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.obj]
Error 1
CMakeFiles\Makefile2:14315: recipe for target
'projects/cfe-3.9.0.src/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/all'
failed
mingw32-make.exe[1]: ***
[projects/cfe-3.9.0.src/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/all]
Error 2</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>