aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-11-29 22:28:04 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-11-29 22:28:04 +0000
commite2c717c7399959089907225e44134f92503da22d (patch)
tree7948758da461489c304ef1aa3f1001e441e603d2
parentcrossdev: default to latest newlib even for stable toolchains. (diff)
downloadcrossdev-e2c717c7399959089907225e44134f92503da22d.tar.gz
crossdev-e2c717c7399959089907225e44134f92503da22d.tar.bz2
crossdev-e2c717c7399959089907225e44134f92503da22d.zip
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@gentoo.org>
-rwxr-xr-xcrossdev1
1 files changed, 1 insertions, 0 deletions
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*)