[Webkit-unassigned] [Bug 183072] Clang reports undefined reference errors while linking LLIntOffsetsExtractor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 22 22:32:14 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=183072

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I created a reduced LLIntOffsetsExtractor.cpp:
https://gist.github.com/fujii/9940945fc788aba2577e41eb06ec7271

This is caused by -gsplit-dwarf.

> fujii at ubuntu $ clang++-5.0 -std=c++14 -gsplit-dwarf  LLIntOffsetsExtractor.cpp
> /tmp/LLIntOffsetsExtractor-15eec5.o:(.debug_addr+0x0): undefined reference to `g_JITCodePoison'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> fujii at ubuntu $ clang++-5.0 -std=c++14  LLIntOffsetsExtractor.cpp
> fujii at ubuntu $

This is a document about .debug_addr.
https://gcc.gnu.org/wiki/DebugFission

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180223/6766cfd1/attachment.html>


More information about the webkit-unassigned mailing list