[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch main updated: module/system/base/target.scm: supp

From: Daniel Llorens
Subject: [Guile-commits] branch main updated: module/system/base/target.scm: support riscv32
Date: Fri, 05 Nov 2021 05:16:03 -0400

This is an automated email from the git hooks/post-receive script.

lloda pushed a commit to branch main
in repository guile.

The following commit(s) were added to refs/heads/main by this push:
     new ffb33fd  module/system/base/target.scm: support riscv32
ffb33fd is described below

commit ffb33fd66bba30f6a3e554be644fcaf269d39f05
Author: Fabrice Fontaine <>
AuthorDate: Sun Aug 8 10:13:53 2021 +0200

    module/system/base/target.scm: support riscv32
    Fix the following build failure on riscv32:
    system/base/target.scm:132:16: In procedure triplet-pointer-size:
    unknown CPU word size "riscv32"
    Signed-off-by: Fabrice Fontaine <>
 module/system/base/target.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 8bdcd66..74af64b 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -116,6 +116,7 @@
           ((string-match "^x86_64-.*-gnux32" triplet) 4)  ; x32
+          ((string-match "32$" cpu) 4)
           ((string-match "64$" cpu) 8)
           ((string-match "64_?[lbe][lbe]$" cpu) 8)
           ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" 
"sh3" "sh4" "arc")) 4)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]