@figue
Ok I tried changing line 68 to "en-US" for my locale but, that only resulted in a "/bin/sed: no input files" and I didn't feel like troubleshooting that so I tried something that was suggested in the bug report -> https://bugs.llvm.org/show_bug.cgi?id=43659 <- I posted on the firefox-esr build:
ac_add_options --disable-elf-hack
added in the "prepare()" section under the "#Features" heading like so:
.....
Features
ac_add_options --enable-alsa
ac_add_options --enable-jack
ac_add_options --enable-startup-notification
ac_add_options --disable-crashreporter
ac_add_options --disable-gconf
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-eme
ac_add_options --disable-elf-hack <------------ ADDED HERE
ac_add_options --with-app-basename=icecat
ac_add_options --with-app-name=icecat
END
}
I used your env speedup and also the regular method and the package now compiles.
I did not change the mtune or march or anything else and now this builds. I will try this also on the firefox-esr build and give an update there if successful.
On your end can you try making that little change in the PKGBUILD without the mtune/march forced to the generics? I saw you pushed a change in the PKGBUILD with your commit for that but, I didn't have to do that. So maybe you can revert if you find this successful?
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-08-08 03:44 (UTC) by xiota)
PKGBUILD has been updated. Major changes:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.mk_add_options MOZ_PARALLEL_BUILD=___
around line 300. Pick a value less than number of cores and free RAM in GB. For example, on a system with 8 cores, 64GB total RAM, but only 6 GB free, the value should be set to 4 or 5.libxul.so
. Leave a comment if you have a potential solution.Having problems? Please provide details: processor make and model, number of cores,
free -m
, full log in pastebin, whether using AUR helper/makepkg/clean chroot, etc.