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