GNU bug report logs - #49941
[PATCH] module/system/base/target.scm: support riscv32

Previous Next

Package: guile;

Reported by: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>

Date: Sun, 8 Aug 2021 08:15:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49941 in the body.
You can then email your comments to 49941 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#49941; Package guile. (Sun, 08 Aug 2021 08:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabrice Fontaine <fontaine.fabrice <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 08 Aug 2021 08:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>
To: bug-guile <at> gnu.org
Cc: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>
Subject: [PATCH] module/system/base/target.scm: support riscv32
Date: Sun,  8 Aug 2021 10:13:53 +0200
Fix the following build failure on riscv32:

system/base/target.scm:132:16: In procedure triplet-pointer-size:
unknown CPU word size "riscv32"

Fixes:
 - http://autobuild.buildroot.org/results/6705630c1484239ec8b73d57ebc2e2570fbfc8f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>
---
 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 2088cd866..dba46664d 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")) 4)
-- 
2.30.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 01 Oct 2022 13:28:02 GMT) Full text and rfc822 format available.

Notification sent to Fabrice Fontaine <fontaine.fabrice <at> gmail.com>:
bug acknowledged by developer. (Sat, 01 Oct 2022 13:28:02 GMT) Full text and rfc822 format available.

Message #10 received at 49941-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>
Cc: 49941-done <at> debbugs.gnu.org
Subject: Re: bug#49941: [PATCH] module/system/base/target.scm: support riscv32
Date: Sat, 01 Oct 2022 15:26:47 +0200
Hi,

Fabrice Fontaine <fontaine.fabrice <at> gmail.com> skribis:

> Fix the following build failure on riscv32:
>
> system/base/target.scm:132:16: In procedure triplet-pointer-size:
> unknown CPU word size "riscv32"
>
> Fixes:
>  - http://autobuild.buildroot.org/results/6705630c1484239ec8b73d57ebc2e2570fbfc8f8
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice <at> gmail.com>

Pushed a while back as ffb33fd66bba30f6a3e554be644fcaf269d39f05, thanks!

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Oct 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.