Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 19:46:54 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: upgrading arm6hf
Message-ID:  <1463795214.1180.351.camel@freebsd.org>
In-Reply-To: <20160521002859.GJ1049@www.zefox.net>
References:  <CAFnjQbuH1%2Bmxid6_HdpayejNxayMHahB-JVi8=6oKNGjf9vtow@mail.gmail.com> <CANCZdfrx%2BUJdB0F9CRX=sE=2kfEBDjeLHjvADasvbUd95n56UQ@mail.gmail.com> <CAFnjQbsnEtaxRXHTvFLzWRFndUUFPyV5jW3o%2Bo=gPQxRU5bGCg@mail.gmail.com> <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net> <CANCZdfrRwnHvo1AyQxYrRQjyp9MWuNXYfX3HWub4Dc0Z%2BJ%2BFDg@mail.gmail.com> <20160520065945.GH1049@www.zefox.net> <1463776364.1180.340.camel@freebsd.org> <20160520231622.GI1049@www.zefox.net> <20160521002859.GJ1049@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2016-05-20 at 17:28 -0700, bob prohaska wrote:
> Something is still amiss. First try at buildworld stopped with a
> missing object file/directory,
> so I cleaned out /usr/obj and tried again. The build stopped, this
> time wanting a TARGET_ARCH,
> prompting 
> root@www:/usr/src # make -j6 buildworld TARGET_ARCH=armv6 >
> buildworld.log &
> [1] 3753
> root@www:/usr/src # 1 error
> 
> [1]    Exit 2                        make -j6 buildworld
> TARGET_ARCH=armv6 > buildworld.log
> root@www:/usr/src # tail *.log
> --- buildworld ---
> make[1]: "/usr/src/Makefile.inc1" line 266: To cross-build, set
> TARGET_ARCH.
> *** [buildworld] Error code 1
> 
> make: stopped in /usr/src
> 
> Re-fetching Makefile and Makefil.inc1 seems to have no effect. 
> The system wants a TARGET_ARCH, then seems to ignore it.
> Is there a syntax error in the buildworld command?
> Thanks for reading,
> 
> bob prohaska

I wonder if you could get back to the older kernel that was still
reporting armv6hf, would that then let you update the system by doing a
cross-build?

That may be the answer for others who haven't started on this yet.  If
you're building on an armv6hf system and you want to update, you may ha
ve to build and install with TARGET_ARCH=armv6, and it's going to be
treated like a full crossbuild (meaning an extra copy of clang gets
built, it'll take forever*2).

-- Ian




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