Source: gcc-15
Version: 15.2.0-15
User: [email protected]
Usertags: pac-bti, gcs
Hi Matthias,
I just noticed that although we turned on PAC/BTI/GCS support in gcc for
crtbeginS.o and friends, we haven't enabled the features for the compiler
itself.
After building gcc-15 with the following patch, gcc-15-aarch64-linux-gnu
now ships usr/bin/aarch64-linux-gnu-* with BTI, PAC, and GCS, as well as
all files under usr/libexec/gcc/aarch64-linux-gnu/15/ and
usr/lib/gcc/aarch64-linux-gnu/15/plugin/.
Thanks,
ema
diff --git a/debian/rules2 b/debian/rules2
index ae18668..74acb8d 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -233,6 +233,7 @@ ifeq ($(DEB_TARGET_ARCH),arm64)
# Native build
CFLAGS += $(CFLAGS_SECURE)
CXXFLAGS += $(CFLAGS_SECURE)
+ BOOT_CFLAGS += $(CFLAGS_SECURE)
endif
endif