From owner-freebsd-arch@FreeBSD.ORG Wed Jul 9 03:50:03 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C945ECAE for ; Wed, 9 Jul 2014 03:50:03 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (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 92ABD2A99 for ; Wed, 9 Jul 2014 03:50:03 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id rd3so8434142pab.18 for ; Tue, 08 Jul 2014 20:49:57 -0700 (PDT) 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=qe734N/iNy7GyFJ6utRVQHXVZRIOa/GL3wdodLCDfI0=; b=cWiePnZmpNSRZLmybyg7x67IOYbsQ4k2eYox97nOR2Wi54+ZzipPaIdxxfsshpyIS1 jooTlISKajZEgg4NTV+mLp568qkbQhDUQxwppcIn2ejFlFAGHZkwMRn/pq8WrZMM2aPv TJ94/kVuR1OyWm4fjd1dttdh18xkiwOBZSpLexbJ2LcATLpx6fipkvnidFqndESo1obg csu1MqrUmQcQoL2XW9Du+UXMmHjt3WD+vFMX4Qrdx9buoHqTJo9DLyHVObampmJ1WhMt uQidBlKyWu+smFWbnci7VOJOMxh44GnqrQ5rnuD7YQzvISTsh9G46y1W4qDZfivELqjb eVkA== X-Gm-Message-State: ALoCoQkpZbOuXplSJ+oPD0HTitGMFo2FC/pTb90J9LTrydK+GWVc3k3BseRT9ETFTYMU0KKEZGn1 X-Received: by 10.68.143.231 with SMTP id sh7mr3686250pbb.7.1404877797569; Tue, 08 Jul 2014 20:49:57 -0700 (PDT) Received: from [10.64.24.152] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id yv7sm210491393pac.33.2014.07.08.20.49.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 20:49:56 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_9BD3EEEA-BFC7-497A-ADBE-425C5D696B27"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Total confusion over toolchain/xdev behavior From: Warner Losh In-Reply-To: <1404876369.1662.45.camel@bruno> Date: Tue, 8 Jul 2014 21:49:58 -0600 Message-Id: <96AB65AF-F86F-4E35-8F94-8BE6730B28F9@bsdimp.com> References: <1404688077.1059.115.camel@bruno> <1404766292.65432.43.camel@revolution.hippie.lan> <20B72004-1499-4F99-A7C7-13173C50C7C6@bsdimp.com> <1404831829.1662.7.camel@bruno> <1404835471.1662.13.camel@bruno> <1404842719.1662.15.camel@bruno> <1404851278.1662.17.camel@bruno> <7CB79988-8221-4F00-AB79-FB24EB3CEF66@bsdimp.com> <1404854676.1662.29.camel@bruno> <9733B60C-5EDA-44A5-9D36-E62433DB8949@bsdimp.com> <98B42676-50A8-4034-995A-ACA9DCE83094@bsdimp.com> <1404865220.1662.42.camel@bruno> <1404876369.1662.45.camel@bruno> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 03:50:03 -0000 --Apple-Mail=_9BD3EEEA-BFC7-497A-ADBE-425C5D696B27 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1251 On Jul 8, 2014, at 9:26 PM, Sean Bruno wrote: > On Tue, 2014-07-08 at 17:20 -0700, Sean Bruno wrote: >>>>>> That=92s from _xi-links target (the last one!). You can safely = ignore it. >>>>>>=20 >>>>>> Something like the following would also eliminate the warning. = Just not too sure about it. You may also need to define = WITH_INSTALL_AS_USER=3Dt. >>>>>>=20 >>>>>> Warner >>>>>>=20 >>>>> Ah crap, is there were I need "XDTP" defined or something? >>>>=20 >>>> Maybe=85 But it looks like it is still trying to do the links, so = I must have messed up something in the patch=85 >>>>=20 >>>> And the links look kinda sketchy to me like it is reaching outside = the /usr/mips-freebsd area directly into /usr/bin, which won=92t matter = for what you are trying to do=85 You don=92t need mips-freebsd-cc = binaries in the chroot=85 though you might want different symlinks from = your chroot=92s /usr/bin/cc to /usr/mips-freebsd-cc/usr/bin/cc, etc. >>>>=20 >>>> Warner >>>=20 >>> Try this instead: >>>=20 >>> Warner >>>=20 >>=20 >>=20 >> Ok, thanks to you guys for bearing with me. It looks like I can get = the >> xdev target to compile utilizing this patch + dim's >> libproc-no-cxx-1.diff and bapt's orginal patch to bsd.src.mk with the >> following command: >>=20 >> make -s -j8 xdev MAKEOBJDIRPREFIX=3D/var/tmp = XDDESTDIR=3D/var/tmp/mips_cc >> XDEV=3Dmips XDEV_ARCH=3Dmips WITHOUT_CXX=3Dt >>=20 >> I'm going to try a couple of other arch's and see what else lies = within. >>=20 >> sean >>=20 >> _______________________________________________ >=20 >=20 > Final results of the day: >=20 > For non-clang arches, mips, mip64, sparc64: > make -s -j8 xdev MAKEOBJDIRPREFIX=3D/var/tmp = XDDESTDIR=3D/var/tmp/sparc64_cc > XDEV=3Dsparc64 XDEV_ARCH=3Dsparc64 WITHOUT_CXX=3Dt >=20 > For clang arches armv6: > make -s -j8 xdev MAKEOBJDIRPREFIX=3D/var/tmp = XDDESTDIR=3D/var/tmp/armv6_cc > XDEV=3Darm XDEV_ARCH=3Darmv6 >=20 >=20 > All four arches selected compile and put "stuff" and "things" into > XDDESTDIR and build as nonroot using the combined patches from dim, = imp > and bapt. =20 >=20 > What do you folks want to do next with the Mk changes in these = patches? Let=92s try to get the changes reviewed to make sure we=92re not = stepping on each other=85 Why don=92t you kick that off with phabric = reviews? Warner --Apple-Mail=_9BD3EEEA-BFC7-497A-ADBE-425C5D696B27 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 iQIbBAEBCgAGBQJTvLvmAAoJEGwc0Sh9sBEAHFsP+OTrBJba4rB5qA7kbpMcyzkG Pt1/AVOrR8HuJ2bDyEOksnu2DNkBpO30sX1N6i74ZWGEvdD7Gz5Z+cvsg/N7aypV XCMTIjDW7AyNFRRcLW4GGMwDLsdihoO9eXElnnIsocSToA+HMojPHOJ0u1hpIZoq FjVuLA08qghpZiQCI8Q8HeeAlGY2KcJAt4Co+Ale0LV7tm7opdIwdtVJE7XiR4ca kKeAEW0cd6MpxoSBxxcuzVdqPSEmWiXJRtGX3UtXIJNMbnuYSzFHQx/6jYx8HkVt My8dQ4+gFYDTTfF91fLXOkoeL3+xQmXCmfl69DafAUYQsuzeOP5xu9MTHNAndxG3 yyDAcKncqzdLFwj4Dqx8E67/AKvYsxP4tEWGivVaFbHEzc4xyulrIGO9iJrMwwBM wgs1IiEeSic6GiRsElImTSD9N7NtlMKISnkhj3uGm90Nfbkv7dZKuQyjcg/ujyWx Xeip1H1o2hvMvjiWvtVJOrfQDn53fMlCwdsv+8h1OXM+jiWmLg4wYcLw7mtBMP+5 Ng4NYjZzAwVtg5AoRMNdlKUyI7gYHdkKfkZdHd05X2j5dKUbizeJbCcyll0y6TYf TT2gn75iSInxwtFQWUq8YWIsI3wc/D/UaV2lpQjOV7OxU05598G4E2OiBDLGC8Cs THM2hvFIjE79c5Vp9Y8= =3DAu -----END PGP SIGNATURE----- --Apple-Mail=_9BD3EEEA-BFC7-497A-ADBE-425C5D696B27--