Skip to content

Commit fabb419

Browse files
author
MarcoFalke
committed
doc: Clarify that -fstack-reuse=all bugs exist on all versions of GCC
1 parent fd69ffb commit fabb419

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

configure.ac

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -941,9 +941,8 @@ if test "$TARGET_OS" != "windows"; then
941941
AX_CHECK_COMPILE_FLAG([-fPIC], [PIC_FLAGS="-fPIC"])
942942
fi
943943

944-
dnl Versions of gcc prior to 12.1 (commit
945-
dnl https://github.com/gcc-mirror/gcc/commit/551aa75778a4c5165d9533cd447c8fc822f583e1)
946-
dnl are subject to a bug, see the gccbug_90348 test case and
944+
dnl Currently all versions of gcc are subject to a class of bugs, see the
945+
dnl gccbug_90348 test case (only reproduces on GCC 11 and earlier) and the related bugs of
947946
dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348. To work around that, set
948947
dnl -fstack-reuse=none for all gcc builds. (Only gcc understands this flag)
949948
AX_CHECK_COMPILE_FLAG([-fstack-reuse=none], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-reuse=none"])

0 commit comments

Comments
 (0)