Pre Merge pull request !4 from huajingyun/a8-dev
This commit is contained in:
commit
770d92dee5
2 changed files with 16432 additions and 1 deletions
16411
0001-Add-LoongArch-support-for-glibc-2.28.patch
Normal file
16411
0001-Add-LoongArch-support-for-glibc-2.28.patch
Normal file
File diff suppressed because it is too large
Load diff
22
glibc.spec
22
glibc.spec
|
@ -1,4 +1,4 @@
|
||||||
%define anolis_release .0.1
|
%define anolis_release .0.2
|
||||||
%define glibcsrcdir glibc-2.28
|
%define glibcsrcdir glibc-2.28
|
||||||
%define glibcversion 2.28
|
%define glibcversion 2.28
|
||||||
%define glibcrelease 164%{anolis_release}%{?dist}
|
%define glibcrelease 164%{anolis_release}%{?dist}
|
||||||
|
@ -728,6 +728,9 @@ Patch589: glibc-elf-Align-argument-of-__munmap-to-page-size-BZ-28676-3.patch
|
||||||
Patch590: glibc-Support-target-specific-ALIGN-for-variable-alignment-4.patch
|
Patch590: glibc-Support-target-specific-ALIGN-for-variable-alignment-4.patch
|
||||||
Patch591: glibc-elf-Fix-tst-align3.patch
|
Patch591: glibc-elf-Fix-tst-align3.patch
|
||||||
|
|
||||||
|
%ifarch loongarch64
|
||||||
|
Patch10000: 0001-Add-LoongArch-support-for-glibc-2.28.patch
|
||||||
|
%endif
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Continued list of core "glibc" package information:
|
# Continued list of core "glibc" package information:
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
@ -1434,6 +1437,13 @@ build()
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
--disable-multi-arch \
|
--disable-multi-arch \
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch loongarch64
|
||||||
|
--enable-obsolete-nsl \
|
||||||
|
--enable-stackguard-randomization \
|
||||||
|
--with-selinux \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-obsolete-rpc \
|
||||||
|
%endif
|
||||||
%if %{without werror}
|
%if %{without werror}
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
%endif
|
%endif
|
||||||
|
@ -1991,6 +2001,13 @@ for module in compat files dns; do
|
||||||
>> glibc.filelist
|
>> glibc.filelist
|
||||||
done
|
done
|
||||||
grep -e "libmemusage.so" -e "libpcprofile.so" master.filelist >> glibc.filelist
|
grep -e "libmemusage.so" -e "libpcprofile.so" master.filelist >> glibc.filelist
|
||||||
|
%ifarch loongarch64
|
||||||
|
cat master.filelist \
|
||||||
|
| grep -E \
|
||||||
|
-e "^\/%{_lib}\/libnss_nisplus*" \
|
||||||
|
-e "^\/%{_lib}\/libnss_nis*" \
|
||||||
|
>> glibc.filelist
|
||||||
|
%endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# glibc-devel
|
# glibc-devel
|
||||||
|
@ -2639,6 +2656,9 @@ fi
|
||||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 9 2022 huajingyun <huajingyun@loongson.cn> - 2.28-164.0.2
|
||||||
|
- add loongarch64 support.
|
||||||
|
|
||||||
* Mon Feb 7 2022 Rongwei Wang <rongwei.wang@linux.alibaba.com> - 2.28-164.0.1
|
* Mon Feb 7 2022 Rongwei Wang <rongwei.wang@linux.alibaba.com> - 2.28-164.0.1
|
||||||
- elf: Properly align PT_LOAD segments
|
- elf: Properly align PT_LOAD segments
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue