Commit Graph

97 Commits

Author SHA1 Message Date
zhangwenlong 7a014dae73
Add support for loongarch64
* add support for loongarch64

Signed-off-by: Zhang Wenlong <zhangwenlong@loongson.cn>
2022-01-18 17:16:54 +01:00
Peter Robinson 8ab279ae6b Remove problematic sub variants of armv8 and related
This is a partial revert of b1f81b837f

The ARMv8 aarch32 variant specifies a number of required and optional
components. NEON is a required component of ARMv8 devices so we don't
need the 'n' variant that was added in ARMv7 (and never widely used due
to problems). The 'c' crypto variant shouldn't be added. The use of
the crypto extensions to by ARMv8 HW is many and varied and there's no
means of dealing with it at a package/compile extention so the detection
and use of it is done at runtime and handled via a number of different
mechanisms whether in code or via kernel crypto modules and the use of
libkcapi allowing the device to choose the fastest crypto option for
the use case.

This is actively breaking Fedora and related distributions on newer
generations of hardware actively stopping the actual install of an OS
in some extreme cases. This architecture functionality needs to be
reviewed by the architecture maintainers to ensure that active breakage
doesn't happen.

Fixes RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1691430

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2019-10-24 11:22:12 +03:00
Peter Robinson 0da3c50d1f Revert "rpmrc: Add architecture compatibility mapping between aarch64 and arm64"
This reverts commit 236d6f5a2b.

This change is fundamentally wrong. arm64 is a catch all that covers the
naming but rpm uses "uname -m" to detect the actual architecture. The aarch64
nonclamenture specifies the ISA (Instruction Set Architecture) for the 64-bit
variant of the Arm architecture which was first supported with ARMv8.

Because all 64-bit variants of ARMv8 use aarch64 the arm64 would never be
used in rpm. If it's useful in some context while using some Debian related
tools those tools should have some translation added there. This just adds
confusion and causes issues and duplication that haven't been necessary in
any of the arch64 work up until now.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2019-10-24 11:22:12 +03:00
Bernhard Rosenkränzer b1f81b837f Add armv8* arch variants to rpmrc.in and %arm macro
armv8* is aarch64 machines in 32-bit mode
Also fix %arm macro to include newer processor types

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
2018-10-01 15:48:56 +03:00
Neal Gompa 236d6f5a2b rpmrc: Add architecture compatibility mapping between aarch64 and arm64
AArch64 has another common name for the architecture: arm64. And while compilers,
the kernel, and RPM use "aarch64", a number of language ecosystems use "arm64".

In addition, Debian packages use the "arm64" architecture name to refer to "aarch64",
and AArch64 packages that are translated from DEB to RPM format tend to not be
installable because there's not a sufficient architecture mapping.

This change adds the "arm64" identifier as an alias for "aarch64" so that this works
as expected, rather than breaking on unknown architectures.
2018-02-19 12:35:16 +01:00
Neal Gompa b4b8f33e07 Fix the armv5tl arch compatibility list 2017-05-11 13:29:10 +02:00
Neal Gompa d7876d27df Add armv5tl support 2017-03-22 14:10:27 +02:00
Richard W.M. Jones d9d47e0114 RISCV 64-bit (riscv64) support.
Based on Mark Salter's aarch64 support patch (commit 8e1ca16c58).

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2016-08-22 21:16:48 +01:00
Michal Toman cd02e0675e Add support for MIPS release 6 - Add mips32 mips64 mipsel and mipseb macros 2016-02-19 12:06:39 +01:00
Michal Toman a450ffc4ab Add support for MIPS platform 2015-07-15 10:05:55 +02:00
Lubomir Rintel 2d67ca74c9 Detect arm armv6hl, armv7hl and armv7hnl machines
Read presence of relevant extensions from hwcap. Loosely based on what's
currently in use for Fedora (armv7hl) and Pidora (armv6hl).

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2014-06-27 10:26:06 +03:00
Panu Matilainen b08e63f508 Dont mess with PPC character signedness (RhBug:1085127)
- Overriding architecture default ABI is not something rpm upstream
  should do, such decisions belong to distro level.
