Date: Fri, 02 Mar 2018 17:19:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226302] lang/php72: DTRACE option on PowerPC causes ld(1) link probe failures; Relocations in generic ELF Message-ID: <bug-226302-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226302 Bug ID: 226302 Summary: lang/php72: DTRACE option on PowerPC causes ld(1) link probe failures; Relocations in generic ELF Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tz@freebsd.org Reporter: chip.cuccio@gmail.com CC: freebsd-powerpc@FreeBSD.org CC: freebsd-powerpc@FreeBSD.org Flags: maintainer-feedback?(tz@freebsd.org) Assignee: tz@freebsd.org Created attachment 191139 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191139&action= =3Dedit 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 DTR= ACE, 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). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226302-13>