Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2019 07:33:55 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Francis Little <oggy@farscape.co.uk>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Building Firefox on powerpc64
Message-ID:  <lfz8-gu2k-wny@FreeBSD.org>
In-Reply-To: <CAGSRtz7M6hkxxT4=kzKgsa4roLBX7VGcj6eFPmohUW3azA7YSA@mail.gmail.com> (Francis Little's message of "Sun, 12 May 2019 12:03:23 %2B0100")
References:  <CAGSRtz7M6hkxxT4=kzKgsa4roLBX7VGcj6eFPmohUW3azA7YSA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Francis Little <oggy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lfz8-gu2k-wny>