svn commit: r328625 - in head/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl i386/i386 x86/include x86/x86

Ed Maste emaste at freebsd.org
Sat Mar 10 01:58:16 UTC 2018


On 9 March 2018 at 19:41, Dexuan-BSD Cui <dexuan.bsd at gmail.com> wrote:
> Hi,
>
> In my FreeBSD 11.1 VM, I'm getting this build failure and it looks
> this revision causes the failure:
>
> /root/bsd.git/sys/amd64/amd64/support.S:855:2: error: unknown directive
>  .altmacro
>  ^

Are you trying to build a head kernel using the toolchain in 11.1?
That won't work (because of missing .altmacro support). Building
kernel-toolchain first should get a working toolchain.

> It looks -fno-integrated-as might fix the failure for me according to:

Avoiding the integrated assembler is indeed the workaround for this
issue, but you'll want to apply it only to the affected file.

Kostik's 11.1 merge candidate patch adds to sys/conf/Makefile.amd64
ASM_CFLAGS.support.S= ${CLANG_NO_IAS}


More information about the svn-src-all mailing list