From owner-freebsd-arch@FreeBSD.ORG Mon Nov 17 00:17:06 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C59DF2C for ; Mon, 17 Nov 2014 00:17:06 +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 17BB5E2D for ; Mon, 17 Nov 2014 00:17:05 +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 35680193964; Mon, 17 Nov 2014 00:17:05 +0000 (UTC) Subject: Re: mips misbehaving, not respecting make.conf From: Sean Bruno Reply-To: sbruno@freebsd.org To: Warner Losh In-Reply-To: <7C1D8D61-0486-4783-A3E2-73189AE83023@bsdimp.com> References: <1416179733.1098.1200.camel@bruno> <2A2AD781-06B3-4450-9631-D83822016D0B@bsdimp.com> <1416183055.1098.1205.camel@bruno> <7C1D8D61-0486-4783-A3E2-73189AE83023@bsdimp.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-OnPw+aZAChXd5rHo6+zN" Date: Sun, 16 Nov 2014 16:17:03 -0800 Message-ID: <1416183423.1098.1206.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 00:17:06 -0000 --=-OnPw+aZAChXd5rHo6+zN Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable On Sun, 2014-11-16 at 17:15 -0700, Warner Losh wrote: > On Nov 16, 2014, at 5:10 PM, Sean Bruno wrote: >=20 > > On Sun, 2014-11-16 at 16:55 -0700, Warner Losh wrote: > >> On Nov 16, 2014, at 4:15 PM, Sean Bruno wrote= : > >>=20 > >>> I have set make.conf to use AS=3D/nxb-bin/usr/bin/as and > >>> CC=3D/nxb-bin/usr/bin/cc > >>>=20 > >>> Yet, while monitoring, I still see the ports build process > >>> using /usr/bin/as and /usr/bin/ld and /usr/libexec/cc1 > >>>=20 > >>> I don't see this on armv6 when building in a jail + qemu. > >>>=20 > >>> I'm trying to understand what is missing from our gcc toolchain here > >>> that is causing the builds to ignore my directives. > >>=20 > >> Let=A2s start with the first question: How are you seeing this? > >>=20 > >> Warner > >>=20 > >=20 > >=20 > > Setup a qemu-user enabled jail for mips based on head. Start poudriere > > building audio/speex (nice, short depend chain). > >=20 > > While all this is running, I have a "ps auwxxx|grep qemu" running that > > catches some of the invocations of qemu that are happening. When > > running a mips jail I see the tool chain being invoked, partially, > > from /usr/bin instead of /nxb-bin/usr/bin. > >=20 > > http://dpaste.com/12SD5TE > >=20 > > This is just a primitive profile attempt on my part. This shows that > > qemu is being invoked *a lot* to get cc1 and as running via emulation. >=20 > If you are building ports, chances are those settings won=A2t do what you= think they will. Do you have build logs I could look at? >=20 > Warner Last attempt was here: http://crack.ysv.freebsd.org/build.html?mastername=3D11-mips-test-11-mips-t= est&build=3D2014-10-29_14h04m18s sean --=-OnPw+aZAChXd5rHo6+zN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUaT5/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5knmoIAJ1ywXsiQl1MlQTeTyg9QRW7 zq3VOizfbVw4Xj8ldGfaBbJjDtQqngB5aDrbbwqlTZz5/ifAe63V5szPysfkURB+ TAy1E0d96OZk9pch/U5OIjIFms8O6NhEJ1FyIZ5dEAg7kZB0Uf8EZrdPtqM0KUY/ 2sA2RgkBUFe+oa3SdTayTq3RTjtXLSAiGXwPyS3HhU6wSUwLVdCYfCwQamolTNJt e5PC62WINjLZDfgdKILp/zKsJ4NsQv2fsXY9lnVlS3O8SmQ4YYtz10YtBQA20IUT d+NOzkTGwyQRO9RzDEKuE60eXxlVtomiYsynSmWWep9TfsYAZ606/w3RQMTC2b8= =FN19 -----END PGP SIGNATURE----- --=-OnPw+aZAChXd5rHo6+zN--