Bug 1795332 - Adding support for RISC-V 64-bit (riscv64)
Summary: Adding support for RISC-V 64-bit (riscv64)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 32
Hardware: riscv64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: TRACKER-fedora-riscv64
TreeView+ depends on / blocked
 
Reported: 2020-01-27 17:30 UTC by David Abdurachmanov
Modified: 2021-05-25 15:18 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 15:18:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Abdurachmanov 2020-01-27 17:30:00 UTC
Currently we don't have Rust available in Fedora/RISCV, but that could change starting Rust 1.42 release earliest. Debian and OpenSUSE already have built 1.40 + backports. Some patches are still being reviewed (ABI for FFI between Rust and C).

There are no NodeJS / v8 available for riscv. AFAIK no one is working on adding riscv JIT support for Javascript today.

John Paul Adrian Glaubitz has started thinking on how to get Firefox in Debian/OpenSUSE/Fedora RISCV releases. Today you can use GNOME Web / Epiphany as the best browser on riscv, I think.

His suggestion is here: https://lists.debian.org/debian-riscv/2020/01/msg00000.html

The idea would be to decouple NodeJS from Firefox main package. I was explained that "nodejs generates Javascript files which are platform-independent" thus this could be noarch package that Firefox depends on.


The copy of email is here:
-----
Hi!

Getting Firefox to build on riscv64 shouldn't be too difficult.

For one, there are only a few small arch-specific changes necessary to
be added for the riscv64 port analogue to the sparc64 and other ports
[1, 2, 3].

To avoid the dependency on Nodejs, we would just have to build the
Javascript files in the arch:all package [4, 5] and either patch the
Firefox build system locally to use pre-built Javascript files or just
use a bash wrapper script for /usr/bin/node like Solaris does for
its SPARC port [6].

Would anyone be interested to work on this with me?

Adrian

> [1] https://hg.mozilla.org/mozilla-central/rev/6123659a067649fb4cdedb4f328b2bb950102f0c
> [2] https://hg.mozilla.org/mozilla-central/rev/e62e2c17d75be07bc9f5e96f1c8135e976591b5b
> [3] https://hg.mozilla.org/mozilla-central/rev/1380d9d6ee091148e34537052bf23e79639ed734
> [4] https://lists.debian.org/debian-devel/2020/01/msg00229.html
> [5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920902
> [6] https://github.com/oracle/solaris-userland/blob/master/components/desktop/firefox/wrapper-node/node

-----

Comment 1 Ben Cotton 2020-02-11 17:24:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Fedora Program Management 2021-04-29 16:02:55 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2021-05-25 15:18:33 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.