Building Firefox on powerpc64
Jan Beich
jbeich at FreeBSD.org
Wed May 15 05:34:01 UTC 2019
Francis Little <oggy at farscape.co.uk> writes:
> Hi, is anyone else able to build Firefox on powerpc64 (PowerMac G5), I'm
> getting an error:
Unlikely without patches, see build logs:
http://pylon.nyi.freebsd.org/data/latest-per-pkg/firefox/
http://pylon.nyi.freebsd.org/data/latest-per-pkg/firefox-esr/
> Executing "/usr/local/bin/node
> /usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/build/copy-module.js
> /usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/src/main.js
> /usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/src/vendors.js"
> Failed with Command '[u'/usr/local/bin/node',
> '/usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/build/copy-module.js',
> '/usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/src/main.js',
> '/usr/ports/www/firefox/work/firefox-66.0.5/devtools/client/debugger/new/src/vendors.js']'
> returned non-zero exit status -4. Be sure to check that your mozconfig
> doesn't
> have --disable-nodejs in it. If it does, try removing that
> line and
> building again.
"returned non-zero exit status -4" is the key here. Someone needs to
investigate why www/node fails to run. Try to reduce test case, so it's
easier to test outside of www/firefox build.
www/firefox-esr doesn't use www/node yet but the build still fails due
to (bundled) bindgen using Clang which defaults to libstdc++ from base
and doesn't support C++11. Originally, investigated by Piotr Kubaj.
objdir/dist/include/mozilla/mozalloc.h:145:1: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
objdir/dist/include/mozilla/mozalloc.h:148:5: error: exception specification in declaration does not match previous declaration
/usr/include/c++/4.2/new:95:7: note: previous declaration is here
More information about the freebsd-ppc
mailing list