Re: Building Firefox on powerpc64

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
Francis Little <[email protected]> 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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.