bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/27246] New: ld.gold does not support DWARF5


From: mliska at suse dot cz
Subject: [Bug gold/27246] New: ld.gold does not support DWARF5
Date: Tue, 26 Jan 2021 09:42:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27246

            Bug ID: 27246
           Summary: ld.gold does not support DWARF5
           Product: binutils
           Version: 2.35.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: mliska at suse dot cz
                CC: ian at airs dot com
  Target Milestone: ---

Using GCC tip and binutils 2.36 I see the following issue:

$ cat gets-chk.i
void gets();
int __gets_chk() { gets(); }

$ gcc gets-chk.i  -fPIC -g
../sysdeps/x86_64/start.S:104: error: undefined reference to 'main'
/usr/bin/ld.gold: internal error in read_header_prolog, at
../../gold/dwarf_reader.cc:1678
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]