Bug 234714

Summary: lang/php73: does not build with lld as the system linker
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Torsten Zuehlsdorff <tz>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me CC: emaste
Priority: --- Flags: bugzilla: maintainer-feedback? (tz)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230207
Bug Depends on:    
Bug Blocks: 214864    

Description Ed Maste freebsd_committer 2019-01-07 21:56:08 UTC
*** Warning: Linking the shared library libphp7.la against the non-libtool
*** objects  Zend/zend_dtrace.d.o is not portable!
/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: date_ce_date in readonly segment; recompile object files with -fPIC
>>> defined in ext/date/.libs/php_date.o
>>> referenced by php_date.c
>>>               ext/date/.libs/php_date.o:(php_date_get_date_ce)

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: date_ce_immutable in readonly segment; recompile object files with -fPIC
>>> defined in ext/date/.libs/php_date.o
>>> referenced by php_date.c
>>>               ext/date/.libs/php_date.o:(php_date_get_immutable_ce)
...

from http://package18.nyi.freebsd.org/data/headi386PR214864-default/2018-11-20_18h17m09s/logs/errors/php73-7.3.0.r5.log
Comment 1 Ed Maste freebsd_committer 2019-01-07 22:05:08 UTC
Oops, submitted by accident based on an old exp-run.