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