- -fsigned-char was originally added in back in 1997 with little
  fanfare in commit 3cb5b141d5, for
  whatever it is worth...
2014-05-07 12:56:33 +03:00
Andreas Schwab bc66cb3480 Add support for m68k
Tested on m68k-suse-linux.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2014-03-24 10:37:58 +02:00
Tony Breeds cf07feda05 Update support to installplatform and rpmrc for ppc64le
IBM recently announced the OpenPOWER Consortium, part of this initiative
means now powerpc hardware can run the little endian mode.  Create a new
platform for that mode of opperation.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2013-08-21 10:19:03 +03:00
Mark Salter 8e1ca16c58 AArch64 support v2
Here is my updated patch adding AArch64 support. The main change was to
use CANONCOLOR=3 rather than 2.

--Mark

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2013-03-05 06:45:08 +02:00
Panu Matilainen d6add031f1 Accept em64t architecture as an alias for x86_64 (RhBug:800489)
- Some vendors insist on calling their x86_64 packages "em64t" instead
  of the more standard x86_64. Minimally support this naming convention
  as those packages aren't going away anytime soon - be liberal in
  what you accept and all, sigh.
2012-08-07 11:29:03 +03:00
Phil Knirsch f9eedd7f69 - Add support for ppc64p7 architecture using new auxv parsing info
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2012-04-17 09:26:03 +03:00
Ales Kozumplik b714dcea37 rpmbuild: warn if header color differs from color of the package architecture.
- For example, warn when building an x86_64 package that only contains 32
  bit binaries.
- This should indicate to the maintainers that they might have gotten the
  architecture wrong.
