Created attachment 180466 [details] devel/pear poudriere build log When WITH_LLD_IS_LD is set, the stage phase for devel/pear breaks. Log is attached. `uname -a`: FreeBSD hbsd-build-02 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD #0 06a32aaebc0(hardened/current/master): Fri Mar 3 01:48:30 EST 2017 shawn@hbsd-build-02:/usr/obj/usr/src/sys/LATT-POUDRIERE amd64
Hi, Are you sure you haven't accidentally disabled php zlib support? from your log it looks like it. local package: Structures_Graph.... The extension 'zlib' couldn't be found. Please make sure your version of PHP was built with 'zlib' support.
(In reply to Martin Wilke from comment #1) I don't have any custom options set for any of the PHP ports. I'm thinking that this is due to lld not being 100% ready to serve as a complete replacement for GNU ld. I can test with both GNU ld and lld this weekend and report back.
(In reply to Shawn Webb from comment #2) Okay cool, appreciate your effort. - Martin
These parts in the log file look suspicious: ===> Staging for pear-1.10.1 ===> Generating temporary packing list PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/xml.so' - /usr/local/lib/php/20131226/xml.so: Undefined symbol "executor_globals" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/zlib.so' - /usr/local/lib/php/20131226/zlib.so: Undefined symbol "OnUpdateLong" in Unknown on line 0 Warning: dl(): Unable to load dynamic library '/usr/local/lib/php/20131226/xml.so' - /usr/local/lib/php/20131226/xml.so: Undefined symbol "executor_globals" in /wrkdirs/usr/ports/devel/pear/work/pear-1.10.1/go-pear on line 581 E.g. it's complaining about a bunch of missing symbols in PHP .so files. Maybe these symbols have disappeared because of different behavior between GNU ld and lld?
Thank you for the report. At this point it's probably premature to submit PRs for individual failures with LLD. Rafael Espíndola and I are testing LLD head with Poudriere, and there's somewhat under 300 failures (and several hundred skipped), with WIP patches to both LLD and FreeBSD. There are known issues with libtool with LLD, which affects many ports. You can see the WIP on the FreeBSD ports side at https://github.com/emaste/freebsd-ports/tree/ports-lld
devel/pear built for me with lld 5.0.0 now in the base system - would you kindly confirm that it works for you?
I'll give it a shot late next week. Thanks for reminding me.
Any news here?
This bug can be closed. devel/pear builds fine now.