So i started compile firefox-be on debian sid on powermac g5 before patch and compile gnu icecat, so i get some errors.
0:29.13 checking whether the C linker supports -Wl,-z,now... no
0:29.29 checking whether the C linker supports -Wl,-z,nocopyreloc... no
0:29.39 checking whether the C assembler supports -fPIC... yes
0:29.49 checking whether the C compiler supports -fPIC... yes
0:29.62 checking whether the C++ compiler supports -fPIC... yes
0:30.01 checking what kind of list files are supported by the linker...
0:30.01 DEBUG: Creating `/tmp/conftestkvp2dly1.c` with content:
0:30.01 DEBUG: | int main() {}
0:30.02 DEBUG: Executing: `/usr/bin/ccache /usr/bin/gcc -std=gnu17 /tmp/conftestkvp2dly1.c -c -o /tmp/conftestk9ytmc7_.o`
0:30.03 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out -Wl,@/tmp/conftest3ocvb5pe.list`
0:30.03 DEBUG: The command returned non-zero exit status 1.
0:30.03 DEBUG: Its error output was:
0:30.04 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
0:30.04 DEBUG: | collect2: error: ld returned 1 exit status
0:30.05 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out -Wl,@/tmp/conftest3ocvb5pe.list`
0:30.05 DEBUG: The command returned non-zero exit status 1.
0:30.06 DEBUG: Its error output was:
0:30.06 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
0:30.06 DEBUG: | collect2: error: ld returned 1 exit status
0:30.07 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out @/tmp/conftest3ocvb5pe.list`
0:30.07 DEBUG: The command returned non-zero exit status 1.
0:30.08 DEBUG: Its error output was:
0:30.08 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
0:30.09 DEBUG: | collect2: error: ld returned 1 exit status
0:30.10 E ERROR: Couldn't find one that works
0:30.76 E *** Fix above errors and then restart with "./mach build"
------------------------------------------------------------------------------------------------------
Package: lld
Version: 1:21.1.6-71+b1
Priority: optional
Section: devel
Source: llvm-defaults (0.71)
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Installed-Size: 20.5 kB
Depends: lld-21 (>= 1:21.1.6-1)
Download-Size: 3,884 B
APT-Manual-Installed: yes
APT-Sources:
http://deb.debian.org/debian-ports sid/main ppc64 Packages
Description: LLVM-based linker
LLD is a new, high-performance linker. It is built as a set of reusable
components which highly leverage existing libraries in the larger LLVM
Project.
So i changed lld for bfd, like: ac_add_options --enable-linker=bfd which seems to work atm for compile.