mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-07 16:51:41 +01:00
sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 0462479ed59556bc4f3923f4207c748ce4a288a3. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
853fc73c45
commit
72bcdd5570
@ -25,11 +25,17 @@ DIST glibc-2.39-patches-11.tar.xz 192784 BLAKE2B fef42e0bd2a3341f41cac56dc878dcc
|
||||
DIST glibc-2.39.tar.xz 18520988 BLAKE2B 9d98459a2d58401e07c081e0d841935b23998da75a7eb5a7ebd23a1f9ebab99dee623fe166397c1b6c926960c570f62dbca5cb3b5ce84a918adff6b7a15e16bb SHA512 818f58172a52815b4338ea9f2a69ecaa3335492b9f8f64cbf8afb24c0d737982341968ecd79631cae3d3074ab0ae4bc6056fc4ba3ffe790849dc374835cd57e2
|
||||
DIST glibc-2.40-patches-11.tar.xz 227044 BLAKE2B 2a8c799a88596f3fc28bc45fc206f231f628ff83aae242d69e216b65983def35d3aaab282287f1d77cb9d37d10bb71c483815ea83dfb2e47670a4cfcfbd1d92f SHA512 e984e4842951c24cf079e9a6f88771ede0709949402dd9f734cbfdf21ff40ca3d7380c0b9cc0c0d89943b6481adf8c7db2ab4b0ffe57e2e1fa514d925f0db395
|
||||
DIST glibc-2.40.tar.xz 18752204 BLAKE2B 8593cab5b2549b77159b6866fbb40b917e491fd5bc0814f7f85b6529166d78d4583436450c479b86cdfe468304fc4d2a9ba8294230a55dbc4c15e89c3ab6c000 SHA512 33caf91dbfddde6480b7cdf7a68b36aff8c522bfee56160af26af297f1b768668edb08bc4e1a7ff61c64721e3c1d49c347a5dd01c5edd3b914ee6479c8b27885
|
||||
DIST glibc-2.41-patches-11.tar.xz 164656 BLAKE2B 7a70089701269dd04733c92883d2bd3cca00f7cd5f5fa7bea6e20fe416bf40508283796cbd5619b4cbb3176921d489ef38f67925aa5612783fcfeebd8a076efd SHA512 5d9861ee530416c595c48f9ffaccc9b783b264ec0a10772712d1881eec7449c56b4dc82be4f849ecd7d4acfaa9580994a33d12396172dfea028aa58ba00b9be1
|
||||
DIST glibc-2.41-patches-12.tar.xz 168252 BLAKE2B c844fba0871e7aa60af636c0569d01beebd314367081313635598074643449cc047a07b88979d341ba8327ac7becd3aef8b20662c8490565d29c49ade474cb8b SHA512 b780db3e31f3724cc19129bc11f49e4ad649a1a2b8174f990041640c81e03fcda3c5f3c25dffd215c7b1173e5ebb226312af58112e9798ba7254889d7b05f454
|
||||
DIST glibc-2.41-patches-8.tar.xz 139400 BLAKE2B 2023d09d6842a18dd19611e504c643cf866ba28b1d836d5a21f1a34d78f6fe82d6f3d4b76bf9a34dc8b1f12aac632fb85b95c025afbcf164976f30dfd794fe6d SHA512 c41e0a4e6dda014c6540a8178c0bc951e807deacb0cb85d4741b575fd2e9803ab9960b9caa783cf38449cb1452c40a3a0f54844b6c1e8ee47f7340c5f97dd261
|
||||
DIST glibc-2.41.tar.xz 19344868 BLAKE2B 4da62f489ba7a95bb069c2cfea8cf78e4d37e3a5f7e1736239670ba1dca12b69aa77bd00ced078c27d91b1e622c58cbd70258161a9d18c5b3bcc95863b8d744d SHA512 894a3e5a796bc13df30c26a5bfbe4d60b5dbdaac54e7763432235124b547070c7dda88c50584536870cab79183d8cad73a3ac6ed09bfe54fa8482aad07253169
|
||||
DIST glibc-2.42-patches-4.tar.xz 48152 BLAKE2B 82b036226ad1435c99bfb1b4fc87523b92153e26cb4fbc82eeea0a41793bab7fa3c15dd7a02286cfb53e397e76f6978fe5e85022db12724c3f7c65c25598c8a4 SHA512 c34fb13f455e5e040eb45eabbdb97a611fe80634cb32eb23cad08a5ecd349d41a5b99a5aa18850a017ecf1291f21f8295a17e4697b34b000c75693bc0f3c04d7
|
||||
DIST glibc-2.42-patches-6.tar.xz 68328 BLAKE2B dbd03645e280cb25c4922a4c7386dc963f266b70744baae83194ac19a61248148a69f265211620f2aa403aa80c425197c5d8013970f3c5ee0cf1e61d86938fad SHA512 9d920c8bca6a1fc110ab932d07caf3fd8fe0e53e5f9205150b8872c7f89d120868c65c5b8bce806eae9fbc730674fd734d47e9e0bf9ba217bca21e0c13b3218c
|
||||
DIST glibc-2.42-patches-7.tar.xz 69864 BLAKE2B 59c1ec784d49ccce40c14a3b09c3edb7ad557677dc9ab9af526ca27b3716fa3727e10ef34c2c1ea09a9855ec0d8553ce873cbbf75af57e6e0717ef97d1d37def SHA512 9ac6ba2392b76dce2cf39f6e7b054166d0fc07395b7958b9a84bbb1654ae3e3548113e5fe5bfcd4b9000668c4ea07a70c8c1e5688c0e72e613462383222ae48f
|
||||
DIST glibc-2.42.tar.xz 19930508 BLAKE2B 6ffabfe7942034a5a4fb5097679cb47bc3431eb2a3864af07cea0cb6aa5db63fbaf6f026b3c9299e00268058a6762eb21e92499f012d552ed87d65c7ffbd0bbe SHA512 73a617db8e0f0958c0575f7a1c5a35b72b7e070b6cbdd02a9bb134995ca7ca0909f1e50d7362c53d2572d72f1879bb201a61d5275bac16136895d9a34ef0c068
|
||||
DIST glibc-2.42.tar.xz.sig 981 BLAKE2B 890e637c444982b2b07fac4607ce3e9f416c9c7688267ebd135e53878d93db95c609facfa1f347c59f23776cafb4b5df8ffb60235c89be451276202dd676dab2 SHA512 d868220778e98d24aead10a585e6a903892e4d043cd96a404634c8aa03d001d624a46a5c0fe13c86f83f66396a1f360a10990966fe377e98a722914b5087575d
|
||||
DIST glibc-2.43-patches-1.tar.xz 23328 BLAKE2B 4d7d719d234af725861b06eee6b86c269c88386efbd6dc411fa52c196b00541c07247ef8d0e2eea02d0369da0f09c440c8ccef4a03881aad568a84978eecb17e SHA512 33d260fcfe96e5b9bf85bd12cc8f83915b197b1bf512f6c06f8542df01803b1b5152dd2e60723b193ad26885fb1473f750d556a1abfe213d39d6df30ad19b9a1
|
||||
DIST glibc-2.43.tar.xz 20297012 BLAKE2B a764edf3d0d52809aa94cf1a8f73341159d226ecc2a595aa3c9e1d1fd4b2d4eb9a599d70bda8812b73d8ef58b39746efdd34026772e38c0f091fe071d461ea98 SHA512 25765f86bf54a22fc69dd13023ec9be59bd7e1f9d6ea1630cf21851898df2043bb8a01538c4b5fdd06495d0163289362b0768b391b0617f709b89a777168291c
|
||||
DIST glibc-2.43.tar.xz.sig 1018 BLAKE2B 99fb3f296795498f6de8090d537e32d8af0bfa75c7d8145ba4c35ca1b54c281fd2b9cb121886aef1800c0a6e508244914a2de67339d113561a9fc2c515110924 SHA512 6e26f0edee146710bcb73c3890c455e8b479009f99d284c43ea695b73bfe45e4ba47d1460300ce8c7496689b0c21a1c77e6359e005957973648b86755160c8f5
|
||||
DIST glibc-systemd-20210729.tar.gz 1480 BLAKE2B 37722c7579df782d890e44dbab99c3de52ab466eb9de80d82405e9bb5620bf39ffc8c5f466a435bdb86ef6d36dd7019c0736573916bda6c67d02a2581e0ec979 SHA512 efd75af58b50522c28cdac7abd1fc56555bc1bb042512c90d8340c1ec09c5791b3872a305bf83723252bbde5855b75d958c041083457765c4cfd170732d09238
|
||||
DIST glibc-systemd-20210814.tar.gz 1469 BLAKE2B 10fa7bcb46d4fdce9c0ab353cbd30871e9b09a347a13a9c9a3b5777f931aa3c826c158d2e49532c604d4a834f2fab4089b67495fb88d0398945dc50d45ad9ef1 SHA512 5346a9ea459a1e6ccf665389f2a294de1e16f1e3e05cdf07e3dd99ed0e4f6f8b52cc333d4bff3c75ac90ab6ce70cd4ab2b3e126f920ce7979abd6dda56315efc
|
||||
DIST locale-gen-2.00.tar.gz 7738 BLAKE2B cde6de5ba3400aea24d0d5f1b79471f89f09fb747c8e371e38316c7ada92f967e0865f573f23cb353d82419c234724143c0aeca9eb70eb945dfc581cc7491eb1 SHA512 b609fddb9ec5e567c008841fef3390eddb5d6e7699a8271b3b8c0ade1b44b0ac2e5d1daa8b9acabf3432e3b88110b538a96f209b1ad0f9e988b7efce66606dff
|
||||
|
||||
1790
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.41-r10.ebuild
vendored
Normal file
1790
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.41-r10.ebuild
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,7 @@ HOMEPAGE="https://www.gnu.org/software/libc/"
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 x86"
|
||||
SRC_URI="mirror://gnu/glibc/${P}.tar.xz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${P}-patches-${PATCH_VER}.tar.xz"
|
||||
fi
|
||||
|
||||
1790
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.41-r9.ebuild
vendored
Normal file
1790
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.41-r9.ebuild
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -12,7 +12,7 @@ TMPFILES_OPTIONAL=1
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
# Gentoo patchset (ignored for live ebuilds)
|
||||
PATCH_VER=4
|
||||
PATCH_VER=6
|
||||
PATCH_DEV=dilfridge
|
||||
|
||||
# gcc mulitilib bootstrap files version
|
||||
@ -295,7 +295,8 @@ do_run_test() {
|
||||
|
||||
if [[ ${MERGE_TYPE} == "binary" ]] ; then
|
||||
# ignore build failures when installing a binary package #324685
|
||||
do_compile_test "" "$@" 2>/dev/null || return 0
|
||||
CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \
|
||||
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
|
||||
else
|
||||
ebegin "Performing simple compile test for ABI=${ABI}"
|
||||
if ! do_compile_test "" "$@" ; then
|
||||
@ -802,7 +803,7 @@ sanity_prechecks() {
|
||||
if ! do_run_test '#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return syscall(1000)!=-1;}\n' ; then
|
||||
eerror "Your old kernel is broken. You need to update it to a newer"
|
||||
eerror "version as syscall(<bignum>) will break. See bug 279260."
|
||||
die "Old and broken kernel."
|
||||
[[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Old and broken kernel."
|
||||
fi
|
||||
fi
|
||||
|
||||
1808
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild
vendored
Normal file
1808
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1811
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild
vendored
Normal file
1811
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -54,7 +54,7 @@ SRC_URI+=" systemd? ( https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE"
|
||||
SLOT="2.2"
|
||||
IUSE="audit caps cet compile-locales custom-cflags doc gd hash-sysv-compat headers-only +multiarch multilib multilib-bootstrap nscd perl profile selinux sframe +ssp stack-realign +static-libs suid systemd systemtap test vanilla"
|
||||
IUSE="audit caps cet clang compile-locales custom-cflags doc gd hash-sysv-compat headers-only +multiarch multilib multilib-bootstrap nscd perl profile selinux sframe +ssp stack-realign +static-libs suid systemd systemtap test vanilla"
|
||||
|
||||
# Here's how the cross-compile logic breaks down ...
|
||||
# CTARGET - machine that will target the binaries
|
||||
@ -155,7 +155,10 @@ if [[ ${CATEGORY} == cross-* ]] ; then
|
||||
else
|
||||
BDEPEND+="
|
||||
>=sys-devel/binutils-2.27
|
||||
>=sys-devel/gcc-6.2
|
||||
clang? ( || ( ( >=sys-devel/gcc-6.2 )
|
||||
( >=sys-devel/gcc-6.2 >=llvm-core/clang-18 )
|
||||
( >=llvm-core/clang-18 >=llvm-runtimes/libgcc-18 ) ) )
|
||||
!clang? ( >=sys-devel/gcc-6.2 )
|
||||
"
|
||||
DEPEND+=" virtual/os-headers "
|
||||
RDEPEND+="
|
||||
@ -215,6 +218,9 @@ XFAIL_NSPAWN_TEST_LIST=(
|
||||
# These fail if --suppress-sync and/or low priority is set
|
||||
tst-sync_file_range
|
||||
test-errno
|
||||
|
||||
# Fails only in portage. Needs investigation.
|
||||
tst-setvbuf2
|
||||
)
|
||||
|
||||
#
|
||||
@ -295,7 +301,8 @@ do_run_test() {
|
||||
|
||||
if [[ ${MERGE_TYPE} == "binary" ]] ; then
|
||||
# ignore build failures when installing a binary package #324685
|
||||
do_compile_test "" "$@" 2>/dev/null || return 0
|
||||
CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \
|
||||
CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0
|
||||
else
|
||||
ebegin "Performing simple compile test for ABI=${ABI}"
|
||||
if ! do_compile_test "" "$@" ; then
|
||||
@ -468,6 +475,11 @@ setup_flags() {
|
||||
append-ldflags '-Wl,--hash-style=both'
|
||||
fi
|
||||
|
||||
# clang warns about linker flags unused during compilation, but we don't
|
||||
# want that to turn into errors!
|
||||
# Let's turn the warning off entirely since it spams.
|
||||
append-flags -Wno-unused-command-line-argument
|
||||
|
||||
# #492892
|
||||
filter-flags -frecord-gcc-switches
|
||||
|
||||
@ -599,7 +611,7 @@ setup_env() {
|
||||
export glibc__ORIG_CXX=${CXX}
|
||||
export glibc__ORIG_CPP=${CPP}
|
||||
|
||||
if tc-is-clang && ! use custom-cflags && ! is_crosscompile ; then
|
||||
if tc-is-clang && ! ( use clang || use custom-cflags ) && ! is_crosscompile ; then
|
||||
export glibc__force_gcc=yes
|
||||
# once this is toggled on, it needs to stay on, since with CPP manipulated
|
||||
# tc-is-clang does not work correctly anymore...
|
||||
@ -610,9 +622,8 @@ setup_env() {
|
||||
# recover the proper gcc and binutils settings here, at least until glibc
|
||||
# is finally building with clang. So let's override everything that is
|
||||
# set in the clang profiles.
|
||||
# Want to shoot yourself into the foot? Set USE=custom-cflags, that's always
|
||||
# a good start into that direction.
|
||||
# Also, if you're crosscompiling, let's assume you know what you are doing.
|
||||
# Want to shoot yourself into the foot? Set USE="clang" or USE="custom-cflags".
|
||||
# Also, if you are crosscompiling, let's assume you know what you are doing.
|
||||
# Hopefully.
|
||||
# Last, we need the settings of the *build* environment, not of the
|
||||
# target environment...
|
||||
@ -641,26 +652,22 @@ setup_env() {
|
||||
filter-flags '-D_FORTIFY_SOURCE=*'
|
||||
|
||||
else
|
||||
|
||||
# this is the "normal" case
|
||||
|
||||
export CC="$(tc-getCC ${CTARGET})"
|
||||
export CXX="$(tc-getCXX ${CTARGET})"
|
||||
export CPP="$(tc-getCPP ${CTARGET})"
|
||||
|
||||
# Always use tuple-prefixed toolchain. For non-native ABI glibc's configure
|
||||
# can't detect them automatically due to ${CHOST} mismatch and fallbacks
|
||||
# to unprefixed tools. Similar to multilib.eclass:multilib_toolchain_setup().
|
||||
export CC="$(tc-getCC ${CTARGET})"
|
||||
export CXX="$(tc-getCXX ${CTARGET})"
|
||||
export CPP="$(tc-getCPP ${CTARGET})"
|
||||
export NM="$(tc-getNM ${CTARGET})"
|
||||
export READELF="$(tc-getREADELF ${CTARGET})"
|
||||
|
||||
fi
|
||||
|
||||
# We need to export CFLAGS with abi information in them because glibc's
|
||||
# configure script checks CFLAGS for some targets (like mips). Keep
|
||||
# around the original clean value to avoid appending multiple ABIs on
|
||||
# top of each other. (Why does the comment talk about CFLAGS if the code
|
||||
# acts on CC?)
|
||||
# We need to move CFLAGS with abi information into CC etc per glibc upstream
|
||||
# requirement. Keep around the original clean value to avoid appending
|
||||
# multiple ABIs on top of each other.
|
||||
export glibc__GLIBC_CC=${CC}
|
||||
export glibc__GLIBC_CXX=${CXX}
|
||||
export glibc__GLIBC_CPP=${CPP}
|
||||
@ -802,7 +809,7 @@ sanity_prechecks() {
|
||||
if ! do_run_test '#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return syscall(1000)!=-1;}\n' ; then
|
||||
eerror "Your old kernel is broken. You need to update it to a newer"
|
||||
eerror "version as syscall(<bignum>) will break. See bug 279260."
|
||||
die "Old and broken kernel."
|
||||
[[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Old and broken kernel."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cet">Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)</flag>
|
||||
<flag name="clang">Allow building with clang (if proper environment is set). Highly experimental. Disable to auto-force gcc usage.</flag>
|
||||
<flag name="clone3">Enable the new clone3 syscall within glibc. Can be disabled to allow compatibility with older Electron applications.</flag>
|
||||
<flag name="compile-locales">build *all* locales in src_install; this is generally meant for stage building only as it ignores /etc/locale.gen file and can be pretty slow</flag>
|
||||
<flag name="crypt">build and install libcrypt and crypt.h</flag>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user