https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87362
Bug ID: 87362
Summary: GCC produces with LTO debug info with which gdb is not
happy about
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Building Firefox:
https://github.com/marxin/gecko-dev/tree/lto-stable
with:
$ OPT="-O2" MYFLAGS="-march=native -flifetime-dse=1 -g -flto=8" nice ./mach
build -v
one can see:
../../gdb/dwarf2read.c:9730: internal-error: void
dw2_add_symbol_to_list(symbol*, pending**): Assertion `(*listhead) == NULL ||
(SYMBOL_LANGUAGE ((*listhead)->symbol[0]) == SYMBOL_LANGUAGE (symbol))' failed.
Hard to say whether it's caused by GCC or GDB.