Created attachment 191139 [details] lang/php72 Makefile patch to exclude DTRACE option from powerpc arch. DTRACE option exclusions exist for a couple other archs exhibiting this behavior. However, PowerMC is not one of the exclusions. When selecting DTRACE, the build will fail with linking/relocation errors: *** Warning: Linking the shared library libphp7.la against the non-libtool *** objects Zend/zend_dtrace.d.o is not portable! /usr/bin/ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-ppc.c:3606 /usr/bin/ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-ppc.c:6579 gcc: Internal error: Segmentation fault (program ld) I have attached a patch which will exclude the DTRACE option in the lang/php72/Makefile for the powerpc arch (tested locally on two powerpc's).
I have also seen this on my builds. I already have permission from tz@ to commit for armvX and so I will roll this into my next commit. (I still need to test on amd64 to prove "do no harm".) tz, you can assign this one to me if you wish.
Great, thanks for taking care of it! :)
Committed as r464849.