From owner-freebsd-arch@FreeBSD.ORG Mon Nov 17 00:15:34 2014 Return-Path: Delivered-To: freebsd-arch@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 DE64ACD7 for ; Mon, 17 Nov 2014 00:15:33 +0000 (UTC) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE8ABE10 for ; Mon, 17 Nov 2014 00:15:33 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kq14so2149400pab.34 for ; Sun, 16 Nov 2014 16:15:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=dB7ycqj1Xf6atwtrhQ7Tbe/2ajnSW3hjkzSuBgchRE8=; b=DszMrUjsbpvd3CXLw1XPIgAZi+IVr1e80li0GzBDVvkFBZUgoxlGr56usmXi34LciB Z3sNo3g6q6gtLA3vHy8tQyz2Q8rWOTfTo34tb81mq4AkWK/jb8vhd4GdkW79bwZmXJLj YPUJiGM7vDb/hFZj7M2bWHGF4akAC0kuwPtU0s80gh/cN/wYmbZWWGNbUYjsul68PE3h hRwOf7f/derBdBRkskCKp4pA23D0n5zaB4HgfoyoXfxjSsK+phFc0tzFFwSMumtkydY6 bdKrobT65mU4cvQxeYVcnnqkaoPp2yYj2kLeqzEzxu97FK4/SMS6KS4V5lwrwTAih3bw Hhfw== X-Gm-Message-State: ALoCoQkGwPUwj2P5999l0dNvLGL/+kkvcYMWB+f9gIaO7ZTiYRHRRpeKwBJx5yR+LnHouIvBZHPN X-Received: by 10.66.191.135 with SMTP id gy7mr25748724pac.95.1416183327675; Sun, 16 Nov 2014 16:15:27 -0800 (PST) Received: from lgwl-achen.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id p2sm15683065pda.7.2014.11.16.16.15.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Nov 2014 16:15:27 -0800 (PST) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_8C41A38A-E961-436B-8FC9-C03DE57BFE0E"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: mips misbehaving, not respecting make.conf From: Warner Losh In-Reply-To: <1416183055.1098.1205.camel@bruno> Date: Sun, 16 Nov 2014 17:15:19 -0700 Message-Id: <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> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.1878.6) 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:15:34 -0000 --Apple-Mail=_8C41A38A-E961-436B-8FC9-C03DE57BFE0E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-7 On Nov 16, 2014, at 5:10 PM, Sean Bruno wrote: > 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. 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? Warner --Apple-Mail=_8C41A38A-E961-436B-8FC9-C03DE57BFE0E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUaT4XAAoJEGwc0Sh9sBEAacwP/0UCJg+vP4BmLk9pvme9rx9Z PUeSC6kSTVVv3IKbZ9VqbcI3AVjGYxEkfSJpCxNm+s/ML1KV4YA598sHuFVAc/9v cJhtrSHWHe8wYKSasIDxD4MFSUt4djP2U4fcmQf4I4JV9ccuH91wd3/3iDdRWOmU zNX0JhVeqLowmYp3QYAkBVlAanKM1Xcm7Un7NO6pgEW4VaeVL0o+mgmldQrz/qTd O3bHz1HboPLpyAw58r9KgMA6gfMnDk3VQA+c6KeaONhzf3PXo+EVmdggco1Yryqj kT2qrFTDcvXxAPeKzS41tpb1eE/5HPJS55UCWek59Wfxnksk8tgRIB+whaNBDPcP UfA9BkmnDwIcNUtz8OUMLnBYwFn9+MFFttM+9Rsq/rQSQy3laVldbY5Wq7Yfi79Z e0vaAtGVY8+3CiT/u/ZTogY8bv2VyyetSo2MN6mCQFY5vze6sPf+HIOxUk1eYSSb 7KF3ibVtwNKEdF/WxFd0N6+qEHJs/vHN0PwyMchXr+vxE15wKsMMJ7u6VzGar4eY aZWM2jI0V9NsWKCcDlMrlfbQClTRP7skHj2TorsllJN4LJriT9uONR/vgbwRQGhh hL/cLIkl4fDv2iD5eGnMDb3xirL3gJXLpHtGohjB4oxNakk+yoeahFaLeGDK6lS4 +S+/sFrIItq3kreEMOZJ =PeTh -----END PGP SIGNATURE----- --Apple-Mail=_8C41A38A-E961-436B-8FC9-C03DE57BFE0E--