https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121400
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Kirill A. Korinsky from comment #1) > /build/pobj/gcc-15.1.0/gcc-15.1.0/libgcc/config/aarch64/__arm_tpidr2_restore. > S: Assembler messages: > /build/pobj/gcc-15.1.0/gcc-15.1.0/libgcc/config/aarch64/__arm_tpidr2_restore. > S:78: Error: unknown pseudo-op: `.cfi_negate_ra_state' > gmake[3]: *** [/build/pobj/gcc-15.1.0/gcc-15.1.0/libgcc/static-object.mk:36: > __arm_tpidr2_restore_s.o] Error 1 > gmake[3]: Leaving directory This sugguest the assembler is out of date. cfi_negate_ra_state was added to binutils gas in 2019 while it was added to llvm in 2021 or so. Looks like the version required of either is not documented: https://gcc.gnu.org/install/specific.html#aarch64-x-x