Re: [gentoo-user] gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-29 Thread Henry Kohli
Would it be usefull to do a emerge -e @world with the new GCC 7.3 ? If yes, should we add /-mindirect-branch/, /-mindirect-branch-loop/, /-mfunction-return/ and /-mindirect-branch-register to the CFLAGS ?/ On 29/01/18 10:11, Adam Carter wrote: > Comparing the contents of >

[gentoo-user] gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-29 Thread Adam Carter
Comparing the contents of /sys/devices/system/cpu/vulnerabilities/spectre_v2 With gcc 7.2 + kernel 4.14.15; Intel system shows; Vulnerable: Minimal generic ASM retpoline AMD system shows: Vulnerable: Minimal AMD ASM retpoline With gcc 7.3 + kernel 4.15.0; Intel system shows; Mitigation: Full