From 279eb12221de646827fb1a51117e11ffbd6571b6 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Tue, 18 Feb 2025 15:46:33 +0800 Subject: [PATCH] SPECS: define glibc_ldso for LoongArch Signed-off-by: Peng Fan --- glibc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 9d81f1f..f74245d 100644 --- a/glibc.spec +++ b/glibc.spec @@ -116,7 +116,7 @@ end \ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: %{glibcrelease}.11 +Release: %{glibcrelease}.12 # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -226,6 +226,11 @@ rpm.define("__find_debuginfo " .. wrapper .. " " .. sysroot .. " " .. original) %global glibc_has_libnldbl 0 %global glibc_has_libmvec 1 %endif +%ifarch loongarch64 +%global glibc_ldso /lib64/ld.so.1 +%global glibc_has_libnldbl 0 +%global glibc_has_libmvec 0 +%endif # This is necessary to enable source RPM building under noarch, as # used by some build environments. @@ -2939,6 +2944,9 @@ fi %{_libdir}/libpthread_nonshared.a %changelog +* Tue Feb 18 2025 Peng Fan - 2.28-251.0.1.12 +- SPECS: define glibc_ldso for LoongArch. + * Thu Feb 06 2025 Rongwei Wang - 2.28-251.0.1.11 - elf: Properly align PT_LOAD segments - Sync loongarch64 code to lnd.35. (lixing@loongson.cn) -- Gitee