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 D9CAD1382C5 for ; Wed, 1 Jul 2020 14:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EEBA3E095E; Wed, 1 Jul 2020 14:47:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E645E08F5 for ; Wed, 1 Jul 2020 14:47:59 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo chroot with old glibc Date: Wed, 01 Jul 2020 16:47:45 +0200 Message-ID: <6512197.jJDZkT8p0M@pinacolada> Organization: Gentoo Linux In-Reply-To: <20200701013122.CE9C8E08AE@pigeon.gentoo.org> References: <2061dce3-a6b3-31a7-aed0-c08487fa15ce@apteryx.fr> <5242903.IbC2pHGDlb@pinacolada> <20200701013122.CE9C8E08AE@pigeon.gentoo.org> 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2063924.h6RI2rZIcs"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 69e32ff9-f24b-4271-928e-fbfcac0af2c1 X-Archives-Hash: a110beeaf425bb5ae3381f65c6582fab --nextPart2063924.h6RI2rZIcs Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Am Mittwoch, 1. Juli 2020, 03:30:59 CEST schrieb Thomas Mueller: > > > That's what I did: I found a 2017 stage3 with a still older glibc and > > > managed to upgrade to a 2020 gentoo while masking the last glibc > > > versions. That was tricky because I had to git-checkout intermediate > > > versions of the portage tree in order to deal with the EAPI changes b= ut > > > I have a working chroot now. Thanks. > >=20 > > That's the easy way to do it, yes. > >=20 > > The hard way is to treat this as a cross-compilation problem and bootst= rap > > your own stages from scratch. Instructions would be a bit longer... > >=20 > > Andreas K. H=C3=BCttel >=20 > I have looked through crossdev. Is that what it would take to cross-comp= ile > and bootstrap stages from scratch? >=20 > Could that be done from (instead of an old glibc) musl, uClibc, or FreeBSD > or NetBSD? It could be done from anywhere to anywhere in principle. (Like, building an old-glibc x86 stage on an arm64 machine...) This is how I bootstrapped the first riscv stages. (Yes I know we need newe= r=20 ones...) But I don't claim it was a straightforward process. Took some time. =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart2063924.h6RI2rZIcs 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 iQKTBAABCgB9FiEEfvXn3oIh0KOSEk56rIlrpgb53hIFAl78ohFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdF RjVFN0RFODIyMUQwQTM5MjEyNEU3QUFDODk2QkE2MDZGOURFMTIACgkQrIlrpgb5 3hIUIg/9Fc5aQ3ZTGPObCKgAe3oBYFhWLoXp3hVOJq9GtSNxhUWS9+erqJmpirPO 01yoPv+3OsDsTO0Fa8THYI57Ij+p2vVXEXTzZ3r5ziF7FsAtgMm284eXwlXbb9TS nwntRlBF73f0f1rxZ6kWW3OQr1l0mSRPozJTN4iDCccFO79ZcIwr1/DWJM3YKD5O xkA6TQZT7ZA3Q6SVOfLp2cCpl0+Z4mk2raG1nMBinuM050q6fR1c/sdWI6rqAJdJ qSv5HciYzb5rrauBIq9a0DPBeUHrFw5N+yggcONIpVbeF/qoCFGI5YgeN50suYN7 Zbo/VZRwOvbvw4S6I4Z7xG5EWcdrQ+XuOaUWvAH+JI6hxZqWbe9MWwf8d7XzHmeX G70uUCKGBKkyZqz10tSFvgtEoX6CVTBPLUyXbSBS9IvXAH0bkTDo9ufDO05tgjX8 ZrPDm4NfQagI0po3yJWWr14/fDBTwBBolPhZcerRSzLg3hDcRU7XG+mMzF31mEZL uws9f2mcH7h3Qiy6sIKK3bjGFg4K9XaHaas2n3dvsYf26fdpg3Tt7djtiy/WnY7u ZcC93tX9hnt/vRQBAGBymwoZVv843Z7Y+INXHBZVq+u5jPjAdaClgGW6/zJR4jzA jowU63TcwH6hZE1NMV0scQnOYdq6/XO9OZkm5I2k8J9a1D55Yqc= =2Wmv -----END PGP SIGNATURE----- --nextPart2063924.h6RI2rZIcs--