spurious crashes when compiling openjdk-21 in focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-9 (Ubuntu) |
New
|
Undecided
|
Unassigned |
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-
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
---
It has the following backtrace:
#0 0x0000000000a77d1a in linemap_
#1 0x0000000000a78370 in linemap_
Backtrace stopped: frame did not save the PC
Note: the build succeeds when build with -security pocket only
coredump from the failing build