[llvm-bugs] [Bug 35504] New: r319264 causes '-Wl,' to be replaced with '-Wl; '
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 1 17:24:28 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35504
Bug ID: 35504
Summary: r319264 causes '-Wl,' to be replaced with '-Wl;'
Product: Build scripts
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: ahmed.bougacha at gmail.com
CC: llvm-bugs at lists.llvm.org
After r319264, thinlto bootstraps fail to build with:
FAILED: : &&
...
-Wl,-headerpad_max_install_names
-Wl;-cache_path_lto;THINLTO_CACHE
CMakeFiles/cmTC_dd6fc.dir/testCCompiler.c.o -o cmTC_dd6fc && :
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
/bin/sh: -cache_path_lto: command not found
/bin/sh: THINLTO_CACHE: is a directory
ninja: build stopped: subcommand failed.
because we now replace '-Wl,' in BOOTSTRAP_ variables with '-Wl;'.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171202/a6f4a1a5/attachment.html>
More information about the llvm-bugs
mailing list