This IS A REGRESSION. Versions below this including 3.13.0_beta2_p9 are fine. riscv64-unknown-linux-gnu-gcc -c -fno-strict-overflow -Wsign-compare -O2 -pipe -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -I/usr/include/ncursesw -fPIC -DPy_BUILD_CORE -o Python/perf_jit_trampoline.o Python/perf_jit_trampoline.c Python/perf_jit_trampoline.c:375:6: error: #error "Unsupported target architecture" 375 | # error "Unsupported target architecture" | ^~~~~ Python/perf_jit_trampoline.c:377:1: error: empty enum is invalid 377 | }; | ^ Python/perf_jit_trampoline.c: In function 'elf_init_ehframe': Python/perf_jit_trampoline.c:458:26: error: 'DWRF_REG_RA' undeclared (first use in this function) 458 | DWRF_U8(DWRF_REG_RA); /* Return address register. */ | ^~~~~~~~~~~ Python/perf_jit_trampoline.c:441:9: note: in definition of macro 'DWRF_SECTION' 441 | stmt; \ | ^~~~ Python/perf_jit_trampoline.c:458:18: note: in expansion of macro 'DWRF_U8' 458 | DWRF_U8(DWRF_REG_RA); /* Return address register. */ | ^~~~~~~ Python/perf_jit_trampoline.c:458:26: note: each undeclared identifier is reported only once for each function it appears in 458 | DWRF_U8(DWRF_REG_RA); /* Return address register. */ | ^~~~~~~~~~~ Python/perf_jit_trampoline.c:441:9: note: in definition of macro 'DWRF_SECTION' 441 | stmt; \ | ^~~~ Python/perf_jit_trampoline.c:458:18: note: in expansion of macro 'DWRF_U8' 458 | DWRF_U8(DWRF_REG_RA); /* Return address register. */ | ^~~~~~~ Python/perf_jit_trampoline.c:461:53: error: 'DWRF_REG_SP' undeclared (first use in this function) 461 | DWRF_U8(DWRF_CFA_def_cfa); DWRF_UV(DWRF_REG_SP); DWRF_UV(sizeof(uintptr_t)); | ^~~~~~~~~~~ Python/perf_jit_trampoline.c:441:9: note: in definition of macro 'DWRF_SECTION' 441 | stmt; \ | ^~~~ Python/perf_jit_trampoline.c:461:45: note: in expansion of macro 'DWRF_UV' 461 | DWRF_U8(DWRF_CFA_def_cfa); DWRF_UV(DWRF_REG_SP); DWRF_UV(sizeof(uintptr_t)); | ^~~~~~~ Python/perf_jit_trampoline.c:491:6: error: #error "Unsupported target architecture" 491 | # error "Unsupported target architecture" | ^~~~~ make: *** [Makefile:3031: Python/perf_jit_trampoline.o] Error 1
Created attachment 896680 [details] build.log and emerge --info