Release 11 - Kernel Compile error message after Spectre/Meltdown changes.
Suporte - KONTROL
suporte at kontrolsecurity.com.br
Wed Apr 18 02:50:14 UTC 2018
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:
**********************************************
/tmp/FreeBSD-src/sys/amd64/amd64/support.S:829:2: error: unknown directive
.altmacro
^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
^~
**********************************************
Here is my OS and clang details:
root at freebsd:~ # uname -a
FreeBSD FreeBSD 11.1-RELEASE-p9 FreeBSD 11.1-RELEASE-p9 #0 r321309: Fri Jul
21 02:08:28 UTC 2017
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root at 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.
More information about the svn-src-stable-11
mailing list