bug-binutils
[Top][All Lists]
Advanced

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

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


From: raj.khem at gmail dot com
Subject: [Bug gold/27246] ld.gold does not support DWARF5
Date: Thu, 18 Mar 2021 23:07:13 +0000

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

--- Comment #10 from Khem Raj <raj.khem at gmail dot com> ---
further reduced test is

#define overalloc_at(f, l)                                              \
do {                                                                    \
        fatal_exit("ERROR: attempting to allocate too large block at %s:%d", f,
l);\
} while (0)

#define overalloc()     overalloc_at(__FILE__, __LINE__)

void foo()
{
  overalloc();
}

% gcc-11.0.1  /tmp/a.c -c -gdwarf-5
% /tmp/obj/gold/ld-new a.o
/tmp/obj/gold/ld-new: internal error in format_file_lineno, at
/home/kraj/work/binutils-gdb/gold/dwarf_reader.cc:2278

ICE not seen when -gdwarf-4 is used

-- 
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]