<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 - 11.x regression: clang fails to build w/ FalsePositiveRefutationBRVisitorTest.cpp:19:10: fatal error: llvm/Config/config.h: No such file or directory"
href="https://bugs.llvm.org/show_bug.cgi?id=46887">46887</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>11.x regression: clang fails to build w/ FalsePositiveRefutationBRVisitorTest.cpp:19:10: fatal error: llvm/Config/config.h: No such file or directory
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>11.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>mgorny@gentoo.org
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr>
<tr>
<th>Blocks</th>
<td>46725
</td>
</tr></table>
<p>
<div>
<pre>clang standalone build is broken in 11.x due to relying on private LLVM
headers:
/usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++-9.3.0 -m32 -DGTEST_HAS_TR1_TUPLE=0
-DGTEST_LANG_CXX11=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Iunittests/StaticAnalyzer
-I/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/clang/unittests/StaticAnalyzer
-I/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/clang/include -Iinclude
-I/include -I/usr/lib/llvm/11/include
-I/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/llvm/utils/unittest/googletest/include
-I/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/llvm/utils/unittest/googlemock/include
-DNDEBUG -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64
-O2 -pipe -frecord-gcc-switches -fPIC -fvisibility-inlines-hidden
-Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough
-Wno-class-memaccess -Wno-redundant-move -Wno-noexcept-type
-Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections
-fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic
-Wno-long-long -std=c++14 -MD -MT
unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o
-MF
unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o.d
-o
unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o
-c
/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
/tmp/1/portage/sys-devel/clang-11.0.0_rc1/work/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp:19:10:
fatal error: llvm/Config/config.h: No such file or directory
19 | #include "llvm/Config/config.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [meta] 11.0.0 Release Blockers"
href="https://bugs.llvm.org/show_bug.cgi?id=46725">Bug 46725</a>] [meta] 11.0.0 Release Blockers
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>