Created attachment 767303 [details] build.log [...] /usr/bin/powerpc-unknown-linux-gnu-g++ -o Unified_cpp_js_src_wasm1.o -c -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/dist/system_wrappers -include /var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/config/gcc_hidden.h -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/js/src/wasm -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/js/src/wasm -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/js/src -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/js/src -I/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/dist/include -I/usr/include/nspr -DMOZILLA_CLIENT -include /var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/js/src/js-confdefs.h -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wno-error=unused-but-set-variable -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -O2 -mcpu=7450 -pipe -fno-tree-loop-vectorize -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing -Wno-shadow -Wno-attributes -MD -MP -MF .deps/Unified_cpp_js_src_wasm1.o.pp Unified_cpp_js_src_wasm1.cpp In file included from Unified_cpp_js_src_wasm1.cpp:29: /var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/js/src/wasm/WasmFrame.cpp: In static member function 'static void js::wasm::DebugFrame::alignmentStaticAsserts()': /var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/js/src/wasm/WasmFrame.cpp:57:76: error: static assertion failed: Aligned after pushing DebugFrame 57 | static_assert((offsetof(DebugFrame, frame_) + sizeof(Frame)) % Alignment == 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ make[3]: *** [/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/config/rules.mk:678: Unified_cpp_js_src_wasm1.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build/js/src/wasm' make[2]: *** [/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/config/recurse.mk:72: js/src/wasm/target-objects] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build' make[1]: *** [/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/config/recurse.mk:34: compile] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/build' make: *** [/var/tmp/portage/dev-lang/spidermonkey-91.7.0/work/firefox-91.7.0/config/rules.mk:357: default] Error 2 * ERROR: dev-lang/spidermonkey-91.7.0::gentoo failed (compile phase):
Created attachment 767304 [details] emerge --info
Looks like we might need to force off.. JIT? Hm, but you have it off. https://lists.openembedded.org/g/openembedded-devel/message/93761
(In reply to Sam James from comment #2) > Looks like we might need to force off.. JIT? Hm, but you have it off. > > https://lists.openembedded.org/g/openembedded-devel/message/93761 Hm, better. Upstream fix (not backported?): https://hg.mozilla.org/mozilla-central/rev/9408195567a218070fe8ed98de0779c00a24ffc8
Created attachment 767377 [details, diff] backported from upstream patch Builds ok now with this patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6104f616e4a6182c209b1d2e1d4792e4d78537a1 commit 6104f616e4a6182c209b1d2e1d4792e4d78537a1 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-03-21 08:14:31 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-03-21 08:15:55 +0000 dev-lang/spidermonkey: keyword 91.7.0 for ~ppc - include a new patch, details in #835575. Closes: https://bugs.gentoo.org/835575 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-lang/spidermonkey/Manifest | 2 +- dev-lang/spidermonkey/spidermonkey-91.7.0.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Thanks a lot! Thought about including the patch straight up for firefox, but I doubt there's any demand to run firefox on ppc.
(In reply to Joonas Niilola from comment #6) > Thought about including the patch straight up for firefox, but > I doubt there's any demand to run firefox on ppc. At least for me there is demand to run Firefox on my PowerBook G4. ;) But don't bother, atm it won't work due to other obstacles being nodejs not buildable on ppc and also there is bug #829602.