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

            Bug ID: 27971
           Summary: gold: internal error in format_file_lineno, at
                    dwarf_reader.cc:2278
           Product: binutils
           Version: 2.36.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dmantipov at yandex dot ru
                CC: ian at airs dot com
  Target Milestone: ---

Created attachment 13488
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13488&action=edit
Toy 'project' (with Makefile, just 'make' to reproduce)

Just 'make' to reproduce, '-gdwarf-5' only (no internal error if '-gdwarf-4'):

$ make
gcc -O0 -g3 -gdwarf-5   -c -o test.o test.c
gcc -O0 -g3 -gdwarf-5   -c -o foobarbaz.o foobarbaz.c
gcc -O0 -g3 -gdwarf-5 -shared -o libfoobarbaz.so foobarbaz.o
-Wl,-version-script -Wl,foobarbaz.ver
gcc -O0 -g3 -gdwarf-5 -o test test.o -L. -lfoobarbaz
/usr/bin/ld: internal error in format_file_lineno, at dwarf_reader.cc:2278
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