Confused about ARM64 cross-compilation
Ian Lepore
ian at freebsd.org
Fri Feb 9 18:10:23 UTC 2018
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 at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.o
> > rg"
More information about the freebsd-arm
mailing list