From owner-svn-src-stable-11@freebsd.org Wed Apr 18 02:50:14 2018 Return-Path: Delivered-To: svn-src-stable-11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5443EF88C55 for ; Wed, 18 Apr 2018 02:50:14 +0000 (UTC) (envelope-from suporte@kontrolsecurity.com.br) Received: from a2-spring1-panama.uhserver.com (a2-spring1-panama.uhserver.com [200.147.32.58]) by mx1.freebsd.org (Postfix) with ESMTP id 99E9589B8E for ; Wed, 18 Apr 2018 02:50:12 +0000 (UTC) (envelope-from suporte@kontrolsecurity.com.br) Received: from smtp.uhserver.com (a2-smithers5.host.intranet [10.129.139.140]) by a2-spring1-panama.uhserver.com (Postfix) with ESMTP id C1DD31C00A49 for ; Tue, 17 Apr 2018 23:41:19 -0300 (BRT) Received: from localhost (localhost.localdomain [127.0.0.1]) by a2-smithers5.uhserver.com (Postfix) with ESMTP id 9B690600008B for ; Tue, 17 Apr 2018 23:41:12 -0300 (-03) Received: from FABRIFER (unknown [189.38.147.55]) (Authenticated sender: suporte@kontrolsecurity.com.br) by a2-smithers5.uhserver.com (Postfix) with ESMTPA id 4724E6000086 for ; Tue, 17 Apr 2018 23:41:08 -0300 (-03) From: "Suporte - KONTROL" To: Subject: Release 11 - Kernel Compile error message after Spectre/Meltdown changes. Date: Tue, 17 Apr 2018 23:40:54 -0300 Message-ID: <002601d3d6be$b6170a90$22451fb0$@kontrolsecurity.com.br> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdPWvgFkEBLPQVlHR4C3J6viuqg3ig== Content-Language: en-us X-SIG5: 2b2677b576a7b821941ee8ecd1fb7d09 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-stable-11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for only the 11-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 02:50:14 -0000 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 ^ :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.