Firefox build fails #222
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried building Firefox on my own (with v4 and -03 optimized build) but it failed, too. It always got killed by OOM in the link phase (
ld-lld
using crazy amounts of RAM - 32GB are not enough)Applying the "fix" from here lead to a working build:
https://bbs.archlinux.org/viewtopic.php?id=290946
Change:
ac_add_options --enable-lto=cross,full
to
ac_add_options --enable-lto=cross
not sure if that is also the case and fix for the build fails here
I am pretty certain our ff build is not oom reaped. It takes about 56gig to build currently, and we have that available.
Upstream
llvm
issue: https://github.com/llvm/llvm-project/issues/68929Seems like the fix already made it to main, but is not released yet.
might be a long wait then - seeing how Arch waits about half a year until releasing new clang/llvm versions - but on the other hand, that might also make it possible that the fix itself makes it into the next version that is released on Arch (if it is included in another 17.x release - if it is only released with 18.x, we won't see it for another year at least xD)
well, llvm/clang 18 is already in RC state and Arch didn't even roll out llvm/clang 17 yet xD
let's see when this is fixed and coming to Arch ...
And it seems we run into the next llvm bug with the new version. 🫥
Guess it will be fixed with llvm 19.
at least Arch also sees the problem of their ultra late llvm/clang updates:
https://gitlab.archlinux.org/archlinux/packaging/packages/llvm/-/issues/3
@anonfunc llvm/clang 19 seems to finally fix the firefox build, at least I could now build it in a clean chroot with v4 optimizations.
@BS86 I'll trigger the rebuilds.
sorry false alarm. Just realized that something undid my changes to the build scripts in /usr/share/devtools/makepkg.conf.d without generating pacnew's or pacsave's -.-
With v4 optimizations it still fails, this time with: