commit: e2c717c7399959089907225e44134f92503da22d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 22:28:04 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 22:28:04 2020 +0000
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=e2c717c7
crossdev: explicitly avoid USE=hardened for gcc on mingw targets
Gentoo's USE=hardened unconditionally enables stack check code
generation not compatible with external libssp. This leads to
gcc ICEs like:
libssp/ssp.c:186:1: internal compiler error: in seh_emit_stackalloc
Disable USE=hardened until it works on gcc side.
Reported-by: redsh
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
crossdev | 1 +
1 file changed, 1 insertion(+)
diff --git a/crossdev b/crossdev
index 7aa2f5f..3f75778 100755
--- a/crossdev
+++ b/crossdev
@@ -262,6 +262,7 @@ parse_target() {
KPKG="[none]";
LCAT="dev-util"; LPKG="mingw64-runtime"
WITH_DEF_HEADERS="yes" # gcc can't boot without headers:
bug #693770
+ GUSE+=" -hardened" # gcc ICEs as libssp/ssp.c:186:1:
internal compiler error: in seh_emit_stackalloc
;;
mingw*|*-mingw*)