Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 08:08:17 +0000
From:      Dexuan Cui <decui@microsoft.com>
To:        Ed Maste <emaste@freebsd.org>, Dexuan-BSD Cui <dexuan.bsd@gmail.com>
Cc:        Konstantin Belousov <kib@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   RE: svn commit: r328625 - in head/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl i386/i386 x86/include x86/x86
Message-ID:  <KL1P15301MB0006102A039A9668ADF0FB48BFDD0@KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <CAPyFy2CjQVU_79oTkXZiQTnurUsAQgyvS2ewG_q4GXYTTvhnKg@mail.gmail.com>
References:  <201801311436.w0VEaRrZ030839@repo.freebsd.org> <CABkgQk93SOt=u3agxZ35VDb502Sm6tXTzQ7bLwQk3n5Mr%2BK8Mw@mail.gmail.com> <CAPyFy2CjQVU_79oTkXZiQTnurUsAQgyvS2ewG_q4GXYTTvhnKg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

> From: carpeddiem@gmail.com <carpeddiem@gmail.com> On Behalf Of Ed
> Maste
> Sent: Friday, March 9, 2018 17:58
> On 9 March 2018 at 19:41, Dexuan-BSD Cui <dexuan.bsd@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?

Yes.

> That won't work (because of missing .altmacro support). Building
> kernel-toolchain first should get a working toolchain.

"make kernel-toolchain" first works for me! :-)

Thank you, Ed!
 
> > 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}

Thanks for the explanation. Good to know this!

Thanks,
-- Dexuan

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KL1P15301MB0006102A039A9668ADF0FB48BFDD0>