Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759358 - sys-libs/glibc: Explicitly opt in to bootstrap binaries
Summary: sys-libs/glibc: Explicitly opt in to bootstrap binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-10 15:34 UTC by Luke-Jr
Modified: 2020-12-11 09:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2020-12-10 15:34:59 UTC
On multilib systems, glibc downloads a set of pre-built binaries for bootstrapping.

I'm not sure why these are needed (it should be possible to cross-compile them), but at the very least, it would be nice if they were explicitly opted into.

They're already not used on existing multilib systems, so this would also spare users the download that get ignored.

(USE=build might fit?)
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-10 18:09:27 UTC
The binaries are only used for moving from smaller set of ABIs to larger set of ABIs. Usually from 'amd64' to 'x86 amd64' or equivalent. They are not used on a steady system (unless it's broken).
Comment 2 Luke-Jr 2020-12-11 00:58:32 UTC
(In reply to Sergei Trofimovich from comment #1)
> The binaries are only used for moving from smaller set of ABIs to larger set
> of ABIs. Usually from 'amd64' to 'x86 amd64' or equivalent. They are not
> used on a steady system (unless it's broken).

Yes, I already acknowledged that :)
Comment 3 Larry the Git Cow gentoo-dev 2020-12-11 09:09:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f1a6b113a4d96883f46987cd4952cfa4a5cca8

commit 30f1a6b113a4d96883f46987cd4952cfa4a5cca8
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-11 09:07:32 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-11 09:09:01 +0000

    sys-libs/glibc: make mutilib bootstrap files optional
    
    The binaries are only used for moving from smaller set
    of ABIs to larger set of ABIs. Usually from 'amd64' to
    'x86 amd64' or equivalent.
    
    They are not used on a steady system (unless it's broken).
    
    Let's make them optional for live ebuild first and pick up
    for next glibc release.
    
    Reported-by: Luke-Jr
    Closes: https://bugs.gentoo.org/759358
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 8 ++++----
 sys-libs/glibc/metadata.xml      | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)