Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/crossdev:master commit in: /
Date: Wed, 28 Dec 2022 15:17:59
Message-Id: 1672240660.82dd3e00f1838f3ce00c4a156e67d73bbb1a2760.sam@gentoo
1 commit: 82dd3e00f1838f3ce00c4a156e67d73bbb1a2760
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 15:17:40 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 15:17:40 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=82dd3e00
7
8 crossdev: adapt to new USE=default-stack-clash-protection
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 crossdev | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/crossdev b/crossdev
16 index caf912e..de9ce7a 100755
17 --- a/crossdev
18 +++ b/crossdev
19 @@ -289,8 +289,8 @@ parse_target() {
20 KPKG="[none]";
21 LCAT="dev-util"; LPKG="mingw64-runtime"
22 WITH_DEF_HEADERS="yes" # gcc can't boot without headers: bug #693770
23 - GUSE+=" -hardened" # gcc ICEs as libssp/ssp.c:186:1: internal compiler error: in seh_emit_stackalloc
24 - GMASK+=" hardened"
25 + GMASK+=" default-stack-clash-protection hardened"
26 + GUSE+=" -default-stack-clash-protection -hardened" # gcc ICEs as libssp/ssp.c:186:1: internal compiler error: in seh_emit_stackalloc
27 ;;
28
29 mingw*|*-mingw*)
30 @@ -440,7 +440,7 @@ parse_target() {
31 if [[ $ssp_support = "no" ]]; then
32 # ssp is >=gcc-6, nossp is <gcc-6
33 # blacklist hardened too because it'll force -fstack-clash-protection
34 - GMASK+=" ssp hardened -nossp"
35 + GMASK+=" default-stack-clash-protection ssp hardened -nossp"
36 GFORCE+=" nossp"
37 fi
38 }