[llvm-bugs] [Bug 42401] Corrupt debug info when using lld with gcc 9.1

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 28 04:14:45 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42401

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Fangrui Song <i at maskray.me> ---
clang -fuse-ld=lld foo-gcc.s foo-main.s -o main
gdb main

I reproduced the

  Reading symbols from a.arch...Dwarf Error: wrong version in compilation unit
header (is 1024, should be 2, 3, 4 or 5) [in module /tmp/rep/a.arch]

bug with Arch Linux extra/lld 8.0.0-1 and the prebuilt 8.0.0 Ubuntu 18.04
archive on http://releases.llvm.org/download.html#8.0.0

lld trunk is fine. I checked out the 8.x branch
https://github.com/llvm/llvm-project/tree/release/8.x, it is also fine.

So this is a bug (I cannot narrow down to the revision that fixed the issue) in
the 8.0.0 release that will not go into the 8.0.1 release.

Moritz, you may just wait for the 8.0.1 release :)

-- 
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/20190628/29c820cd/attachment.html>


More information about the llvm-bugs mailing list