Re: F42 Change Proposal: Optimized Binaries for the AMD64 / x86_64 Architecture (v2) (self-contained)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 12, 2025 at 12:08:20PM +0100, drago01 wrote:
> On Sunday, January 12, 2025, Vitaly Zaitsev via devel <
> devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > On 10/01/2025 20:28, Aoife Moloney via devel-announce wrote:
> >
> >> Individual packages can provide already optimized libraries via the
> >> glibc-hwcaps mechanism. This approach will be extended to executables.
> >> The package provides an optimized variant of a binary in a different
> >> directory.
> >>
> >
> > So all Fedora packages will take 2x (x86_64-v1, x86_64-v2) disk space? Am
> > I right?
> >
> >
> No, the proposal is not to do that for all packages, it's opt in for the
> ones that benefit.
> 
> 
> > A symlink to small program which replaces the binary in
> >> `/usr/bin`.
> >>
> >
> > What will happen if the system was installed on x86_64-v2 and then
> > copy-pasted to another machine with x86_64-v1? The symbolic link will point
> > to x86_64-v2 binary, which will cause a segmentation fault, resulting in
> > the system not being able to boot.
> 
> 
>  How realistic is that case? If anything it goes in the other direction i.e
> people upgrade their hardware.

In virtual machines with some configs your CPU can be different every time
you boot it depending on what host you run it on. So this scenario could
easily exist, especially with public cloud, in either direction.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux