From owner-freebsd-arm@freebsd.org Thu Jun 30 13:04:49 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 88AC3B87922 for ; Thu, 30 Jun 2016 13:04:49 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4611829F3; Thu, 30 Jun 2016 13:04:49 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from [172.27.1.81] (unknown [172.27.1.81]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id BD074834; Thu, 30 Jun 2016 09:04:41 -0400 (EDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Poudriere failing on some 10-STABLE ports --- "uses VFP register arguments" From: Paul Mather In-Reply-To: <1466799055.72182.50.camel@freebsd.org> Date: Thu, 30 Jun 2016 09:04:41 -0400 Cc: =?iso-8859-1?Q?Mika=EBl_Urankar?= , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <854D8FF8-CE45-44C1-B371-79AA6DD782FB@gromit.dlib.vt.edu> <1466799055.72182.50.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3124) 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: Thu, 30 Jun 2016 13:04:49 -0000 On Jun 24, 2016, at 4:10 PM, Ian Lepore wrote: > On Fri, 2016-06-24 at 15:52 -0400, Paul Mather wrote: >> On Jun 24, 2016, at 2:55 PM, Mika=EBl Urankar = >> wrote: >>=20 >>> 2016-06-24 20:49 GMT+02:00 Paul Mather : >>>> For a while I've been having trouble building ARM packages via >>>> Poudriere. My setup running under a 10-STABLE host quit working >>>> altogether, so I switched to an 11-CURRENT host. That works to >>>> build both 11.x and 10.x FreeBSD/arm packages, however, in the >>>> case of the 10.x packages I am having a couple of persistent >>>> failures: lang/perl5.20; security/libgpg-error; and mail/postfix. >>>> All three are flagged in the Poudriere build page as having >>>> "linker_error". The linker error is always a complaint related >>>> to using "VFP register arguments". >>>=20 >>> Hi, >>> See https://lists.freebsd.org/pipermail/freebsd-arm/2016-May/013952 >>> .html >>=20 >>=20 >> I had seen that thread but the fixes suggested (update the jail; >> update QEMU) do not appear to work for my problem. >>=20 >> I have: >>=20 >> Poudriere host: FreeBSD/amd64 11.0-ALPHA4 r302140 >> Poudriere jail: 10.3-STABLE r302137 arm.armv6 >> QEMU package: qemu-user-static-2.6.50.g20160621 >>=20 >>=20 >> Note, I have no problems building FreeBSD/arm 11-CURRENT packages on >> this Poudriere host, only 10-STABLE packages. >>=20 >> Cheers, >=20 > When you update the nxb-bin native crosstools (-x command in poudriere > jail create) in the 10-stable jail, they are actually being built from > /usr/src on your host, not the sources in the jail. This means you're > getting hardfloat-abi tools from the 11-alpha host, not the softfp-abi > tools from the 10-stable jail sources. >=20 > I don't know of any way to fix it other than to create a 10-stable > amd64 jail to host the 10-stable poudriere crossbuilds, so that the -x > option in poudriere picks up the 10-stable copy of /usr/src from the > jail it's running in. >=20 > This doesn't sound like something that would be hard to fix, but I've > never looked into it to see why it's hardwired to /usr/src on the host > (in fact, I'm just taking someone's word for that, I've never looked > into it at all). It might just get neglected because it has never > really made much difference before, but now all of a sudden it does. >=20 > -- Ian Thank you for the explanation. As for building the FreeBSD/arm = Poudriere jail on a 10-STABLE system, unfortunately that no longer = appears to work for me. It fails when building the native-xtools. I think this package building issue is probably a gentle hint that I = should also upgrade my 10-STABLE armv6 systems (Raspberry Pi) to = 11-CURRENT, like my BeagleBone Black. It's probably better in the long = run than trying to figure out how to build 10-STABLE packages, as = 11-CURRENT appears to be where all the focus and TLC is in the = FreeBSD/arm world nowadays. Plus, I'd only have to maintain one local = FreeBSD/arm package repository... :-) Cheers, Paul.