Hello Gentlemen,
Greetings.
I Can’t compile the stable 11 Kernel anymore after the changes related to Spectre/Meltdown.
Before it, I could compile it normally. I am not sure what I am missing. If some patch, if some Clang update/patch.
When compiling, I am getting errors like this one:
Here is my OS and clang details:
Is there any update or patch I have to apply before compile it?
Any help will be greatly appreciated!
Thanks Much!
Fabricio.
Greetings.
I Can’t compile the stable 11 Kernel anymore after the changes related to Spectre/Meltdown.
Before it, I could compile it normally. I am not sure what I am missing. If some patch, if some Clang update/patch.
When compiling, I am getting errors like this one:
Code:
/tmp/FreeBSD-src/sys/amd64/amd64/support.S:829:2: error: unknown directive
.altmacro
^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
^~
Code:
root@freebsd:~ # uname -a
FreeBSD FreeBSD 11.1-RELEASE-p9 FreeBSD 11.1-RELEASE-p9 #0 r321309: Fri Jul 21 02:08:28 UTC 2017 [email]root@releng2.nyi.freebsd.org[/email]:/usr/obj/usr/src/sys/GENERIC amd64
root@freebsd:~ # clang -v
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
Is there any update or patch I have to apply before compile it?
Any help will be greatly appreciated!
Thanks Much!
Fabricio.