Make cleandir stops with malformed conditional on RPI2

bob prohaska fbsd at www.zefox.net
Tue Nov 7 05:04:53 UTC 2017


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 at . Looks like CPUTYPE isn't defined for you for some reason.
> 
> Warner
> 
> On Mon, Nov 6, 2017 at 8:58 PM, bob prohaska <fbsd at 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 at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> >


More information about the freebsd-arm mailing list