Package Details: icecat 115.18.0-1

Git Clone URL: https://aur.archlinux.org/icecat.git (read-only, click to copy)
Package Base: icecat
Description: GNU version of the Firefox ESR browser
Upstream URL: https://git.savannah.gnu.org/cgit/gnuzilla.git
Keywords: browser esr gnuzilla web
Licenses: MPL-2.0
Submitter: None
Maintainer: figue (xiota)
Last Packager: xiota
Votes: 250
Popularity: 0.34
First Submitted: 2007-12-09 10:12 (UTC)
Last Updated: 2024-11-30 19:41 (UTC)

Dependencies (51)

Sources (10)

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:

  • Downloads Firefox ESR and localization using the source array. Files are saved for reuse.
  • Saves freshly patched IceCat sources in a tarball for reuse.
  • Saves the PGO profile for reuse.

Notes:

  • Currently requires clang/llvm 17, which has to be built from AUR.
  • Wayland users, consider setting _build_pgo_xvfb=false. This will use xwayland-run for profiling.
  • PGO should work now, but if it doesn't and you're willing to go without, try _build_pgo=false.
  • Running out of RAM? Try adding 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.
    • If a few people can confirm this is helpful, I will consider adding it as an additional option.
    • Main resource hog seems to be linking 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.

Latest Comments

« First ‹ Previous 1 .. 58 59 60 61 62 63 64 65 66 67 68 .. 86 Next › Last »

Twilight_Genesis commented on 2015-04-11 00:51 (UTC)

@figue I believe the reason for the segmentation fault is the CFLAGS and CXXFLAGS being used to build the package with. If you use the default flags in /etc/makepkg.conf then it will build and run with no problems. CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" If you try to compile it using the following flags, which I've taken from the Arch Wiki's makepkg page it will produce the segfault. CFLAGS="-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="${CFLAGS}" The reason it may be working for you is because you are building it in a clean chroot which means you will be using the default CFLAGS and CXXFLAGS from /etc/makepkg.conf in the chroot since it is always cleaned before you build a new package in it, but most of us are simply decompressing the tarball and running makepkg in the directory with the PKGBUILD and I'm guessing that most of use are using the second set of CFLAGS and CXXFLAGS since they were in the Arch Wiki. The -march=native argument in CFLAGS is what is causing the issue. I believe the -march=native is either activating CPU extensions such as SSE2, SSE3, AVX, etc or is adding other optimizations which are causing the segfault. Fore everyone getting the segfault if you build it with the following CFLAGS and CXXFLAGS then it should run. For x86_64: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="${CFLAGS}" For i686: CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="${CFLAGS}"

Twilight_Genesis commented on 2015-04-10 20:00 (UTC)

@figue No, I have never used the testing repo on this machine.

figue commented on 2015-04-10 19:43 (UTC)

@Twilight_Genesis do you have enabled testing? I built mine in "extra" chroot and it works fine.

Twilight_Genesis commented on 2015-04-09 23:02 (UTC)

@figue: It builds fine, but segfaults when run. I made sure that I didn't have firefox, xulrunner or any other mozilla software installed before I ran makepkg and built the package, but still segfaults when run.