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: "Manuel A. Fernandez Montecelo" <manuel.montezelo <at> gmail.com>
To: 30832 <at> debbugs.gnu.org
Subject: bug#30832: 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)]

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.