mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-19 19:31:01 +02:00
sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 62e5153ab8c4f33ab892ba5437d4f17ae72190cf. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
5d7141d141
commit
9f53eb3ac0
@ -25,10 +25,11 @@ 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-6.tar.xz 83980 BLAKE2B ca689782db9f78751d5b5004ee9bf7bd6daf4cf071bb25507e53e4408fdd0331a9f4c82bbe7579e38540fc4d416bd858f76e5655f4e8a87048067fbc5e3c7a17 SHA512 bce972f5e036712e178d0adc97bef17b83a5c5cc3139d689bfc2847bc5e8126ee01250ce41033bc78919a7638965740d54eb431b240a9a32460c433335da968f
|
||||
DIST glibc-2.41-patches-7.tar.xz 96232 BLAKE2B 0d4d22eb467370e9e902278b223545c5a225c990a87b4c2f39db48677301d126d7e69ea2823822ced5c472a9abdf7679c6c0ede88b87e50123a7ac146a98249e SHA512 00fc6f83a28dfae8f17ed50ba19f322d267f3f6d80e5545c317694ce1e2e0e4ebfb922b4fa1d7c854d035a457e968bf8281ccedca8e5347e380fa54b6755aedd
|
||||
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-2.tar.xz 25856 BLAKE2B 26a5a3bdc7985c2193533e883445acac29ea695df30d72b6d9409aa9ec94d39a086eb6c41eb9adfc39e0de78f7ae84e0fa64a955f9866de262179ee40ce4a6b5 SHA512 1526613855b9ca65002c6853f88d77990a1fe9e6f4cc01aca51d67fc4592ed985da8c74a661d304eb8a27c6afc8592da259fe40fa08a824942a9b700942086e6
|
||||
DIST glibc-2.42-patches-3.tar.xz 35164 BLAKE2B 6cbe1102291caefd2e75ba7348a35081d1ad23be7a8a869dc430dd4112976b66f3fc1d1e0819b16b8ff90224b98b97e4592875f21d72bfb5af1808f20192462d SHA512 987fadc5379de8596038f37953d2950821304330946d43e8c87722213220152a7a88d28f96208f82ee7723b90e6adf93261cfa61e4668c0bb95c0f561fdfc0f6
|
||||
DIST glibc-2.42.tar.xz 19930508 BLAKE2B 6ffabfe7942034a5a4fb5097679cb47bc3431eb2a3864af07cea0cb6aa5db63fbaf6f026b3c9299e00268058a6762eb21e92499f012d552ed87d65c7ffbd0bbe SHA512 73a617db8e0f0958c0575f7a1c5a35b72b7e070b6cbdd02a9bb134995ca7ca0909f1e50d7362c53d2572d72f1879bb201a61d5275bac16136895d9a34ef0c068
|
||||
DIST glibc-systemd-20210729.tar.gz 1480 BLAKE2B 37722c7579df782d890e44dbab99c3de52ab466eb9de80d82405e9bb5620bf39ffc8c5f466a435bdb86ef6d36dd7019c0736573916bda6c67d02a2581e0ec979 SHA512 efd75af58b50522c28cdac7abd1fc56555bc1bb042512c90d8340c1ec09c5791b3872a305bf83723252bbde5855b75d958c041083457765c4cfd170732d09238
|
||||
DIST glibc-systemd-20210814.tar.gz 1469 BLAKE2B 10fa7bcb46d4fdce9c0ab353cbd30871e9b09a347a13a9c9a3b5777f931aa3c826c158d2e49532c604d4a834f2fab4089b67495fb88d0398945dc50d45ad9ef1 SHA512 5346a9ea459a1e6ccf665389f2a294de1e16f1e3e05cdf07e3dd99ed0e4f6f8b52cc333d4bff3c75ac90ab6ce70cd4ab2b3e126f920ce7979abd6dda56315efc
|
||||
|
@ -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 sparc 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
|
||||
|
@ -12,7 +12,7 @@ TMPFILES_OPTIONAL=1
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
# Gentoo patchset (ignored for live ebuilds)
|
||||
PATCH_VER=6
|
||||
PATCH_VER=8
|
||||
PATCH_DEV=dilfridge
|
||||
|
||||
# gcc mulitilib bootstrap files version
|
||||
@ -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 ~sparc ~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
|
1776
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r1.ebuild
vendored
Normal file
1776
sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r1.ebuild
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -38,10 +38,10 @@ inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfi
|
||||
DESCRIPTION="GNU libc C library"
|
||||
HOMEPAGE="https://www.gnu.org/software/libc/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
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 ~sparc ~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
|
||||
@ -51,7 +51,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 +ssp stack-realign +static-libs suid systemd systemtap test vanilla"
|
||||
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"
|
||||
|
||||
# Here's how the cross-compile logic breaks down ...
|
||||
# CTARGET - machine that will target the binaries
|
||||
@ -115,6 +115,7 @@ BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-apps/texinfo
|
||||
)
|
||||
sframe? ( >=sys-devel/binutils-2.45 )
|
||||
test? (
|
||||
dev-lang/perl
|
||||
>=net-dns/libidn2-2.3.0
|
||||
@ -930,7 +931,7 @@ src_unpack() {
|
||||
|
||||
use multilib-bootstrap && unpack gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="
|
||||
https://anongit.gentoo.org/git/proj/toolchain/glibc-patches.git
|
||||
https://github.com/gentoo/glibc-patches.git
|
||||
@ -944,12 +945,13 @@ src_unpack() {
|
||||
https://gitlab.com/x86-glibc/glibc.git
|
||||
"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
[[ ${PV} == *.*.9999 ]] && EGIT_BRANCH=release/${PV%.*}/master
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${P}.tar.xz
|
||||
|
||||
cd "${WORKDIR}" || die
|
||||
unpack glibc-${PV}-patches-${PATCH_VER}.tar.xz
|
||||
unpack ${P}-patches-${PATCH_VER}.tar.xz
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}" || die
|
||||
@ -1020,6 +1022,11 @@ glibc_do_configure() {
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
case ${ABI}-${CTARGET} in
|
||||
amd64-x86_64-*|arm64-aarch64-*) myconf+=( $(use_enable sframe) ) ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
[[ $(tc-is-softfloat) == "yes" ]] && myconf+=( --without-fp )
|
||||
|
||||
myconf+=( --enable-kernel=${MIN_KERN_VER} )
|
||||
|
@ -51,7 +51,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 +ssp stack-realign +static-libs suid systemd systemtap test vanilla"
|
||||
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"
|
||||
|
||||
# Here's how the cross-compile logic breaks down ...
|
||||
# CTARGET - machine that will target the binaries
|
||||
@ -115,6 +115,7 @@ BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-apps/texinfo
|
||||
)
|
||||
sframe? ( >=sys-devel/binutils-2.45 )
|
||||
test? (
|
||||
dev-lang/perl
|
||||
>=net-dns/libidn2-2.3.0
|
||||
@ -1021,6 +1022,11 @@ glibc_do_configure() {
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
case ${ABI}-${CTARGET} in
|
||||
amd64-x86_64-*|arm64-aarch64-*) myconf+=( $(use_enable sframe) ) ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
[[ $(tc-is-softfloat) == "yes" ]] && myconf+=( --without-fp )
|
||||
|
||||
myconf+=( --enable-kernel=${MIN_KERN_VER} )
|
||||
|
@ -18,11 +18,18 @@
|
||||
<flag name="multilib-bootstrap">Provide prebuilt libgcc.a and crt files if missing. Only needed for ABI switch.</flag>
|
||||
<flag name="nscd">Build, and enable support for, the Name Service Cache Daemon</flag>
|
||||
<flag name="perl">Install additional scripts written in Perl</flag>
|
||||
<flag name="sframe">enable building with sframe backtrace support</flag>
|
||||
<flag name="ssp">protect stack of glibc internals</flag>
|
||||
<flag name="stack-realign">Realign the stack in the 32-bit build for compatibility with older binaries at some performance cost</flag>
|
||||
<flag name="static-pie">Enable static PIE support (runtime files for -static-pie gcc option).</flag>
|
||||
<flag name="suid">Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5</flag>
|
||||
<flag name="systemtap">enable systemtap static probe points</flag>
|
||||
<flag name="systemtap">
|
||||
Enable enhanced debugging hooks/interface via SystemTap static probe points.
|
||||
|
||||
Note that this isn't exclusive to SystemTap, despite the name. This provides
|
||||
an interface which <pkg>dev-debug/gdb</pkg> optionally uses, see
|
||||
https://sourceware.org/gdb/wiki/LinkerInterface.
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:gnu:glibc</remote-id>
|
||||
|
Loading…
x
Reference in New Issue
Block a user