Hello again, sorry to reopen this issue, but one part was skipped. It was just now found out, because it doesn't cause build issues, but only runtime issues (GCC fails to build binaries): /usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to `.__udivmodti4' /usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to `.__ctzdi2' /usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to `.__parityti2' /usr/local/bin/ld: /usr/local/lib/gcc10/libgcc_s.so: undefined reference to `.__enable_execute_stack' Could you commit the following patch: --- gcc/configure.orig 2021-04-29 10:19:44 UTC +++ gcc/configure @@ -29405,7 +29405,7 @@ $as_echo "#define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1" esac case "$target:$tm_file" in - powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) + powerpc64*-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) case "$target" in *le-*-linux*) emul_name="-melf64lppc" --- gcc/configure.ac.orig 2021-04-29 11:22:30 UTC +++ gcc/configure.ac @@ -5871,7 +5871,7 @@ EOF esac case "$target:$tm_file" in - powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) + powerpc64*-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) case "$target" in *le-*-linux*) emul_name="-melf64lppc" Thanks, Piotr Kubaj. On 20-12-16 16:23:09, Segher Boessenkool wrote: > On Tue, Dec 15, 2020 at 12:52:05AM +0100, Piotr Kubaj wrote: > > Yes, there is, thanks for noticing that! > > > > Fixed patch attached. > > Hi! > > Could you send this as plain text? It now is quoted-printable, which is > really hard to handle. > > Thanks! > > Hrm, this is really short, I'll just try to fix it by hand... Wish me > luck :-) > > > Segher --