[llvm-bugs] [Bug 38032] New: undefined reference in .debug_info with a template static constexpr array
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 3 05:13:59 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38032
Bug ID: 38032
Summary: undefined reference in .debug_info with a template
static constexpr array
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: blastrock at free.fr
CC: llvm-bugs at lists.llvm.org
Created attachment 20512
--> https://bugs.llvm.org/attachment.cgi?id=20512&action=edit
minimal example
In the attached example, linking fails with clang trunk with the -g switch:
/tmp/t-1d6fe7.o:(.debug_info+0x66): undefined reference to
`_u::_t<void>::_literal'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The symbol is actually defined on line 51.
--
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/0173a7ba/attachment-0001.html>
More information about the llvm-bugs
mailing list