1 |
On Monday, 29 January 2018 18:35:58 GMT Mike Gilbert wrote: |
2 |
> On Mon, Jan 29, 2018 at 12:50 PM, Ian Zimmerman <itz@××××××××××××.org> |
3 |
wrote: |
4 |
> > On 2018-01-29 20:11, Adam Carter wrote: |
5 |
> >> Comparing the contents of |
6 |
> >> /sys/devices/system/cpu/vulnerabilities/spectre_v2 |
7 |
> >> |
8 |
> >> With gcc 7.2 + kernel 4.14.15; |
9 |
> >> Intel system shows; Vulnerable: Minimal generic ASM retpoline |
10 |
> >> AMD system shows: Vulnerable: Minimal AMD ASM retpoline |
11 |
> >> |
12 |
> >> With gcc 7.3 + kernel 4.15.0; |
13 |
> >> Intel system shows; Mitigation: Full generic retpoline |
14 |
> >> AMD system shows' Mitigation: Full AMD retpoline |
15 |
> > |
16 |
> > Is there a simple way, with the upstream (kernel.org) sources, to force |
17 |
> > a compiler different from the system default? If there is, it's not in |
18 |
> > the |
19 |
> > README, and a simple grep over the Makefiles also doesn't enlighten. |
20 |
> > |
21 |
> > I am not ready to activate a keyworded gcc for general use. |
22 |
> |
23 |
> You could pass CC=gcc-7.3.0 to the make command, like so: |
24 |
> |
25 |
> make -j6 CC=gcc-7.3.0 |
26 |
|
27 |
Shouldn't you have at least compiled your whole toolchain with gcc-7.3.0 |
28 |
first? |
29 |
|
30 |
-- |
31 |
Regards, |
32 |
Mick |