Here's my build info for 6.5 PowerPC:

pkg list:
autoconf--%2.13
dbus-glib--
g++--%4.9
gcc--%4.9
gmake--
python--%2.7
py-pip--
yasm--
unzip--
zip--

And my .mozconfig:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

export CC="egcc -O3 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec
-falign-loops=16 -falign-functions=16 -falign-labels=16
-falign-jumps=16"
export CXX="eg++ -fpermissive -O3 -mcpu=7450 -mtune=7450 -maltivec
-mabi=altivec -falign-loops=16 -falign-functions=16 -falign-labels=16
-falign-jumps=16"

mk_add_options MOZ_OBJDIR=/usr/local/src/afbuild/
mk_add_options MOZ_MAKE_FLAGS="-s -j2"

ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize="-O2"

After about 11 hours, the build failed, I *think* it was my machine as
I got the error about Virtual memory exhausted..
(I attempted on a Powerbook G4 w/512MB of RAM)
I have some XServe G5's around here somewhere, I might load one of
those up to see if I can get it to build on that.

615:35.21 Unified_cpp_gfx_layers3.o
626:10.04 Unified_cpp_gfx_layers4.o
660:32.77 Unified_cpp_gfx_layers5.o
672:05.93 Unified_cpp_layout_base2.o
689:29.56 virtual memory exhausted: Cannot allocate memory
689:32.64
689:32.79 In the directory  /usr/local/src/afbuild/layout/base
689:32.83 The following command failed to execute properly:
689:32.89 eg++ -fpermissive -O3 -mcpu=7450 -mtune=7450 -maltivec
-mabi=altivec -falign-loops=16 -falign-functions=16 -falign-labels=16
-falign-jumps=16 -o Unified_cpp_layout_base1.o -c
-I../../dist/stl_wrappers -I../../dist/system_wrappers -include
/usr/src/Arctic-Fox/config/gcc_hidden.h -DOS_POSIX=1 -DOS_BSD=1
-DOS_OPENBSD=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API
-DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT
-I/usr/src/Arctic-Fox/layout/base -I.
-I/usr/local/src/afbuild/ipc/ipdl/_ipdlheaders
-I/usr/src/Arctic-Fox/ipc/chromium/src -I/usr/src/Arctic-Fox/ipc/glue
-I/usr/src/Arctic-Fox/layout/base/../forms
-I/usr/src/Arctic-Fox/layout/base/../generic
-I/usr/src/Arctic-Fox/layout/base/../mathml
-I/usr/src/Arctic-Fox/layout/base/../printing
-I/usr/src/Arctic-Fox/layout/base/../style
-I/usr/src/Arctic-Fox/layout/base/../svg
-I/usr/src/Arctic-Fox/layout/base/../tables
-I/usr/src/Arctic-Fox/layout/base/../xul
-I/usr/src/Arctic-Fox/layout/base/../xul/tree/
-I/usr/src/Arctic-Fox/docshell/base -I/usr/src/Arctic-Fox/dom/base
-I/usr/src/Arctic-Fox/dom/html -I/usr/src/Arctic-Fox/dom/svg
-I/usr/src/Arctic-Fox/dom/xbl -I/usr/src/Arctic-Fox/view
-I../../dist/include -I/usr/local/src/afbuild/dist/include/nspr
-I/usr/local/src/afbuild/dist/include/nss -fPIC -I/usr/X11R6/include
-DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF
.deps/Unified_cpp_layout_base1.o.pp -I/usr/X11R6/include -Wall
-Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings
-Wno-invalid-offsetof -Wcast-align -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG
-DTRIMMED -g -O2 -fomit-frame-pointer
-I/usr/local/src/afbuild/dist/include/cairo -I/usr/X11R6/include
/usr/local/src/afbuild/layout/base/Unified_cpp_layout_base1.cpp
689:33.53 gmake[5]: *** [/usr/src/Arctic-Fox/config/rules.mk:937:
Unified_cpp_layout_base1.o] Error 1
689:34.56 gmake[4]: *** [/usr/src/Arctic-Fox/config/recurse.mk:74:
layout/base/target] Error 2
689:34.91 gmake[4]: *** Waiting for unfinished jobs....
690:26.32 In file included from
/usr/local/src/afbuild/gfx/layers/Unified_cpp_gfx_layers5.cpp:74:0:
690:26.38 /usr/src/Arctic-Fox/gfx/layers/opengl/CompositorOGL.cpp: In
member function 'virtual bool
mozilla::layers::CompositorOGL::Initialize()':
690:27.25 Warning: -Wunused-variable in
/usr/src/Arctic-Fox/gfx/layers/opengl/CompositorOGL.cpp: unused
variable 'force'
690:27.31 /usr/src/Arctic-Fox/gfx/layers/opengl/CompositorOGL.cpp:209:8:
warning: unused variable 'force' [-Wunused-variable]
690:27.31    bool force = gfxPrefs::LayersAccelerationForceEnabled();
690:27.33         ^
701:40.90 libgfx_layers.a.desc
701:43.20 gmake[3]: *** [/usr/src/Arctic-Fox/config/recurse.mk:37:
compile] Error 2
701:43.35 gmake[2]: *** [/usr/src/Arctic-Fox/config/rules.mk:541:
default] Error 2
701:43.46 gmake[1]: *** [/usr/src/Arctic-Fox/client.mk:399: realbuild] Error 2
701:43.55 gmake: *** [client.mk:171: build] Error 2
701:43.84 59 compiler warnings present.

A manual retry of the eg++ command referenced above gave me: cc1plus:
out of memory allocating 21192 bytes after a total of 0 bytes
So again, I'm pretty sure it's my machine that caused the failure here.

On Sat, May 25, 2019 at 7:55 AM Riccardo Mottola
<riccardo.mott...@libero.it> wrote:
>
> Hi,
>
> On 5/23/19 8:19 AM, John Gould wrote:
> > Can someone suggest a modern graphical browser for OpenBSD PowerPC?
> > I'm trying to run
> > several G5's and g4 mini's on 6.5 as desktop machines. The basic
> > install works really well but there doesn't seem to be an up to date
> > graphically browser.
> >
> > It's thanks to all the work the devs have put into OpenBSD powerpc
> > that these machine are still very usable. They are hopelessly out of
> > date as far as the Mac OS are concerned!
>
>
> you might try ArcticFox, it has a decent success on Linux PowerPC.
> Several endianness fixes were imported.
>
> It is not "totally" modern, but still more modern than Dillo. Beware
> that you need at least 1G of RAM to be of decent use with modern
> websites, 2GB is better.
>
> Although it is of PaleMoon heritage and thus Linux/Mac heritage, I fixed
> compilation on NetBSD, OpenBSD and lately even FreeBSD compiles out of
> the box.
>
>
> Beware however, that while perfectly usable on older x86, it has no
> working JIT, so JS intensive websites will be slow on PowerPC. Also
> compilation on OpenBSD/ppc was never attempted by me, only on Linux/PPC.
> OpenBSD amd64 however does work.
>
>
> Riccardo
>
> [1] : Official Repo: https://github.com/wicknix/Arctic-Fox
>
> [2] : My current working fork, which gets regularly pulled into main:
> https://github.com/rmottola/Arctic-Fox
>
>
>
>

Reply via email to