GNU bug report logs - #30832
Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)

Previous Next

Package: guile;

Reported by: "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>

Date: Thu, 15 Mar 2018 23:27:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mark H Weaver <mhw <at> netris.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30832: closed (Please add support for new architecture
 "riscv64" (RISC-V 64 bits little-endian))
Date: Fri, 16 Mar 2018 04:23:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 16 Mar 2018 00:21:08 -0400
with message-id <87h8pg4pmz.fsf <at> netris.org>
and subject line Re: bug#30832: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)
has caused the debbugs.gnu.org bug report #30832,
regarding Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30832: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30832
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Please add support for new architecture "riscv64" (RISC-V 64 bits
 little-endian)
Date: Fri, 16 Mar 2018 00:25:38 +0100
[Message part 3 (text/plain, inline)]
Hello,

Please add support for this architecture, simple patch attached (based
on guile-2.0, the most popular version in Debian).

The change is simply to add "riscv64" in the following location, the
arch name seems to be missing in:

  http://git.savannah.gnu.org/cgit/guile.git/tree/module/system/base/target.scm#n74

Since it ends in -64, the pointer size should be detected correctly in
the current code.

I compiled this and ran the test suite successfully:

Totals for this test run:
passes:                 40317
failures:               0
unexpected passes:      0
expected failures:      9
unresolved test cases:  571
untested test cases:    1
unsupported test cases: 10
errors:                 0

If there's anything missing, please let me know.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo <at> gmail.com>
[riscv64.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>
Cc: 30832-done <at> debbugs.gnu.org
Subject: Re: bug#30832: Please add support for new architecture "riscv64"
 (RISC-V 64 bits little-endian)
Date: Fri, 16 Mar 2018 00:21:08 -0400
"Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com> writes:
> Please add support for this architecture, simple patch attached (based
> on guile-2.0, the most popular version in Debian).

This should be fixed now, using a patch provided earlier by Shea Levy
which also covers riscv32.  See commit
08bb4628369cf3efe7c96a32919705c41a9ed9e9 on the stable-2.2 branch and
d6e669b8cb26f870ea6611a54788b75fbad67bbe on the stable-2.0 branch.

I'm closing this bug now, but please reopen if there are still issues.

     Thanks!
       Mark


This bug report was last modified 7 years and 150 days ago.

Previous Next


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