Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed
Date: Tue, 30 Jan 2018 04:35:14
Message-Id: p4osh9$5hn$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] gcc 7.3 + kernel 4.15 = spectre_v2 fixed by Henry Kohli
1 On 30/01/18 00:36, Henry Kohli wrote:
2 > Would it be usefull to do a emerge -e @world with the new GCC 7.3 ?
3
4 No. Unless there's a bug involved that would require a rebuild. There
5 doesn't seem to be such bug.
6
7
8 > If yes, should we add /-mindirect-branch/, /-mindirect-branch-loop/,
9 > /-mfunction-return/ and /-mindirect-branch-register to the CFLAGS ?/
10
11 No!
12
13 These flags are for *affected* applications only. That means application
14 that: a) run third-party code, and b) do so in a sandbox.
15
16 The vast majority of software doesn't do that. Examples that do are web
17 browsers (they run JIT compiled javascript), and the kernel.
18
19 Packages that benefit from these new flags will be updated and they will
20 use those flags on their own, as needed.

Replies

Subject Author
Re: [gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed Rich Freeman <rich0@g.o>