Hi Aaron! On Sun, 2023-08-06 at 23:35 +0200, Aaron Puchert wrote:
Am 04.08.23 um 10:28 schrieb Dominique Leuenberger:
Firefox 116 has just been sent for inclusion into Tumbleweed - with a note that it fails to build on i586.
For those too lazy to click the link, linking libxul.so (the largest binary in the package and maybe the entire distribution) fails with:
/usr/i586-suse-linux/bin/ld: can't relax section: memory exhausted collect2: error: ld returned 1 exit status
The machine has lots of memory, but i586 only provides a 2GB user virtual address space for every process.
We've already reduced debug info to -g1 earlier, and this change reduces it to -g0. But this only applies to C/C++ code, maybe the same should be done for Rust, which is still at -g1 as far as I can see. [1]
Debian has a patch that overrides the Rust LTO settings, see: https://salsa.debian.org/mozilla-team/firefox/-/blob/release/master/debian/p... FWIW, Firefox builds on Debian on armv7, arm64, i386, so I assume Mike Homney who is also Firefox upstream developer already found solutions for these issues: https://buildd.debian.org/status/package.php?p=firefox Adrian