]> git.ipfire.org Git - thirdparty/gcc.git/commit
Error out stack-protector unavailability on AIX
authorAyappan Perumal <ayappap2@in.ibm.com>
Mon, 1 Sep 2025 13:27:52 +0000 (08:27 -0500)
committerSangamesh Mallayya <swamy.sangamesh@gmail.com>
Thu, 16 Oct 2025 09:22:51 +0000 (04:22 -0500)
commitdfb7e97dd214f7d8ca0fa970d81ad5ba805aaa8d
tree57d49ff46df13d0ea9ecc542f664032ebcd28198
parente1e5444ff2a0d3ca670ee5f48bc601fa9a071c80
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 <segher@kernel.crashing.org>
gcc/config/rs6000/aix.h