[llvm-bugs] [Bug 38046] New: Global is external, but doesn't have external or weak linkage when linking with ThinLTO
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 3 16:23:22 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38046
Bug ID: 38046
Summary: Global is external, but doesn't have external or weak
linkage when linking with ThinLTO
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedbugs at nondot.org
Reporter: llvm at inglorion.net
CC: llvm-bugs at lists.llvm.org
Error message:
Global is external, but doesn't have external or weak linkage!
[23 x i8]* @"??_C at _0BH@KGIBAJIK at Off?9heap?5backing?5store?$AA@"
LLVM ERROR: Broken module found, compilation aborted!
How to Reproduce:
Configure Chromium with args.gn:
clang_use_chrome_plugins = false
is_clang = true
is_component_build = false
is_debug = false
is_official_build = true
use_lld = true
use_thin_lto = true
symbol_level = 2
Then try to build d8:
ninja -C out/thinlto d8
This will result in the error message shown earlier.
With symbol_level = 0, the error does not occur.
--
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/20180703/dc029af3/attachment-0001.html>
More information about the llvm-bugs
mailing list