- Introduces 'archcolor' in rpmrc so we can map architectures to colors.
- Related: RhBug:713323
2012-03-30 13:55:03 +02:00
Jindrich Novy 4c23ebdb81 Use -mtune instead of -mcpu (rhbz#493696) 2009-04-02 20:49:48 +02:00
Alexandr D. Kanevskiy d55660aaf0 Added ARMv7 architecture support 2009-01-26 10:53:43 +02:00
Jindrich Novy be651d9876 Increase IEEE-compliance of floating point code for SH platform
- thanks to CHIKAMA Masaki
2008-10-22 09:28:38 +02:00
Panu Matilainen 61189cb868 Add super-H arch support (rhbz#432496)
Patch from Masaki Chikama
2008-03-04 08:16:02 +02:00
Panu Matilainen 240b2d3441 Add support for Geode CPU (rhbz#428979)
Patch from Dennis Gilmore
2008-01-19 11:40:59 +02:00
Panu Matilainen 3ba25ca399 Add Sparc Niagara support (rhbz#263521)
Patch from Dennis Gilmore.
2007-09-05 16:11:04 +03:00
Ralf Corsépius 277cf2f420 Remove little useful comments. 2007-09-05 07:08:11 +02:00
Panu Matilainen 90c4d4e2d6 Drop macrosfiles from rpmrc.in, we don't read it anymore 2007-08-30 21:32:25 +03:00
Panu Matilainen b0fcfbb19b Couple of ARM-related typo fixes from Lennert Buytenhek. 2007-08-06 14:47:43 +03:00
Panu Matilainen 82885665ce ARM arch update.
Adds more ARM sub-archs, and adds some bits to deal properly with the new
ARM ABI (EABI). Patch from  Lennert Buytenhek.
2007-06-21 15:13:04 +03:00
pauln 77ec466ecb fix buildarchtranslate for ppc64
CVS patchset: 7854
CVS date: 2005/05/19 17:26:53
2005-05-19 17:26:53 +00:00
jbj 5732d3daae - build against external/internal neon.
CVS patchset: 7692
CVS date: 2005/01/09 17:48:19
2005-01-09 17:48:19 +00:00
jbj 6da6f7fc0a - mac os x patches (#131943,#131944,#132924,#132926).
CVS patchset: 7671
CVS date: 2005/01/04 17:46:10
2005-01-04 17:46:10 +00:00
jbj 43fc25d787 - sparcv8: optflags changed to -mtune=ultrasparc (#140420).
CVS patchset: 7593
CVS date: 2004/11/22 21:41:28
2004-11-22 21:41:28 +00:00
jbj a36aa761ec More changes from rpm-4_3 branch.
CVS patchset: 7441
CVS date: 2004/10/09 20:22:01
2004-10-09 20:22:01 +00:00
jbj ee7456cc9f - add ppc8[25]60 arches.
CVS patchset: 7343
CVS date: 2004/06/16 17:48:07
2004-06-16 17:48:07 +00:00
jbj 86700899e6 - add aurora/sparc patches (#124469).
CVS patchset: 7252
CVS date: 2004/05/26 21:10:07
2004-05-26 21:10:07 +00:00
arekm 12e86b2c5f buildarchtranslate p3/p4 to i386 as it's on other cases (athlon/i686/i586)
CVS patchset: 7205
CVS date: 2004/03/28 20:10:54
2004-03-28 20:10:54 +00:00
arekm b07c0fbce4 pentium3/pentium4 support by Pawe³ Sikora <pluto/at/pld-linux.org>.
Modified Files: installplatform macros.in rpmrc.in lib/rpmrc.c lib/rpmts.c

CVS patchset: 7198
CVS date: 2004/03/28 02:41:32
2004-03-28 02:41:32 +00:00
jbj 11507f2cf4 - add sparcv8 and enable elf32/elf64 Zon sparc64 (#117302).
- fix: --querybynumber looped.

CVS patchset: 7161
CVS date: 2004/03/10 23:01:46
2004-03-10 23:01:46 +00:00
jbj 5ef0bf77c2 - permit globs in macrofiles: directive (#117217).
CVS patchset: 7139
CVS date: 2004/03/02 01:31:01
2004-03-02 01:31:01 +00:00
jbj 4eea80d22a - add ia32e arch.
CVS patchset: 7116
CVS date: 2004/02/22 20:24:13
2004-02-22 20:24:13 +00:00
jbj 752cac72e2 - only internal Berkeley db from now on.
- revive "make dist".

CVS patchset: 6971
CVS date: 2003/12/11 19:09:58
2003-12-11 19:09:58 +00:00
jbj 3182fc3777 - don't attempt to remove dbenv on --rebuilddb.
- autorelocate ix86 package file paths on ia64.

CVS patchset: 6925
CVS date: 2003/07/02 19:26:04
2003-07-02 19:26:04 +00:00
jbj f5c14e57bc Consolidate external beecrypt changes.
CVS patchset: 6880
CVS date: 2003/05/30 16:58:13
2003-05-30 16:58:13 +00:00
jbj b91db5522b - fix: obscure corner case(s) with rpmvercmp (#50977).
CVS patchset: 6004
CVS date: 2003/01/10 20:34:26
2003-01-10 20:34:26 +00:00
jbj a972f919a6 - apply patches 7 and 8 to db-4.1.24.
- upgrade to elfutils-0.59.
- add -g to all platforms optflags.

CVS patchset: 5899
CVS date: 2002/11/27 01:28:55
2002-11-27 01:28:55 +00:00
jbj d0ccee051f - fix: use size_t consistently, avoid segfault on ia64.
CVS patchset: 5760
CVS date: 2002/10/09 19:07:43
2002-10-09 19:07:43 +00:00
jbj 6c4025a55b up2date functional on rpm-python-4.1 bindings.
CVS patchset: 5558
CVS date: 2002/07/18 21:42:18
2002-07-18 21:42:18 +00:00
jbj 4252cddc29 Establish mechanism for up2date to reconfigure rpmlib.
Disambiguate failures to import with error messages.

CVS patchset: 5528
CVS date: 2002/06/28 00:35:57
2002-06-28 00:35:57 +00:00
jbj 0a7481d0f7 - make sure that rpm can verify prelinked shared libraries.
- don't install /usr/lib/rpm/redhat per-vendor configuration anymore.

CVS patchset: 5512
CVS date: 2002/06/20 02:19:21
2002-06-20 02:19:21 +00:00
jbj 4008c689df Enable CDB access as default.
Remove unused int from dbiIndexSet.

CVS patchset: 5443
CVS date: 2002/05/21 16:33:33
2002-05-21 16:33:33 +00:00