Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2017 21:05:00 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, fbsd@www.zefox.net, Garrett Cooper <ngie@freebsd.org>
Subject:   Re: Make cleandir stops with malformed conditional on RPI2
Message-ID:  <20171107050500.GB87573@www.zefox.net>
In-Reply-To: <CANCZdfqw3-oTxgK93B2uSp8sBu1TsH7Z%2B8beiTtjhtKUrfUizw@mail.gmail.com>
References:  <20171107035831.GA87573@www.zefox.net> <CANCZdfqw3-oTxgK93B2uSp8sBu1TsH7Z%2B8beiTtjhtKUrfUizw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that using CPUTYPE=native in the make command solves
the problem, letting make cleandir run to completion. 
Is this a reasonable short-term fix? The goal is merely to
run buildworld/kernel from a fresh start to see if it finishes.

Many thanks!

bob prohaska



On Mon, Nov 06, 2017 at 09:11:36PM -0700, Warner Losh wrote:
> I think this is due to
> https://svnweb.freebsd.org/base/head/lib/libclang_rt/Makefile.inc?revision=325449&view=markup
> by ngie@. Looks like CPUTYPE isn't defined for you for some reason.
> 
> Warner
> 
> On Mon, Nov 6, 2017 at 8:58 PM, bob prohaska <fbsd@www.zefox.net> wrote:
> 
> > Now that my rpi2 is over the v6-v7 hump something else seems amiss:
> >
> > Make cleandir runs for a bit, then stops with
> >
> > --- cleandir_subdir_lib/libclang_rt ---
> > make[4]: "/usr/src/lib/libclang_rt/profile/../Makefile.inc" line 6:
> > Malformed conditional (${MACHINE_ARCH:Marmv[67]*} != "" &&
> > ${CPUTYPE:M*soft*} == "")
> > make[4]: Fatal errors encountered -- cannot continue
> > make[4]: stopped in /usr/src/lib/libclang_rt/profile
> > *** [cleandir_subdir_lib/libclang_rt/profile] Error code 1
> >
> > make[3]: stopped in /usr/src/lib/libclang_rt
> >
> > ......
> >
> > Is this just a typo, or something more serious?
> >
> > Thanks for reading,
> >
> > bob prohaska
> >
> > _______________________________________________
> > freebsd-arm@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> >



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