[Bug 2044899] [NEW] spurious crashes when compiling openjdk-21 in focal
Vladimir Petko
2044899 at bugs.launchpad.net
Tue Nov 28 02:00:35 UTC 2023
Public bug reported:
When compiling openjdk-21 in focal on risc-V, the gcc compiler spuriously crashes with SIGSEGV.
The crash happens with different files, and running the failing command in isolation succeeds.
The failing build logs[1].
The crash can be reproduced locally in RISC-V vm:
---
riscv64-linux-gnu-g++-9: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
---
It has the following backtrace:
#0 0x0000000000a77d1a in linemap_lookup(line_maps*, unsigned int) ()
#1 0x0000000000a78370 in linemap_resolve_location(line_maps, unsigned int, location_resolution_kind, line_map_ordinary const*) ()
Backtrace stopped: frame did not save the PC
[1]https://launchpadlibrarian.net/699320896/buildlog_ubuntu-focal-
riscv64.openjdk-21_21.0.1+12-2~20.04_BUILDING.txt.gz
Note: the build succeeds when build with -security pocket only
** Affects: gcc-9 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/2044899
Title:
spurious crashes when compiling openjdk-21 in focal
Status in gcc-9 package in Ubuntu:
New
Bug description:
When compiling openjdk-21 in focal on risc-V, the gcc compiler spuriously crashes with SIGSEGV.
The crash happens with different files, and running the failing command in isolation succeeds.
The failing build logs[1].
The crash can be reproduced locally in RISC-V vm:
---
riscv64-linux-gnu-g++-9: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
---
It has the following backtrace:
#0 0x0000000000a77d1a in linemap_lookup(line_maps*, unsigned int) ()
#1 0x0000000000a78370 in linemap_resolve_location(line_maps, unsigned int, location_resolution_kind, line_map_ordinary const*) ()
Backtrace stopped: frame did not save the PC
[1]https://launchpadlibrarian.net/699320896/buildlog_ubuntu-focal-
riscv64.openjdk-21_21.0.1+12-2~20.04_BUILDING.txt.gz
Note: the build succeeds when build with -security pocket only
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/2044899/+subscriptions
More information about the foundations-bugs
mailing list