Do you know how many 64-bit architectures Fedora has?

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

 



Hi

During last few days I fetched over 26 thousand of Fedora package repositories. Plan to go though all spec files and submit some patches mainly related to my aarch64 work.

We live in a world where most of Linux systems are either 32 or 64 bit. But do you know how many 64-bit architectures Fedora and RHEL have?

According to spec files we have at least 8 while current Fedora has 1 primary and 4 secondary ones.

x86-64 is main one which most of developers use for everything
aarch64 is my favourite secondary one
ppc64 is probably fastest one
ppc64le is little endian version of previous
s390x is fridge size mainframe (is such small exist)

Specs also mention ia64 (not supported Itanium), alpha (I have some friends who still own them but do not run), sparc64/sparcv9 (even Debian got rid of sparc support).

But why I write?

Because there are lot of code like:

%ifarch x86_64 ppc64 ia64 s390x sparc64
    USE_64=1
%endif

Where is should be:

%if 0%{?__isa_bits} == 64
 USE_64=1
%endif

Which works since RHEL6 (from what I know). And it automatically covers all 64-bit architectures not only those which maintainer remembers.

So please do me a favour and take a look at your packages and adapt their spec files. Otherwise sooner or later such patch may land in bugtracker but instead I could fix some other package at same time.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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