1 |
On 2018-01-29 20:35, Alexander Kapshuk wrote: |
2 |
|
3 |
> To compile the kernel with a different compiler, the method shown |
4 |
> below may be used, e.g.: |
5 |
> make CC=clang |
6 |
|
7 |
Unfortunately, this has the annoying side effect that kconfig forces a |
8 |
full reconfiguration, asking every question. Maybe there is a way |
9 |
around that but looking at the complexity of the Makefile, I'm scared |
10 |
to mess with it. |
11 |
|
12 |
What I did in the end was to prepend the following to PATH: |
13 |
|
14 |
/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0: |
15 |
|
16 |
I use a pretty complex script for building kernels, so adding this to |
17 |
the script was small potatoes. And indeed, after a reboot I see I have |
18 |
full mitigation against spectre_v2. Now what about spectre_v1? |
19 |
|
20 |
-- |
21 |
Please don't Cc: me privately on mailing lists and Usenet, |
22 |
if you also post the followup to the list or newsgroup. |
23 |
To reply privately _only_ on Usenet, fetch the TXT record for the domain. |