<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 - Inaccurate system requirements"
href="https://bugs.llvm.org/show_bug.cgi?id=45973">45973</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Inaccurate system requirements
</td>
</tr>
<tr>
<th>Product</th>
<td>Documentation
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>General docs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>noan@email.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The following pages list the minimal requirements for building LLVM:
<a href="https://llvm.org/docs/GettingStarted.html#software">https://llvm.org/docs/GettingStarted.html#software</a>
According to the page, it should be possible to build LLVM with GCC 5.1.0 or
later.
I tried building LLVM on Linux with GCC 6.5.0 but it failed:
In file included from
/home/atanas/llvm-project-10.0.0/libcxx/src/variant.cpp:9:0:
/home/noan/llvm-project-10.0.0/libcxx/include/variant: At global scope:
/home/noan/llvm-project-10.0.0/libcxx/include/variant:1140:26: error: parameter
packs not expanded with ‘...’:
using _Bases::operator()...;
^
/home/noan/llvm-project-10.0.0/libcxx/include/variant:1140:26: note:
‘_Bases’
/home/noan/llvm-project-10.0.0/libcxx/include/variant:1140:27: error: expected
‘;’ before ‘...’ token
using _Bases::operator()...;
^~~
/home/noan/llvm-project-10.0.0/libcxx/include/variant:1140:27: error: expected
unqualified-id before ‘...’ token
This is how I configured the build:
cmake -G "Unix Makefiles"
-DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;libunwind;lld;llvm;mlir;openmp;parallel-libs;pstl'
-DCMAKE_INSTALL_PREFIX=/usr/local/llvm-10.0.0 -DCMAKE_BUILD_TYPE=Release
LLVM_TARGETS_TO_BUILD=X86 ../llvm
I don't have GCC 7 installed at the moment, however I have GCC 8.4.0 which
compiled LLVM problem-free.
I think that the minimum system requirement for GCC should be changed or the
above problem fixed.</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>