Summary: | =dev-lang/spidermonkey-68.0 fails to compile on arm with: js/src/wasm/WasmSignalHandlers.cpp:539:19: error: field 'ufp' has incomplete type 'user_vfp' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
tt_1
2020-04-03 20:14:50 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded9c4a030c8cbbb047868d7264f24e1226a8642 commit ded9c4a030c8cbbb047868d7264f24e1226a8642 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-04-03 21:06:06 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-03 21:06:42 +0000 dev-lang/spidermonkey: fix building on arm Closes: https://bugs.gentoo.org/716072 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-lang/spidermonkey/Manifest | 2 +- dev-lang/spidermonkey/spidermonkey-68.6.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) the build now compiles fine on arm with gcc, and clang, with USE="+jit" and USE="-jit" on both compilers. however, you might want to pull in this fix from firefox for clang: https://github.com/gentoo/gentoo/blob/master/www-client/firefox/files/firefox-73.0_fix_llvm9.patch it's a very edgy case though, and I haven't tested if it's really needed for spidermonkey We don't apply this against firefox-68.x so no need to apply this for spidermonkey. according to the upstream bug, firefox-esr is also affected but marked as WONTFIX. not pulling it into the esr is a decision based on the fact that there is a non esr firefox with the fix. but the spidermonkey ebuild does have eapply_user, so the 2,5 users affected by this are hopefully clever enough to drop the patch in the right place ;-) Firefox 68.x builds using latest clang/llvm without any problems. So I don't really understand why this patch should be necessary. How would you notice you need this patch if it compiles without the patch? it's an edgy case, only happens with CC=clang and USE="+default-libcxx" for the clang used. |