Bug 148134

Summary: Does Libreoffice has any porting plans to support RISC-V?
Product: LibreOffice Reporter: Ryan Qian <i>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: ASSIGNED ---    
Severity: enhancement CC: aron.budea
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 143781    

Description Ryan Qian 2022-03-22 09:23:19 UTC
Hello Libreoffice developers,

I'd like to port Libreoffice to the RISC-V platform for Linux, but so far it doesn't seem to have any targeted adaptations for this architecture.

RISC-V is an open standard instruction set architecture, which is under rapid development. Distributions including AOSP, Arch Linux, Debian, Gentoo Linux, Fedora, OpenEuler, etc are also actively doing porting work for this architecture.

As a leader in office products among open source tools, is there any porting plans for RISC-V?

I sincerely hope that the Libreoffice team will start thinking about supporting this architecture. I'll start working on this anyway and would like to keep this bug as a tracker.
Comment 1 Caolán McNamara 2022-03-22 10:30:21 UTC
I don't have any plans myself, but FWIW here's the howto I wrote ages ago to incrementally get the hard bit of a port working https://wiki.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting
Comment 2 Julien Nabet 2022-03-24 07:35:56 UTC
I didn't heard about this. I don't know which type of machine it may run and think working on Arm part would be more useful to help Mac support but I suppose it may reveal some existing bugs in LO.

Anyway, you can contact LO dev mailing list (see https://wiki.documentfoundation.org/Development/Mailing_List)
Comment 3 Sakura286 2022-07-31 00:17:14 UTC
Now LibreOffice could run on RISC-V Linux with the patch https://gerrit.libreoffice.org/c/core/+/137445

This patch has been tested on Debian and Gentoo. Despite plenty of bugs, a doc could be ceated and saved without crashing currently.

The patchset is under continuously improving. Anyone is welcome to review and give feedback.