--- ptrauth.o --- freebsd/sys/arm64/arm64/ptrauth.c:158:2: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:142:2: note: expanded from macro 'LOAD_KEY' ".arch_extension pauth \n" \ ^ :1:18: note: instantiated into assembly here .arch_extension pauth ^ freebsd/sys/arm64/arm64/ptrauth.c:158:2: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:143:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keylo_el1, %0 \n" \ ^ :2:5: note: instantiated into assembly here msr apiakeylo_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:158:2: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:144:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keyhi_el1, %1 \n" \ ^ :3:5: note: instantiated into assembly here msr apiakeyhi_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:158:2: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:145:3: note: expanded from macro 'LOAD_KEY' ".arch_extension nopauth \n" \ ^ :4:17: note: instantiated into assembly here .arch_extension nopauth ^ freebsd/sys/arm64/arm64/ptrauth.c:210:6: error: unknown architectural extension: pauth ".arch_extension pauth \n" ^ :1:18: note: instantiated into assembly here .arch_extension pauth ^ freebsd/sys/arm64/arm64/ptrauth.c:211:7: error: expected writable system register or pstate "msr apiakeylo_el1, %0 \n" ^ :2:5: note: instantiated into assembly here msr apiakeylo_el1, x0 ^ freebsd/sys/arm64/arm64/ptrauth.c:212:7: error: expected writable system register or pstate "msr apiakeyhi_el1, %1 \n" ^ :3:5: note: instantiated into assembly here msr apiakeyhi_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:213:7: error: unknown architectural extension: pauth ".arch_extension nopauth \n" ^ :4:17: note: instantiated into assembly here .arch_extension nopauth ^ freebsd/sys/arm64/arm64/ptrauth.c:228:3: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:142:2: note: expanded from macro 'LOAD_KEY' ".arch_extension pauth \n" \ ^ :1:18: note: instantiated into assembly here .arch_extension pauth ^ freebsd/sys/arm64/arm64/ptrauth.c:228:3: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:143:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keylo_el1, %0 \n" \ ^ :2:5: note: instantiated into assembly here msr apiakeylo_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:228:3: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:144:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keyhi_el1, %1 \n" \ ^ :3:5: note: instantiated into assembly here msr apiakeyhi_el1, x9 ^ freebsd/sys/arm64/arm64/ptrauth.c:228:3: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:145:3: note: expanded from macro 'LOAD_KEY' ".arch_extension nopauth \n" \ ^ :4:17: note: instantiated into assembly here .arch_extension nopauth ^ freebsd/sys/arm64/arm64/ptrauth.c:242:2: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:142:2: note: expanded from macro 'LOAD_KEY' ".arch_extension pauth \n" \ ^ :1:18: note: instantiated into assembly here .arch_extension pauth ^ freebsd/sys/arm64/arm64/ptrauth.c:242:2: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:143:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keylo_el1, %0 \n" \ ^ :2:5: note: instantiated into assembly here msr apiakeylo_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:242:2: error: expected writable system register or pstate LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:144:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keyhi_el1, %1 \n" \ ^ :3:5: note: instantiated into assembly here msr apiakeyhi_el1, x9 ^ freebsd/sys/arm64/arm64/ptrauth.c:242:2: error: unknown architectural extension: pauth LOAD_KEY(kern, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:145:3: note: expanded from macro 'LOAD_KEY' ".arch_extension nopauth \n" \ ^ :4:17: note: instantiated into assembly here .arch_extension nopauth ^ freebsd/sys/arm64/arm64/ptrauth.c:253:2: error: unknown architectural extension: pauth LOAD_KEY(user, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:142:2: note: expanded from macro 'LOAD_KEY' ".arch_extension pauth \n" \ ^ :1:18: note: instantiated into assembly here .arch_extension pauth ^ freebsd/sys/arm64/arm64/ptrauth.c:253:2: error: expected writable system register or pstate LOAD_KEY(user, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:143:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keylo_el1, %0 \n" \ ^ :2:5: note: instantiated into assembly here msr apiakeylo_el1, x8 ^ freebsd/sys/arm64/arm64/ptrauth.c:253:2: error: expected writable system register or pstate LOAD_KEY(user, apia); ^ freebsd/sys/arm64/arm64/ptrauth.c:144:3: note: expanded from macro 'LOAD_KEY' "msr "#name"keyhi_el1, %1 \n" \ ^ :3:5: note: instantiated into assembly here msr apiakeyhi_el1, x9 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [ptrauth.o] Error code 1