forked from pool/glibc
This commit is contained in:
parent
502561a1bc
commit
4a1755eb7b
@ -103,6 +103,11 @@ Mon Dec 2 14:02:08 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
|||||||
|
|
||||||
- Add support for loongarch64
|
- Add support for loongarch64
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 07:42:01 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Apply libc_nonshared.a workaround also on s390x and ppc64le (bsc#1231051)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 30 20:56:18 UTC 2024 - Stanislav Brabec <sbrabec@suse.com>
|
Mon Sep 30 20:56:18 UTC 2024 - Stanislav Brabec <sbrabec@suse.com>
|
||||||
|
|
||||||
@ -168,6 +173,12 @@ Tue May 28 07:27:01 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
|||||||
|
|
||||||
- Obsolete glibc-locale-base-<targettype> from glibc-<targettype>
|
- Obsolete glibc-locale-base-<targettype> from glibc-<targettype>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 23 11:31:34 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Add workaround for invalid use of libc_nonshared.a with non-SUSE libc
|
||||||
|
(bsc#1221482)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 21 09:44:46 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
Tue May 21 09:44:46 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
39
glibc.spec
39
glibc.spec
@ -781,6 +781,45 @@ echo 'CFLAGS-.os += -fdump-ipa-clones' \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
make %{?_smp_mflags} %{?make_output_sync}
|
make %{?_smp_mflags} %{?make_output_sync}
|
||||||
|
|
||||||
|
%if %{build_main} && !0%{?is_opensuse}
|
||||||
|
%ifarch x86_64 i686 s390x ppc64le
|
||||||
|
# Horrible workaround for bsc#1221482
|
||||||
|
%ifarch x86_64 i686
|
||||||
|
archsub=x86
|
||||||
|
%endif
|
||||||
|
%ifarch s390x
|
||||||
|
archsub=s390
|
||||||
|
%endif
|
||||||
|
%ifarch ppc64le
|
||||||
|
archsub=powerpc
|
||||||
|
%endif
|
||||||
|
xstatbuild ()
|
||||||
|
{
|
||||||
|
gcc -O2 -I ../sysdeps/unix/sysv/linux/$archsub -xc - -c -o $1stat$2.oS <<EOF
|
||||||
|
#include <bits/wordsize.h>
|
||||||
|
#include <xstatver.h>
|
||||||
|
int __$1xstat$2 (int, $3, void *);
|
||||||
|
|
||||||
|
int
|
||||||
|
$1stat$2 ($3 file, void *buf)
|
||||||
|
{
|
||||||
|
return __$1xstat$2 (_STAT_VER, file, buf);
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
ar r libc_nonshared.a $1stat$2.oS
|
||||||
|
}
|
||||||
|
xstatbuild "" "" "const char *"
|
||||||
|
xstatbuild f "" int
|
||||||
|
xstatbuild l "" "const char *"
|
||||||
|
%ifarch i686
|
||||||
|
xstatbuild "" 64 "const char *"
|
||||||
|
xstatbuild f 64 int
|
||||||
|
xstatbuild l 64 "const char *"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user