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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30832 in the body.
You can then email your comments to 30832 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#30832; Package guile. (Thu, 15 Mar 2018 23:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 15 Mar 2018 23:27:02 GMT) Full text and rfc822 format available.

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

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 1 (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)]

Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Fri, 16 Mar 2018 04:23:01 GMT) Full text and rfc822 format available.

Notification sent to "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>:
bug acknowledged by developer. (Fri, 16 Mar 2018 04:23:02 GMT) Full text and rfc822 format available.

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

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




Information forwarded to bug-guile <at> gnu.org:
bug#30832; Package guile. (Fri, 16 Mar 2018 10:08:01 GMT) Full text and rfc822 format available.

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

From: "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 30832 <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 11:07:06 +0100
2018-03-16 5:21 GMT+01:00 Mark H Weaver <mhw <at> netris.org>:
> "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.

Ah, it's fine then.  I assumed that addition of new features started
in master and then some changes flowed down to stable branches when
needed.

Thanks!

-- 
Manuel A. Fernandez Montecelo <manuel.montezelo <at> gmail.com>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Apr 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 23 days ago.

Previous Next


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