Gentoo Archives: gentoo-user

From: Henry Kohli <henry-h@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc 7.3 + kernel 4.15 = spectre_v2 fixed
Date: Mon, 29 Jan 2018 22:35:24
Message-Id: 20f6aad3-ee3f-2027-96ab-9460c561534b@cks-the-pla.net
In Reply to: [gentoo-user] gcc 7.3 + kernel 4.15 = spectre_v2 fixed by Adam Carter
1 Would it be usefull to do a emerge -e @world with the new GCC 7.3 ?
2
3 If yes, should we add /-mindirect-branch/, /-mindirect-branch-loop/,
4 /-mfunction-return/ and /-mindirect-branch-register to the CFLAGS ?/
5
6
7 On 29/01/18 10:11, Adam Carter wrote:
8 > Comparing the contents of
9 > /sys/devices/system/cpu/vulnerabilities/spectre_v2
10 >
11 > With gcc 7.2 + kernel 4.14.15;
12 > Intel system shows; Vulnerable: Minimal generic ASM retpoline
13 > AMD system shows: Vulnerable: Minimal AMD ASM retpoline
14 >
15 > With gcc 7.3 + kernel 4.15.0;
16 > Intel system shows; Mitigation: Full generic retpoline
17 > AMD system shows' Mitigation: Full AMD retpoline

Replies

Subject Author
[gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed Nikos Chantziaras <realnc@×××××.com>