[bug#75051,v2,02/15] gnu: glibc-dynamic-linker: Add loongarch64-linux support.

Message ID b9b745f501eb251d844a92602379fec1fa6e2fee.1737736020.git.zhengjunjie@iscas.ac.cn
State New
Headers
Series guix: Add loongarch platform. |

Commit Message

Zheng Junjie Jan. 24, 2025, 4:39 p.m. UTC
  * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add loongarch64-linux
case.

Change-Id: I57bb3d34aec82e12de75913c53bf70fc83137404
---
 gnu/packages/bootstrap.scm | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index db20e71fe0c..79ef8a5f412 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -333,6 +333,10 @@  (define* (glibc-dynamic-linker
      ((string=? system "powerpc64-linux") "/lib/ld64.so.1")
      ((string=? system "alpha-linux") "/lib/ld-linux.so.2")
 
+     ;; TODO: Remove it when we support native loongarch64 build.
+     ((string=? system "loongarch64-linux")
+      "/lib/ld-linux-loongarch-lp64d.so.1")
+
      ;; TODO: Differentiate between x86_64-linux-gnu and x86_64-linux-gnux32.
      ((string=? system "x86_64-linux-gnux32") "/lib/ld-linux-x32.so.2")