I don't think more RAM is the answer, since my build laptop has 16 GB available and never comes close to using all of it--32-bit builds use less RAM, in fact. It seems like it's running out of something like "file handles" or whatever only on the 32-bit side of things, which I guess can't provide enough like the 64-bit builds. Plus it's definitely linked to the version of gcc being used. 4.9, 5, 6, and 7 all succeed, but not gcc-8 or 9. https://build.opensuse.org/package/show ... r/palemoon
I was able to build the MX 19 Buster version by using gcc-7 from the Buster repo instead of the default gcc-8, but somehow the bit of code I added to do that automatically doesn't work in the OBS environment.
There's a guy building versions for Devuan Sid on the OBS, and he can't build his version on 32-bit either.
Debian recently had basically the same problem recently with a version of Chromium and 32-bit packages, built with clang, but fixed it by "reducing debugging symbols to avoid memory exhaustion while linking", by changing the compiler flags.
Should I start a separate thread for this, or raise an issue on Github?
My mozconfig is:
Code: Select all
mk_add_options AUTOCLOBBER=1 export BUILDING_RELEASE=1 export MC_OFFICIAL=1 export MOZILLA_OFFICIAL=1 export MC_PALEMOON=1 # Official Pale Moon branding. Please see https://www.palemoon.org/redist.shtml # for restrictions when using the official branding. ac_add_options --enable-application=palemoon ac_add_options --enable-official-branding ac_add_options --enable-official-vendor # Disable add-ons signing # Disable checking that add-ons are signed by the trusted root MOZ_ADDON_SIGNING= # Disable enforcing that add-ons are signed by the trusted root MOZ_REQUIRE_SIGNING= # Standard, approved Pale Moon build options. # Enable stuff ac_add_options --enable-av1 ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-devtools ac_add_options --enable-jemalloc ac_add_options --enable-optimize="-O2 -w" ac_add_options --with-pthreads ac_add_options --enable-strip # Disable stuff ac_add_options --disable-debug ac_add_options --disable-eme ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi ac_add_options --disable-tests ac_add_options --disable-updater ac_add_options --disable-webrtc # Disable telemetry reporting export MOZ_TELEMETRY_REPORTING= # ac_add_options --disable-crashreporter # ac_add_options --disable-accessibility # ac_add_options --disable-parental-controls # Options for creating a system package ac_add_options --x-libraries=/usr/lib ac_add_options --prefix=/usr # Builds use all available cores by default--enable and tune this option to # reduce CPU use and memory consumption during builds. RAM use seems to be about # 0.75 GiB per thread. "-jX", where X=number of threads for the build. Example: mk_add_options MOZ_MAKE_FLAGS="-j4"