Bug#1109861: thunderbird: Please build with gcc and g++ on ppc64
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.debian.ports.powerpc |
|---|---|
| Message-ID | <175343110220.3971577.13067463319963841073.reportbug__9579.08364232338$1753431209$gmane$org@login1.physik.fu-berlin.de> |
Source: thunderbird Version: 1:128.13.0esr-1 Severity: normal Tags: patch User: [email protected] Usertags: ppc64 X-Debbugs-Cc: [email protected] Hi, on ppc64, Thunderbird currently fails to build from source [1] due to an upstream bug in the PowerPC backend in LLVM [2]. Could you override CC and CXX so Thunderbird is built with GCC instead of Clang for the time being? --- debian/rules.orig 2025-07-25 01:09:59.688831332 -0700 +++ debian/rules 2025-07-25 00:39:01.489229045 -0700 @@ -46,6 +46,11 @@ CFLAGS += -DSQLITE_BYTEORDER=1234 endif +ifneq (,$(filter ppc64,$(DEB_HOST_ARCH))) + CC := gcc + CXX := g++ +endif + # Reduce memory usage of the linker at the expense of processing time # This should help on lower-end architectures like arm and mips, which # spend an immense amount of time swapping. Thanks, Adrian > [1] https://buildd.debian.org/status/fetch.php?pkg=thunderbird&arch=ppc64&ver=1%3A128.13.0esr-1&stamp=1753381391&raw=0 > [2] https://github.com/llvm/llvm-project/issues/110753 https://github.com/llvm/llvm-project/issues/110753 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
thunderbird-override-clang.diff
(text/plain, 440 B)
--- debian/rules.orig 2025-07-25 01:09:59.688831332 -0700 +++ debian/rules 2025-07-25 00:39:01.489229045 -0700 @@ -46,6 +46,11 @@ CFLAGS += -DSQLITE_BYTEORDER=1234 endif +ifneq (,$(filter ppc64,$(DEB_HOST_ARCH))) + CC := gcc + CXX := g++ +endif + # Reduce memory usage of the linker at the expense of processing time # This should help on lower-end architectures like arm and mips, which # spend an immense amount of time swapping.