From owner-freebsd-arch@FreeBSD.ORG Tue Jul 8 03:19:43 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 E9A71574 for ; Tue, 8 Jul 2014 03:19:42 +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 B8A912216 for ; Tue, 8 Jul 2014 03:19:42 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kq14so6489616pab.20 for ; Mon, 07 Jul 2014 20:19:36 -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=91d2SnteREsP71pAXyezqiOqFs0RKbNTw/FsAPVfzzY=; b=etvLxRAZptm4c+AjlDZ55PyZ4p09FcpSaQh7NMEoyW5q+0CUcPFHnmLzbjwVgjBe2X Zkyh6Ccw3NTG22IrpVnpeWEXiFsVVjy/tx/dgAGek/K4hOQzwtVmIRA0Tviq/IlhCbRm qblAvbu1zDhz8ywu6LsEfWsXjELEY1mEkf/TdYX/t11vhQ1SMixj/Q94lZO6lydFwIfO XkUPsySL+qdTs9wlOfpUQVRsiwyPBN/Ikzqg6KqTeJ+3VK1kxOGJP5vl6Ry8dcPG1k7N zlt8M7xs3T6jvF2f9Mc8wid08FbqSMdJco+LRE5vi/Ej9N/arGXPDvDjWzi5YRpW9HZH eecg== X-Gm-Message-State: ALoCoQmrajjy+SQPfsEQxGLforJk2pXm8IBk9R1yYHAPBucRV9Xiza5noCNHpKQJEPwtly8GPGwC X-Received: by 10.67.16.67 with SMTP id fu3mr32449803pad.38.1404789576004; Mon, 07 Jul 2014 20:19:36 -0700 (PDT) Received: from [10.64.24.152] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id ce9sm22296819pdb.49.2014.07.07.20.19.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Jul 2014 20:19:35 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_78CDEAC4-A7AD-4B60-ACB0-8C4B880A5143"; 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: <2788FB1E-9498-40C2-94DE-F4C73A5DDD30@kientzle.com> Date: Mon, 7 Jul 2014 21:19:33 -0600 Message-Id: <9356CE3E-1249-4318-8946-644FDD817CDF@bsdimp.com> References: <1404688077.1059.115.camel@bruno> <2788FB1E-9498-40C2-94DE-F4C73A5DDD30@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arch@freebsd.org 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: Tue, 08 Jul 2014 03:19:43 -0000 --Apple-Mail=_78CDEAC4-A7AD-4B60-ACB0-8C4B880A5143 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jul 7, 2014, at 8:59 PM, Tim Kientzle wrote: >=20 > On Jul 6, 2014, at 4:07 PM, Sean Bruno wrote: >=20 >> Objective: install an xcompile toolchain into a jail for use by >> poudriere during arm/mips/sparc/power ports pkgs builds. The build >> should be possible from a non-root user. I just re-read this=85 So why doesn=92t the following work: make buildworld TARGET=3Dfoo make installworld TARGET=3Dfoo DESTDIR=3Droot-of-jail = WITH_INSTALL_AS_USER=3Dt to generate a jail that you can use? Or are you trying to get a native = cross compiler into the jail? neither toolchain nor xdev will fit your needs, I fear... Or, in gcc terms, you=92d like to build host =3D=3D build =3D=3D = arch-of-the-silicon-of-the-mahine, target =3D=3D mips or something? Warner --Apple-Mail=_78CDEAC4-A7AD-4B60-ACB0-8C4B880A5143 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 iQIcBAEBCgAGBQJTu2NFAAoJEGwc0Sh9sBEADX0P+wWfS5pD2iQZyXnSMd3un68S /qvfEUlqZ19lLGCGte67ZRxbigeN8J7Bdd4kSKiN+r0oEUVK5L3ckW/y54A3YKi2 0tu0S/Horta+t9AvIAJGLo5zJx+BVDX4l59DpYUDzhBA/yA4Lb9uwuQ1A6mTKlBj dt9ougoG0EEBv5Yx5eJyV00MUbeUmoaA93mkVGRFYJvZRxGpZ4s4u6umX3XoI4Gt l9SGJyAOo8+DPIedsT1QXzOim9StN3vY6THMG9IvU9yUd2IikMWIwJHxsZficmHQ gQvGHze0/RsKxH5wCFrmmJZ1ZKgiud4Za33agC/Z+4+6Pb14zojDKJdG1YEa8FQ1 OWA0XcAMfRk8Fv8756agEKmidPqXCuNUAvtbTrOrzVosk5tsP6XwsoudW4R2YGeE OQgDV9bTXIh5hQKKefJ67WWiQpS8njLoUAdCz8PN5vcA0IQHfLsKgy1Qk6pCqg/h emwLqT0gOtT6xRv3p8wgf4N9HTLf0NLcWqsXwyAtaE3jkRyzox4XdcrM5zG9/pQS yJ5JUmk+vbGgr0EHbh7th8f05G5gnESsry6DuR0neTEtmUbtxyu/xEoz9SzA919N QoIl8FObaMNvZHrrtQw43jfANVmb2gltxhWqI9W0PusK9JOFeLckTq8kGwyCv80s /dOu1pSMapjGW6/BwqZU =69aU -----END PGP SIGNATURE----- --Apple-Mail=_78CDEAC4-A7AD-4B60-ACB0-8C4B880A5143--