Open perfect7gentleman opened 4 years ago
I tested it with python 3.7... please try with that version of Python or send me the full build log.
Thanks
Iade
I've slightly modified your ebuild as LLVM-11 is installed. Test 1: commented that patch. -> PGO is failed. Test 2: commented that patch and disable PGO. -> build is successful.
mail-client/thunderbird-78.2.1-r1::pg_overlay was built with the following:
USE="clang custom-cflags custom-optimization eme-free gmp-autoupdate lightning lto pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -debug -hardened -jack -pgo (-selinux) -test -wayland -wifi"
Test 3: enable that patch and PGO disabled -> build is successful.
In my Gentoo I have only llvm 9.x and 10.x. the 11th branch is still masked, so I don't use it... did you try building Thunderbird using llvm 10.x?
Iade
With what flags do you have Thunderbird installed? Concerning LLVM, I've already built Thunderbird-68.12.0 with LLVM-11.
Ok, these are my use flags:
clang gmp-autoupdate jack lightning lto pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-webp wayland wifi -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -pgo -selinux -system-libvpx -test
I also selected the pgo
use flag but it never appears as built...
Iade
because PGO is masked for Thunderbird.
$ cat /etc/portage/profile/package.use.mask/thunderbird
mail-client/thunderbird -pgo
because PGO is masked for Thunderbird.
Oh, ok, I didn't looked why before :p Thanks
Coming back to the original isssue... can you share me the full build log?
Iade
a bit later, currently I have limited access to my PC
Can you try with the newer minor version?
Iade
https://gofile.io/d/tWKWC8 - build.log for 78.3.0
mail-client/thunderbird-78.3.0-r1::pg_overlay was built with the following:
USE="clang custom-cflags custom-optimization eme-free gmp-autoupdate lightning lto pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -debug -hardened -jack -pgo (-selinux) -test -wayland -wifi" CPU_FLAGS_X86="avx2" L10N="ru -de -en-GB"
CFLAGS="-march=native -mtune=native -mllvm -polly -pipe -fdata-sections -ffunction-sections -fvectorize -fslp-vectorize -fomit-frame-pointer -fno-common -fno-plt -fno-stack-protector -fno-unwind-tables"
CXXFLAGS="-march=native -mtune=native -mllvm -polly -pipe -fdata-sections -ffunction-sections -fvectorize -fslp-vectorize -fomit-frame-pointer -fno-common -fno-plt -fno-stack-protector -fno-unwind-tables -stdlib=libc++"
FEATURES="distlocks metadata-transfer news protect-owned xattr preserve-libs sfperms merge-sync config-protect-if-modified network-sandbox multilib-strict ipc-sandbox ebuild-locks usersandbox binpkg-logs strict assume-digests parallel-install unknown-features-warn binpkg-docompress parallel-fetch unmerge-orphans sandbox qa-unresolved-soname-deps userpriv unmerge-logs binpkg-dostrip pid-sandbox userfetch fixlafiles usersync"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--gc-sections -Wl,--icf=all -Wl,--lto-O3 -fuse-ld=lld -stdlib=libc++ -rtlib=compiler-rt -unwindlib=libunwind -s -march=native -mtune=native -mllvm -polly -pipe -fdata-sections -ffunction-sections -fvectorize -fslp-vectorize -fomit-frame-pointer -fno-common -fno-plt -fno-stack-protector -fno-unwind-tables -Wl,-rpath=/usr/lib64/thunderbird,--enable-new-dtags -Wl,--compress-debug-sections=zlib"