| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
| |
With gcc-14, the default was quietly raised to include vector extensions.
This makes our stages explode on first-gen hardware...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As mentioned on the mailing list, x86 arch testing needs to be performed
using SSE registers for floating-point math instead of the 387 FPU.
This is a subprofile which provides a generic i686 target with SSE2 and
`-mfpmath=sse`. The use is not just limited to arch testing however as
this is a useful platform for getting maximum performance on late-gen
chips. Per gcc:
> The resulting code should be considerably faster in the majority of
cases and avoid the numerical instability problems of 387 code, but may
break some existing code that expects temporaries to be 80 bits.
Of course modern code has quite the opposite problem, where it does not
expect floating-point variables to be 80 bits.
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/catalyst/pull/12
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
|
|
|
|
|
|
| |
This way both can be picked up from the profile
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
| |
When CHOST is given in the spec file, the subarch is extracted from the triplet.
And that's x86_64 here...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
... which will make them usable on the PlayStation 2. Don't bother
modifying the n64 ABI configuration, since it will never work on the
PS2.
Suggested-by: Fredrik Noring <noring@nocrew.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
|
| |
When CHOST is given in the spec file, the subarch is extracted from the triplet.
Unfortunately that uses aarch64 instead of our arm64 ...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-mabi=elfv2 is default on ppc64le in gcc/glibc toolchain for all
powerpc64le-*-linux-gnu CHOSTS, so we don't need to pass it.
forcing -mabi=elfv2 on ppc64(be) is quite risky, as it's not standard
configuration and not officialy supported by glibc at all.
according to glibc upstream it should be a separate ABI port.
Also many apps/tools assume elfv1 on big-endian, and while fixes are
being upstreamed, we've observed breakage in: openssl[asm], nodejs,
ffmpeg and others.
If we want to ship elfv2 ppc64be stage,
we should define it as separate subarch and strictly put it in experimental.
to my knowledge those subarch definitions are not used by releng yet, so
we will not break anything.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if stage spec sets chost value, code in
catalyst/base/stagebase.py#L76 will derive subarch
value from the frontmost part of CHOST triple.
if such subarch is not defined in toml file, build will fail.
Add generic copy of base subarches defined in CHOST format.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
|
|
|
|
| |
With this, all architecture names match the names of their TOML file.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generated by:
| #!/bin/bash
|
| mkdir -p arch/
|
| for x in catalyst/arch/*.py; do
| [[ $x == *"__init__.py" ]] && continue
|
| arch=$(basename "$x")
| arch="${arch%.py}"
|
| python3 <<-EOF > "arch/${arch}.toml"
| #!/usr/bin/env python3
|
| import toml
| import catalyst.arch.$arch as arch
|
| subarches, arches = arch.register()
|
| s = {}
| setarch = {}
|
| for subarch in subarches.items():
| name = subarch[0]
| data = subarch[1]({})
|
| arch = data.settings.pop("PROFILE_ARCH")
| if arch not in s: s[arch] = {}
|
| if "setarch_arch" in data.settings and \
| "setarch_build" in data.settings:
| if arch not in setarch: setarch[arch] = {}
|
| setarch[arch]["arch"] = data.settings["setarch_arch"]
| setarch[arch]["if_build"] = data.settings["setarch_build"]
|
| del data.settings["setarch_arch"]
| del data.settings["setarch_build"]
|
| hostuseexpand = data.settings.pop("HOSTUSEEXPAND", {})
| hostuse = data.settings.pop("HOSTUSE", {})
|
| s[arch][name] = data.settings
| s[arch][name].update(hostuseexpand)
| if hostuse: s[arch][name].update({"USE": hostuse})
|
| if setarch: print(toml.dumps({'setarch': setarch}))
| print(toml.dumps(s))
| EOF
| done
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
|
|
| |
New minimal start script, moving the original catalyst script to catalyst/main.py.
Add __init__.py's to modules and arch sub-pkgs.
skip __init__.py when loading the modules.
Update the module loading paths for the new locations.
Fix catalyst_support import to new location and specify imported modules.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Run the following command to cleanup whitespace.
for FILE in $(git ls-tree -r --name-only HEAD | grep -v 'bz2$'); do
sed -i 's/[[:space:]]*$//' "$FILE"
done
git checkout COPYING ChangeLog
Reviewed-by: Matt Turner <mattst88@gmail.com>
|
|
|
|
|
|
|
| |
Added temporarily in 2004 (commit b010c1bd) for gcc-3.3.3/nptl. Time to
go.
Fixes https://bugs.gentoo.org/show_bug.cgi?id=449240
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Raúl Porcel (armin76) <armin76@gentoo.org>
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
|
|
|
|
|
|
|
| |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fixes 'HOSTUSER' typo for Pentium M
Adds CHOST for Prescott
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=400829
|
| |
|
|
|
|
|
|
|
| |
softfloat targets are for producing a userland (ie glibc, gcc) that
handles software floating-point emulation in userspace. The alternative
is configuring your kernel to emulate floating-point math, which is
slower but allows you to use a standard "hard float" userland.
|
| |
|
| |
|
| |
|
| |
|
| |
|