Re: Bug#1105090 closed by Debian FTP Masters <ftpmaster@ftp-master.debian.org> (reply to Mike Hommey <glandium@debian.org>) (Bug#1105090: fixed in firefox 138.0.3-1)
Control: reopen -1
Hi Mike,
thanks for quickly taking care of this!
Unfortunately, your approach does not work, it still tries to use lld.
I suggest using my patch which overrides the default compiler for powerpc,
ppc64 and sparc64:
diff --git a/debian/rules b/debian/rules
index eb6dd1b73d0..6c46bcb9fec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -113,6 +113,11 @@ ifneq (,$(filter mips%,$(DEB_HOST_ARCH)))
CONFIGURE_FLAGS += --disable-webrtc
endif
+ifneq (,$(filter powerpc ppc64 sparc64,$(DEB_HOST_ARCH)))
+ CC := gcc
+ CXX := g++
+endif
+
ifeq (default,$(origin CC))
ifneq (,$(filter-out bullseye bookworm,$(DIST)))
CC := clang
I have verified this to work.
As for powerpc and sparc64: Firefox can be built on these targets by using
the output generated by NodeJS on x86_64 and injecting the files there. I
am currently working on a mechanism to integrate this into the Debian package.
The idea comes from the Oracle Solaris developers which use this approach to
build Firefox for Solaris SPARC [1].
Adrian
> [1] https://github.com/oracle/solaris-userland/tree/master/components/desktop/firefox/wrapper-node
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: