https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122405
Bug ID: 122405
Summary: [16 Regression] g++.target/aarch64/mv-cpu-features.C
fails with older glibc that does not define HWCAP2_RNG
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
CC: alfierichards at gcc dot gnu.org
Target Milestone: ---
/home/pinskia/src/upstream/gcc/gcc/testsuite/g++.target/aarch64/mv-cpu-features.C:
In function 'void* fun_resolver(uint64_t, const ifunc_arg_t*)':
/home/pinskia/src/upstream/gcc/gcc/testsuite/g++.target/aarch64/mv-cpu-features.C:55:16:
error: 'HWCAP2_RNG' was not declared in this scope; did you mean 'HWCAP_FP'?
compiler exited with status 1
FAIL: g++.target/aarch64/mv-cpu-features.C (test for excess errors)
Excess errors:
/home/pinskia/src/upstream/gcc/gcc/testsuite/g++.target/aarch64/mv-cpu-features.C:55:16:
error: 'HWCAP2_RNG' was not declared in this scope; did you mean 'HWCAP_FP'?
UNRESOLVED: g++.target/aarch64/mv-cpu-features.C compilation failed to produce
executable