From owner-freebsd-arm@freebsd.org Sat May 21 01:47:01 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FC69B43064 for ; Sat, 21 May 2016 01:47:01 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA04816D7 for ; Sat, 21 May 2016 01:47:00 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: e9cdd02c-1ef5-11e6-8d8d-01a8ff6afd94 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.eu.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sat, 21 May 2016 01:47:01 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u4L1ksva059389; Fri, 20 May 2016 19:46:54 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1463795214.1180.351.camel@freebsd.org> Subject: Re: upgrading arm6hf From: Ian Lepore To: bob prohaska Cc: freebsd-arm Date: Fri, 20 May 2016 19:46:54 -0600 In-Reply-To: <20160521002859.GJ1049@www.zefox.net> References: <20160519232102.GF1049@www.zefox.net> <20160520021633.GG1049@www.zefox.net> <20160520065945.GH1049@www.zefox.net> <1463776364.1180.340.camel@freebsd.org> <20160520231622.GI1049@www.zefox.net> <20160521002859.GJ1049@www.zefox.net> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 01:47:01 -0000 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