Thursday, May 30, 2019

Re: Modern browser for OpenBSD powerpc

Hi Henry,

Henry Bonath wrote:
> 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.
>


Yes, you exhausted your RAM. The build needs around 2GB to complete well
(later, during the linking of libxul)
On my iBook with 1.25GB of RAM I need a lot of swap and linking
completes after 20-30 minutes but completes.

I have an x86 I would like to test a bit (because it doesn't have SSE3)
but with only 1GB of RAM it fails essentially or swaps for hours,
depending on compiler optimization.

Also, big note: if you are limited in RAM don't issue a Make parallel
build, it is useless and consumes more RAM.

Thanks for trying, I hope your XServe will do better!

Riccardo

No comments:

Post a Comment