[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from John David Anglin --- Fixed. Problem was I didn't set dwarf_strict to 1 in change to limit dwarf version.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:aac3b6a7e3a7b810005343e62e6822338fcb85d4 commit r11-9052-gaac3b6a7e3a7b810005343e62e6822338fcb85d4 Author: John David Anglin Date: Fri Oct 1 17:35:45 2021 + Default to dwarf version 4 on hppa64-hpux 2021-10-01 John David Anglin gcc/ChangeLog: PR debug/102373 * config/pa/pa.c (pa_option_override): Default to dwarf version 4 on hppa64-hpux.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #6 from CVS Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:f1710910087fb1f4a7706e9ce838163ffcbc50b4 commit r12-4058-gf1710910087fb1f4a7706e9ce838163ffcbc50b4 Author: John David Anglin Date: Fri Oct 1 17:34:09 2021 + Default to dwarf version 4 on hppa64-hpux 2021-10-01 John David Anglin gcc/ChangeLog: PR debug/102373 * config/pa/pa.c (pa_option_override): Default to dwarf version 4 on hppa64-hpux.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #5 from dave.anglin at bell dot net --- On 2021-09-17 2:46 a.m., rguenth at gcc dot gnu.org wrote: > Btw, it works with a cross from x86_64 to hppa64-hp-hpux11, but maybe I'm > doing > it wrong? It's probably caused by a bug in the TImode support that I'm working on.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #4 from Richard Biener --- Btw, it works with a cross from x86_64 to hppa64-hp-hpux11, but maybe I'm doing it wrong?
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #3 from Richard Biener --- (In reply to dave.anglin from comment #2) > On 2021-09-16 1:38 p.m., jakub at gcc dot gnu.org wrote: > > This looks wrong, comp_unit_die () should have DW_AT_producer at this point. > > gen_compile_unit_die should have added it... > I did change dwarf_version to 4. That shouldn't change anything - look at comp_unit_die () and how it eventually calls gen_compile_unit_die which adds DW_AT_producer.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #2 from dave.anglin at bell dot net --- On 2021-09-16 1:38 p.m., jakub at gcc dot gnu.org wrote: > This looks wrong, comp_unit_die () should have DW_AT_producer at this point. > gen_compile_unit_die should have added it... I did change dwarf_version to 4.
[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Comment on attachment 51471 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51471 Fix NULL pointer dereference This looks wrong, comp_unit_die () should have DW_AT_producer at this point. gen_compile_unit_die should have added it...