| Summary: | lang/php56 (and others) fail to link with lld as /usr/bin/ld on i386 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ed Maste <emaste> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed DUPLICATE | ||
| Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(ale) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | i386 | ||
| OS: | Any | ||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234714 | ||
| Bug Depends on: | |||
| Bug Blocks: | 214864 | ||
|
Description
Ed Maste
2018-07-30 23:46:49 UTC
*** This bug has been marked as a duplicate of bug 224442 *** A commit references this bug: Author: emaste Date: Tue Sep 18 16:08:02 UTC 2018 New revision: 480035 URL: https://svnweb.freebsd.org/changeset/ports/480035 Log: lang/php*: link with -znotext on i386 This port links some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864, 230207 Approved by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17193 Changes: head/lang/php56/Makefile head/lang/php70/Makefile head/lang/php71/Makefile head/lang/php72/Makefile A commit references this bug: Author: emaste Date: Thu Nov 22 20:20:58 UTC 2018 New revision: 485615 URL: https://svnweb.freebsd.org/changeset/ports/485615 Log: lang/php73: link with -znotext on i386 This port links some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864, 230207 Sponsored by: The FreeBSD Foundation Changes: head/lang/php73/Makefile |