https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121400
Bug ID: 121400
Summary: Gcc fails to bootstrap on OpenBSD/aarch64 due to
missed #ifdef MD_ARCH_FRAME_STATE_T
Product: gcc
Version: 15.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: kirill at korins dot ky
Target Milestone: ---
In file included from
/build/pobj/gcc-15.1.0/gcc-15.1.0/libgcc/unwind-dw2.c:437:
./md-unwind-support.h: In function 'aarch64_cie_aug_handler':
./md-unwind-support.h:99:15: error: 'struct frame_state_reg_info' has no member
named 'arch_fs'
99 | fs->regs.arch_fs.signing_key = AARCH64_PAUTH_KEY_B;
| ^
./md-unwind-support.h: In function 'aarch64_arch_extension_frame_init':
./md-unwind-support.h:118:11: error: 'struct frame_state_reg_info' has no
member named 'arch_fs'
118 | fs->regs.arch_fs.signing_key = AARCH64_PAUTH_KEY_A;
| ^
./md-unwind-support.h: In function 'aarch64_demangle_return_addr':
./md-unwind-support.h:173:19: error: 'struct frame_state_reg_info' has no
member named 'arch_fs'
173 | if (fs->regs.arch_fs.signing_key == AARCH64_PAUTH_KEY_B)
| ^