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