From owner-freebsd-arm@FreeBSD.ORG Fri Nov 21 17:19:21 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1204B5C6 for ; Fri, 21 Nov 2014 17:19:21 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 E1F41DCF for ; Fri, 21 Nov 2014 17:19:20 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id DD780193964; Fri, 21 Nov 2014 17:19:19 +0000 (UTC) Subject: Re: ARMv6 -- pkg repo build From: Sean Bruno Reply-To: sbruno@freebsd.org To: Warner Losh In-Reply-To: <1416585106.7423.52.camel@bruno> References: <1416531121.7423.47.camel@bruno> <20141121011905.GC99957@funkthat.com> <1416537224.7423.49.camel@bruno> <20141121042452.GD99957@funkthat.com> <1416579333.7423.51.camel@bruno> <1416585106.7423.52.camel@bruno> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-UvUZjbD8uUzBLhqIkKqE" Date: Fri, 21 Nov 2014 09:19:19 -0800 Message-ID: <1416590359.7423.61.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 17:19:21 -0000 --=-UvUZjbD8uUzBLhqIkKqE Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable On Fri, 2014-11-21 at 07:51 -0800, Sean Bruno wrote: > On Fri, 2014-11-21 at 06:15 -0800, Sean Bruno wrote: > > > > Ahh, it's an issue w/ sys/conf/kmod.mk when it builds the machine > > > > link... In kmod.mk it does: > > > > ${.OBJDIR}/${_link}: > > > > @case ${.TARGET:T} in \ > > > > machine) \ > > > > path=3D${SYSDIR}/${MACHINE}/include ;; \ > > > >=20 > > > > So, looks like MACHINE isn't set correctly, or MACHINE isn't what's > > > > suppose to be here... Not sure which is correct=85 > > >=20 > > > this is correct. MACHINE should be arm. If it is anything else, then = bad things > > > are going to happen. > > >=20 > > > There=92s safeties to prevent it, but are you sure you=92re saying TA= RGET=3Darm > > > TARGET_ARCH=3Darmv6? and not TARGET=3Darmv6? > > >=20 > > > Warner > >=20 > >=20 > > I'm positive. The poudriere code accepts takes "-a TARGET.TARGET_ARCH" > > and nowhere in the code does it substitue armv6 for armv7 > >=20 > > sean >=20 >=20 > Full output from: >=20 > poudriere jail -c -j 11armv6 -m svn -v head -a arm.armv6 -x >=20 > https://people.freebsd.org/~sbruno/poudriere_arm_armv6.txt >=20 > See anything odd in there? >=20 > sean Hrm ... I notice that MACHINE_CPU is set to the host version (amd64) and not the jail version in my port builds. So, for things like math/fftw3, it tries to compile with x86 cpu options. I wonder if this is causing grief and how I should work around this? sean --=-UvUZjbD8uUzBLhqIkKqE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUb3QXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5klSYH/R1CSTmNqm3b7HUAmttseIfP AL5lR5RRR1okpKx6HXVUrF6oJdD/3QZnLB4djdddpQgHJgS6+zMKQde+OOtan399 jkoMZLk7cWccEXTyL7BXUXRSdbE9Hg/HKp9PEq2Slam2nZmJP1MtU4J1mpdpdSoL oOTZhB963zEwKdatHnaCZkgB0RL+5c2xkq1c92K1isCSKUdMfgZdhajPmKH27bu/ Y5qR5r5vN78+GZVXsuCrVIfrYoGkFu8DGnKV1GZ8uDijUCwGGOlC5rTRpqAHeADZ ON7/Kc6vXbUtmGI/trBJeUTICMRM2Jowl9ZCctMlvnG8BNB3SKMEbCkCLHlQhjU= =SAay -----END PGP SIGNATURE----- --=-UvUZjbD8uUzBLhqIkKqE--