[Bug 230207] lang/php56 (and others) fail to link with lld as /usr/bin/ld on i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 23:46:51 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230207

            Bug ID: 230207
           Summary: lang/php56 (and others) fail to link with lld as
                    /usr/bin/ld on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 214864
          Assignee: ale at FreeBSD.org
             Flags: maintainer-feedback?(ale at FreeBSD.org)

The migration to the LLVM project's lld linker as the system linker
(/usr/bin/ld) for FreeBSD is in progress - it is the case for arm64 and amd64
today, and i386 will switch once ports issues are addressed - see exp-run in
PR214864.

Attempting to link php produces many errors of the form:

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
php_date_global_timezone_db 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:(zif_strtotime)

http://package18.nyi.freebsd.org/data/headi386PR214864-default/2018-07-30_18h09m59s/logs/errors/php56-5.6.37.log

This applies to lang/php56, lang/php70, lang/php71, lang/php72


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list