Page MenuHomeFreeBSD

lang/php*: link with -znotext on i386
ClosedPublic

Authored by emaste on Sep 17 2018, 1:33 PM.
Tags
None
Referenced Files
F83402077: D17193.diff
Fri, May 10, 12:35 AM
Unknown Object (File)
Sat, May 4, 5:07 AM
Unknown Object (File)
Sat, May 4, 3:32 AM
Unknown Object (File)
Thu, May 2, 1:32 AM
Unknown Object (File)
Mon, Apr 29, 11:02 PM
Unknown Object (File)
Sat, Apr 20, 1:21 PM
Unknown Object (File)
Mon, Apr 15, 5:50 AM
Unknown Object (File)
Mar 16 2024, 12:52 PM
Subscribers

Details

Summary

By default lld disallows relocations in read-only segments.

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: 230207

Aside: as I am not a ports committer I'm looking for one to provide explicit approval for commit.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 18 2018, 4:08 PM
This revision was automatically updated to reflect the committed changes.