[meta] Linux/riscv64 Port
Categories
(Firefox Build System :: General: Unsupported Platforms, task, P5)
Tracking
(Not tracked)
People
(Reporter: m_kato, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: meta)
Reporter | ||
Updated•3 years ago
|
It looks like the two PRs in See Also have been merged for serval months. I see you are working on this.(https://github.com/makotokato/gecko-dev/tree/riscv64) Are there any other obstacles to riscv64 porting?
Reporter | ||
Comment 3•2 years ago
|
||
It looks like the two PRs in See Also have been merged for serval months.
I don't merge it to mozilla-central yet due to other reasons.
- new stable version of authenticator-rs isn't released.
- Since new stable version of midir uses windows-rs, I cannot merge it to mozilla-central until bug 1773509 is resolved.
Hi mokoto,
I cloned firefox from link:- https://github.com/makotokato/gecko-dev/tree/riscv64
I want to port firefox for riscv64 , during building time i am facing issue-
"checking host system type... riscv64-unknown-linux-gnu
checking target system type... riscv64-unknown-linux-gnu
checking build system type... riscv64-unknown-linux-gnu
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... configure: error: installation or configuration problem: compiler cannot create executables.
DEBUG: <truncated - see config.log for full output>
DEBUG: return CYGWIN;
DEBUG: ; return 0; }
DEBUG: configure:751: checking for mingw32 environment
DEBUG: configure:763: /usr/bin/clang -Qunused-arguments -std=gnu99 -c conftest.c 1>&5
DEBUG: configure:759:8: error: use of undeclared identifier 'MINGW32'
DEBUG: return MINGW32;
DEBUG: ^
DEBUG: 1 error generated.
DEBUG: configure: failed program was:
DEBUG: #line 756 "configure"
DEBUG: #include "confdefs.h"
DEBUG:
DEBUG: int main() {
DEBUG: return MINGW32;
DEBUG: ; return 0; }
DEBUG: configure:782: checking for executable suffix
DEBUG: configure:792: /usr/bin/clang -Qunused-arguments -std=gnu99 -o conftest -fuse-ld=lld -Wl,-O0 conftest.c 1>&5
DEBUG: ld.lld: error: unable to find library -lgcc
DEBUG: clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
DEBUG: configure: error: installation or configuration problem: compiler cannot create executables.
ERROR: old-configure failed"
can you please guide me to port firefox on riscv64 platform.
T&R
lavkhush
Reporter | ||
Comment 5•2 years ago
|
||
lavkhush, Don't use my repository due to out of date. All patches are merged into https://hg.mozilla.org/mozilla-central/
Hi Makoto,
I took sources from yourside given link- https://hg.mozilla.org/mozilla-central/
same issue I am facing as mentioned in my previous, I am using linux os , on there i am trying to build firefox for riscv platform, can you please help me to port firefox on riscv64 platform.
T&R
lavkhush
Reporter | ||
Comment 7•2 years ago
|
||
(In reply to lavkhush from comment #6)
Although I don't know your environment, use the following mozconfig file if you try to build Firefox on Linux/riscv64 workstation. See https://firefox-source-docs.mozilla.org/setup/configuring_build_options.html for mozconfig. It spends 8-9 hours on my HiFive Unmatched.
mk_add_options AUTOCLOBBER=1
ac_add_options --enable-application=browser
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --disable-tests
ac_add_options --without-wasm-sandboxed-libraries
export CC=gcc
export CXX=g++
Hi Makoto,
Thanks for your suggestion, Can You tell me the commands and procedure that how you are building firefox on linux os for riscv64 platform.
T&R
lavkhush
Reporter | ||
Comment 9•2 years ago
|
||
(In reply to lavkhush from comment #8)
Thanks for your suggestion, Can You tell me the commands and procedure that how you are building firefox on linux os for riscv64 platform.
At first, this is meta bug (main bug) of Linux/riscv port. But I already merge all patches, so I will close this.
I don't want to talk how to build Firefox in bugzilla since this isn't discussion forum. Please email me or ping me in https://chat.mozilla.org if you want how to.
Reporter | ||
Comment 10•2 years ago
|
||
All patches are merged. Close this.
Updated•1 year ago
|
Description
•