Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2018 23:40:54 -0300
From:      "Suporte - KONTROL" <suporte@kontrolsecurity.com.br>
To:        <svn-src-stable-11@freebsd.org>
Subject:   Release 11 - Kernel Compile error message after Spectre/Meltdown changes.
Message-ID:  <002601d3d6be$b6170a90$22451fb0$@kontrolsecurity.com.br>

next in thread | raw e-mail | index | archive | help
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@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@releng2.nyi.freebsd.org:/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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601d3d6be$b6170a90$22451fb0$>