[Bug debug/87362] GCC produces with LTO debug info with which gdb is not happy about
romain.geissler at amadeus dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 14:52:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87362
Romain Geissler <romain.geissler at amadeus dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |romain.geissler at amadeus dot com
--- Comment #18 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,
Please note that I also hit the original issue in gdb when opening a binary
linked with LTO by gcc 8.2.1 20181003:
/workdir/src/gdb-8.2/gdb/dwarf2read.c:9715: internal-error: void
dw2_add_symbol_to_list(symbol*, pending**): Assertion `(*listhead) == NULL ||
(SYMBOL_LANGUAGE ((*listhead)->symbol[
0]) == SYMBOL_LANGUAGE (symbol))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
Do yon think this patched applied on trunk shall be backported to gcc 8 ?
Cheers,
Romain
More information about the Gcc-bugs
mailing list