Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2018 11:10:19 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Karl Denninger <karl@denninger.net>, freebsd-arm@freebsd.org
Subject:   Re: Confused about ARM64 cross-compilation
Message-ID:  <1518199819.32585.153.camel@freebsd.org>
In-Reply-To: <65f3f19d-0f87-7f17-99e9-18a538ad0280@denninger.net>
References:  <CAOZdJXXPFfQFGRuFrGHvkmi2wRTDq4ESBPu%2BWxXjzL=a=d3jdQ@mail.gmail.com> <20180209172005.0b787bca.freebsd.ed.lists@sumeritec.com> <2f03b0cc-01c5-950f-026e-4b291117a329@denninger.net> <87fu6am4le.wl-herbert@gojira.at> <65f3f19d-0f87-7f17-99e9-18a538ad0280@denninger.net>

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

On Fri, 2018-02-09 at 11:57 -0600, Karl Denninger wrote:
> What is your exact build string for cross-compile?
> 
> This is what I'm using (and having fail) early in the cross-tools
> build,
> as the bug report shows:
> 
> make TARGET_ARCH=aarch64 SRCCONF=/dev/null __MAKE_CONF=/dev/null
> -DNO_CLEAN -DWITHOUT_DEBUG_FILES -DWITHOUT_KERNEL_SYMBOLS
> -DWITHOUT_TESTS -j 12 buildworld
> 
> -DNO_CLEAN being gone doesn't change behavior.
> 

Since your failure happens when trying to use the 11.1-stable compiler
to build a new compiler, I would suspect the problem is in your base
11.1 compiler.  Maybe H. Skuhra is on a newer revision of 11.1-stable
than you, in which some clang bug got fixed?  The output of uname -a
and clang --version on working versus failing systems may contain a
clue.

-- Ian


> On 2/9/2018 11:54, Herbert J. Skuhra wrote:
> > 
> > On Fri, 09 Feb 2018 15:20:25 +0100, Karl Denninger wrote:
> > > 
> > > Yeah, for the last couple of months attempting to build -HEAD on
> > > an
> > > 11.1-STABLE AMD64 architecture box fails; the current blowup is
> > > in the
> > > cross-compile tools, so you never get to the actual build itself.
> > > 
> > > I logged a bug on this as it's a showstopper for a project of
> > > mine, and
> > > I have no workaround other than to spin up a -HEAD instance
> > > somewhere
> > > (which I assume works, but am not certain it will.)
> > > 
> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225521
> > I am running 11.1-STABLE r328503 (amd64) and build HEAD for RPI2
> > (armv7) and RPI3 (aarch64) frequently.
> > 
> > --
> > Herbert
> > _______________________________________________
> > freebsd-arm@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o
> > rg"


help

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