From: "Hervé Guillemet" <hg@apteryx.fr>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo chroot with old glibc
Date: Sun, 21 Jun 2020 21:43:59 +0200 [thread overview]
Message-ID: <f992562c-da2e-437d-91e6-521cdc0d68d0@apteryx.fr> (raw)
In-Reply-To: <3236503.QJadu78ljV@dell_xps>
Le 21/06/2020 à 19:06, Michael a écrit :
>> I need to distribute some linux binaries and the one built with my
>> up-to-date gentoo sytem won't run on distributions using older glibc.
>>
>> My idea is too maintain a gentoo chroot dedicated for compiling my
>> binaries which would (package.)mask recent versions of glibc and gcc
>> ebuilds.
>>
>> What's the better way to go ? If I start with some of the stage3
>> available for download, I won't be able to downgrade the glibc.
>>
>> Or do you have any suggestion for alternatives to this gentoo chroot ?
>> (I'd prefer avoid installing some CentOS or Ubuntu as virtual guests).
>
> Once you chroot, you're in the chrooted env. As long as you have a stage 3
> old enough to contain the requisite glibc, you should be good to go:
>
> http://gentoo.osuosl.org/releases/amd64/
>
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 but
I have a working chroot now. Thanks.
--
Hervé
next prev parent reply other threads:[~2020-06-21 19:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 21:19 [gentoo-user] Gentoo chroot with old glibc Hervé Guillemet
2020-06-21 17:06 ` Michael
2020-06-21 19:43 ` Hervé Guillemet [this message]
2020-06-21 20:03 ` Michael
2020-06-21 22:52 ` Hervé Guillemet
2020-06-30 8:26 ` Andreas K. Huettel
2020-06-30 16:29 ` Laurence Perkins
2020-07-01 1:40 ` [gentoo-user] Grub: for the love of almighty Zardoz the magniicent Alan Grimes
2020-07-01 8:15 ` Neil Bothwick
2020-07-01 8:45 ` Michael
2020-07-02 4:20 ` Alan Grimes
2020-07-01 1:30 ` [gentoo-user] Gentoo chroot with old glibc Thomas Mueller
[not found] ` <20200701013122.CE9C8E08AE@pigeon.gentoo.org>
2020-07-01 14:47 ` Andreas K. Huettel
2021-01-04 11:57 ` Thomas Mueller
[not found] ` <20210104115748.50A5EE0930@pigeon.gentoo.org>
2021-01-08 23:37 ` Andreas K. Hüttel
2020-06-21 21:08 ` Rich Freeman
2020-06-21 22:34 ` Hervé Guillemet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f992562c-da2e-437d-91e6-521cdc0d68d0@apteryx.fr \
--to=hg@apteryx.fr \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox