diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-11-29 22:28:04 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-11-29 22:28:04 +0000 |
commit | e2c717c7399959089907225e44134f92503da22d (patch) | |
tree | 7948758da461489c304ef1aa3f1001e441e603d2 | |
parent | crossdev: default to latest newlib even for stable toolchains. (diff) | |
download | crossdev-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-x | crossdev | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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*) |