[PATCH] LoongArch: Fix build failure for loongarch64-linux-gnusf toolchain. [BZ #32776]
caiyinyu
caiyinyu@loongson.cn
Wed Aug 13 07:38:49 GMT 2025
GCC parts:
A GCC bug caused the loss of the search path: /usr/lib64/sf, and this
bug has now been fixed in GCC.
See:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9467435253948b83fcb5f7430f6cd571236960d8
---
scripts/build-many-glibcs.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 315693ef54..7e607ba6a8 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -233,13 +233,11 @@ class Context(object):
self.add_config(arch='i686',
os_name='gnu')
self.add_config(arch='loongarch64',
- os_name='linux-gnu',
- variant='lp64d',
- gcc_cfg=['--with-abi=lp64d','--disable-multilib'])
+ os_name='linux-gnuf64',
+ gcc_cfg=['--disable-multilib'])
self.add_config(arch='loongarch64',
- os_name='linux-gnu',
- variant='lp64s',
- gcc_cfg=['--with-abi=lp64s','--disable-multilib'])
+ os_name='linux-gnusf',
+ gcc_cfg=['--disable-multilib'])
self.add_config(arch='m68k',
os_name='linux-gnu',
gcc_cfg=['--disable-multilib'])
--
2.45.2
More information about the Libc-alpha
mailing list