From: Ayappan Perumal Date: Mon, 1 Sep 2025 13:27:52 +0000 (-0500) Subject: Error out stack-protector unavailability on AIX X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21db895f1e067a1094591330ea7baad2abc89087;p=thirdparty%2Fgcc.git Error out stack-protector unavailability on AIX stack-protector is not supported in GCC on AIX. This patch is to fail the compilation if -fstack-protector option is passed. gcc/ChangeLog: * config/rs6000/aix.h (SUBTARGET_DRIVER_SELF_SPECS): Error out when stack-protector option is used in AIX as it is not supported on AIX Approved By: Segher Boessenkool (cherry picked from commit dfb7e97dd214f7d8ca0fa970d81ad5ba805aaa8d) --- diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 69db93ef47b..11e3fdf1d5a 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -283,4 +283,6 @@ #undef SUBTARGET_DRIVER_SELF_SPECS #define SUBTARGET_DRIVER_SELF_SPECS \ "%{m64:-maix64} %