From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 12000138206 for ; Mon, 1 Aug 2016 21:21:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC3E921C09C; Mon, 1 Aug 2016 21:21:28 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7B0FE0B3D for ; Mon, 1 Aug 2016 21:21:27 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id x83so27894764wma.3 for ; Mon, 01 Aug 2016 14:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:subject:date:message-id:user-agent:in-reply-to :references:mime-version; bh=nKbfiQtpcmT3i4XSEA3kTB5TTIkfof8inEe6OdNJi9Y=; b=EcwPZmk/FA4zuN72Zu/Bjs7aSleDwaoGO8Vxxdc7UKh2KAq0Fq1COtVNSiJxvNptZg AqItCppVy4ok12V0APfPaPsCOECGD/LE31uSGsHWLykilEh12i40oK+s5VaoHfuPU2qD 91AVqZiZ65KExgEn1S7p17oFJeVypKTKXoxFZdXx8PKHjTYJCazo7TsCh4pTSElmyM9e Zq2Y90UyHoGyJ3pZiH4sJhXt64oUiJV/Kf3sgc0PGpiPQn5fpaYB2OuADo9sKY7wXp7I 3MXs3EA+prcUPIADXAZ+3kmDfufy8UEclW5axyq71O99BRQZMV5edUhy30q5aLZe5vFT 2kyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:reply-to:subject:date:message-id :user-agent:in-reply-to:references:mime-version; bh=nKbfiQtpcmT3i4XSEA3kTB5TTIkfof8inEe6OdNJi9Y=; b=AL9aiXcx/yJffy01FFRehOW2t/mr9vQwQvLDcilmlW5sEtVeeS5NOukOMhFqENQGUb SMISuWvmfSPX74j0iBB6Brp/35I6k9gscr/7VKfGjlb9uIwm4p+4WXlNl1btKhKck80d t7HwpTgs5RehQi9FJasiUNuRu4wqgSx8y9J7afzRlpcP6GJLSvp7RtpbQx1GWme+IRNE yE8Sh12Y6b+AUWZ0Tnf9JHtguXUR6b6Pda1msLVNrM5Oc+QH9lGsrGl/KD1sUUtmWE/q ykH408olTTlXsefI3BKVjEZpdWq6JmGWNYhFq5U+Q1/4sI9jSOQ+rtN9J+yAej/KvBav xPug== X-Gm-Message-State: AEkoous3kuahGzcNR8Fkh07/yIwZxMZwoFjlVHv4bfD6rvzIJWyv8DBZYUG7iT7kXThkUg== X-Received: by 10.28.187.67 with SMTP id l64mr15061418wmf.11.1470086485924; Mon, 01 Aug 2016 14:21:25 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id o142sm18800044wme.20.2016.08.01.14.21.25 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Aug 2016 14:21:25 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [was cross-compile attempt] 32bit chroot Date: Mon, 01 Aug 2016 22:21:20 +0100 Message-ID: <1481327.xS7HCL6891@dell_xps> User-Agent: KMail/4.14.10 (Linux/4.4.6-gentoo; KDE/4.14.20; x86_64; ; ) In-Reply-To: <7581556.2nt05l2rzF@dell_xps> References: <1544697.klPk7OG4O7@dell_xps> <25794541.FjCKaz5n3c@dell_xps> <7581556.2nt05l2rzF@dell_xps> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2297280.K1DnoUcPBv"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 279509d3-da13-411a-bc81-af42ac00262b X-Archives-Hash: 2b89937731bf14ccf48e2caf4cfe6ba6 --nextPart2297280.K1DnoUcPBv Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Monday 01 Aug 2016 18:57:53 Mick wrote: > On Monday 01 Aug 2016 17:32:58 Mick wrote: > > On Monday 01 Aug 2016 12:19:41 waltdnes@waltdnes.org wrote: > > > > What chroot() actually does is fairly simple, it modifies pathn= ame > > > > lookups for a process and its children so that any reference to= a path > > > > starting '/' will effectively have the new root, which is passe= d as > > > > the single argument, prepended onto the path. The current worki= ng > > > > directory is left unchanged and relative paths can still refer = to > > > > files outside of the new root. > >=20 > > Thanks Walter, it's present along with the whole of the 32bit OS fs= : > >=20 > > gentoo-32bit # ls -la /mnt/iso/gentoo-32bit/bin/bash > > -rwxr-xr-x 1 root root 677244 Jan 16 2016 /mnt/iso/gentoo-32bit/bi= n/bash > >=20 > > gentoo-32bit # file /mnt/iso/gentoo-32bit/bin/bash > > /mnt/iso/gentoo-32bit/bin/bash: ELF 32-bit LSB executable, Intel 80= 386, > > version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.= 2, for > > GNU/Linux 2.6.32, stripped > >=20 > >=20 > > Am I missing something in the amd64 kernel to be able to execute 32= bit > > code? > No, I was missing the *whole* of the 32bit fs /lib directory. O_O >=20 > Apologies for the noise. I think libreoffice, chromium and firefox will be compiled in a chroot = from=20now=20 on and then emerged as binaries. This is the difference for libreoffic= e: Sat Aug 29 06:09:09 2015 >>> app-office/libreoffice-4.4.4.3 merge time: 15 hours, 34 minutes and 2 seconds. Sun Sep 13 01:36:03 2015 >>> app-office/libreoffice-4.4.5.2 merge time: 15 hours, 13 minutes and 17 seconds. Sun Nov 29 02:30:04 2015 >>> app-office/libreoffice-5.0.3.2 merge time: 16 hours, 54 minutes and 28 seconds. Sun Mar 27 09:31:20 2016 >>> app-office/libreoffice-5.0.5.2 merge time: 17 hours and 8 seconds. Mon Aug 1 22:17:15 2016 >>> app-office/libreoffice-5.1.4.2 merge time: 1 minute and 31 seconds. (chromium takes even longer!) :-) =2D-=20 Regards, Mick --nextPart2297280.K1DnoUcPBv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJXn71ZAAoJELAdA+zwE4Yetl8H/2jsEk+7rEsy/xUziPk5DcfK WPEM3fN9u4R/J2JSMeUaRk2SSsfZmXGCh5Isia3r/ia61B5FmfooVROoV2KjbzPg Lq9j5YWQ5yJ11Q+35RnK6loaMforbUcyiSrXkH6WyGB6q1FARFuGgPkVoqDnj3qa JUfr6vvxJ/FcqdSrEzZz2n3OkKO62vbsaHZzR0i/tMUne7owUZ9gNqdbqE4FJBhY ltAk+AiEbcXWkUvxeopr1fQYtllWkt3J4ahA+V2KcMXIdQ0A9U1G5mmOaAwloUjx 1qOrVku/zxZvVw/Z8lSBDi2nqmeVzcS4XFBHoq0T7QjtzdlkwOGrDg1z0Km/K4g= =QVa7 -----END PGP SIGNATURE----- --nextPart2297280.K1DnoUcPBv--