<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 - Cannot bootstrap clang/llvm in Chrome OS"
href="https://bugs.llvm.org/show_bug.cgi?id=40122">40122</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot bootstrap clang/llvm in Chrome OS
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</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>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>chris.bieneman@gmail.com, chris.bieneman@me.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Building Clang/LLVM is failing in Chrome OS with these errors:
llvm-8.0_pre339409_p20180926-r8: Build type RelWithDebInfo
llvm-8.0_pre339409_p20180926-r8: Install path /usr
llvm-8.0_pre339409_p20180926-r8: Compiler flags:
llvm-8.0_pre339409_p20180926-r8: C -O2 -pipe -fPIC
-Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
-Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment
-fdiagnostics-color -ffunction-sections -fdata-sections
llvm-8.0_pre339409_p20180926-r8: C++ -O2 -pipe -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-fdiagnostics-color -ffunction-sections -fdata-sections
llvm-8.0_pre339409_p20180926-r8: Linker flags:
llvm-8.0_pre339409_p20180926-r8: Executable -Wl,-O2 -Wl,--as-needed
-Wl,-O2 -Wl,--as-needed -Wl,-allow-shlib-undefined
llvm-8.0_pre339409_p20180926-r8: Module -Wl,-O2 -Wl,--as-needed
-Wl,-O2 -Wl,--as-needed -Wl,-z,nodelete
llvm-8.0_pre339409_p20180926-r8: Shared -Wl,-O2 -Wl,--as-needed
-Wl,-O2 -Wl,--as-needed -Wl,-z,defs -Wl,-z,nodelete
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: -- Configuring done
llvm-8.0_pre339409_p20180926-r8: CMake Error at cmake/modules/AddLLVM.cmake:459
(add_library):
llvm-8.0_pre339409_p20180926-r8: Cannot find source file:
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: /usr/include/demangle.h
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: Tried extensions .c .C .c++ .cc .cpp .cxx .m
.M .mm .h .hh .h++ .hm .hpp
llvm-8.0_pre339409_p20180926-r8: .hxx .in .txx
llvm-8.0_pre339409_p20180926-r8: Call Stack (most recent call first):
llvm-8.0_pre339409_p20180926-r8: cmake/modules/AddLLVM.cmake:622
(llvm_add_library)
llvm-8.0_pre339409_p20180926-r8: lib/Support/CMakeLists.txt:47
(add_llvm_library)
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: CMake Error at cmake/modules/AddLLVM.cmake:459
(add_library):
llvm-8.0_pre339409_p20180926-r8: Cannot find source file:
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: /usr/include/demangle.h
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: Tried extensions .c .C .c++ .cc .cpp .cxx .m
.M .mm .h .hh .h++ .hm .hpp
llvm-8.0_pre339409_p20180926-r8: .hxx .in .txx
llvm-8.0_pre339409_p20180926-r8: Call Stack (most recent call first):
llvm-8.0_pre339409_p20180926-r8: cmake/modules/AddLLVM.cmake:622
(llvm_add_library)
llvm-8.0_pre339409_p20180926-r8: lib/WindowsManifest/CMakeLists.txt:8
(add_llvm_library)
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: CMake Error: CMake can not determine linker
language for target: LLVMSupport
llvm-8.0_pre339409_p20180926-r8: CMake Error: CMake can not determine linker
language for target: LLVMWindowsManifest
llvm-8.0_pre339409_p20180926-r8: CMake Error: CMake can not determine linker
language for target: LLVMSupport
llvm-8.0_pre339409_p20180926-r8: CMake Error in lib/Support/CMakeLists.txt:
llvm-8.0_pre339409_p20180926-r8: Exporting the target "LLVMSupport" is not
allowed since its linker language
llvm-8.0_pre339409_p20180926-r8: cannot be determined
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8:
llvm-8.0_pre339409_p20180926-r8: CMake Error: CMake can not determine linker
language for target: LLVMSupport
llvm-8.0_pre339409_p20180926-r8: CMake Error in lib/Support/CMakeLists.txt:
llvm-8.0_pre339409_p20180926-r8: Exporting the target "LLVMSupport" is not
allowed since its linker language
llvm-8.0_pre339409_p20180926-r8: cannot be determined
llvm-8.0_pre339409_p20180926-r8:</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>