4 Star 0 Fork 5

OpenCloudOS Stream/libxcrypt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-loongarch-support-for-libxcrypt.patch 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
zhangwenlong01 提交于 2024-03-11 14:26 +08:00 . Fix build error for loongarch64
From 81a7703ef861bb049fb36af00ec73d862e6314a9 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <zhangwenlong@loongson.cn>
Date: Thu, 7 Mar 2024 02:22:07 +0000
Subject: [PATCH] add loongarch support for libxcrypt
---
lib/libcrypt.map.in | 2 +-
lib/libcrypt.minver | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/libcrypt.map.in b/lib/libcrypt.map.in
index 88ea911..2142757 100644
--- a/lib/libcrypt.map.in
+++ b/lib/libcrypt.map.in
@@ -42,6 +42,6 @@ fcrypt - GLIBC_2.0
# libcrypt.minver. The ordering is left to right, top to bottom.
%chain GLIBC_2.0 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.5 GLIBC_2.2.6
%chain GLIBC_2.3 GLIBC_2.4 GLIBC_2.12 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18
-%chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33 GLIBC_2.35
+%chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33 GLIBC_2.34 GLIBC_2.35
%chain GLIBC_2.36
%chain OW_CRYPT_1.0 XCRYPT_2.0 XCRYPT_4.3 XCRYPT_4.4
diff --git a/lib/libcrypt.minver b/lib/libcrypt.minver
index 8478077..34cae9d 100644
--- a/lib/libcrypt.minver
+++ b/lib/libcrypt.minver
@@ -62,6 +62,7 @@ ERROR kfreebsd.*gnu .
# Linux with GNU libc
GLIBC_2.36 linux.*gnu loongarch64 __WORDSIZE == 64 && ULONG_MAX != UINT_MAX /* lp64* ABI */
GLIBC_2.35 linux.*gnu or1k
+GLIBC_2.34 linux.*gnu loongarch64
GLIBC_2.33 linux.*gnu riscv32
GLIBC_2.32 linux.*gnu arc
GLIBC_2.29 linux.*gnu csky
--
2.43.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/libxcrypt.git
git@gitee.com:opencloudos-stream/libxcrypt.git
opencloudos-stream
libxcrypt
libxcrypt
master

搜索帮助