[Bug 226302] lang/php72: DTRACE option on PowerPC causes ld(1) link probe failures; Relocations in generic ELF
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 2 17:19:13 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226302
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 at freebsd.org
Reporter: chip.cuccio at gmail.com
CC: freebsd-powerpc at FreeBSD.org
CC: freebsd-powerpc at FreeBSD.org
Flags: maintainer-feedback?(tz at freebsd.org)
Assignee: tz at freebsd.org
Created attachment 191139
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191139&action=edit
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).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list