On Mon, 7 Aug 2023, Jiri Slaby wrote:
On 06. 08. 23, 23:35, 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.
Huh, no. AFAIK, we are using 64bit kernels for building even on 32bit. So you have full 4 gigs per process.
Is this an LTO build?
Maybe that would be tough -- but can't we cross-compile from x86_64?
In the old days when ppc64 had a 32bit user-land we had gdb64 etc., we could do the same for ld. The gdb baselibs.conf still has gdb +/usr/bin/gdb -> /usr/bin/gdb<extension> # kill package for i586 32bit targetarch x86_64 block! prereq -glibc-x86 not sure how trivial that would be do to for ld. Note it might be possible to use -Wl,--no-relax as well (but not sure if that helps). Richard.