Page MenuHomeFreeBSD

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

Authored by emaste on Sep 17 2018, 1:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 6, 4:09 AM
Unknown Object (File)
Fri, Jan 31, 5:13 PM
Unknown Object (File)
Thu, Jan 30, 3:57 AM
Unknown Object (File)
Dec 11 2024, 12:11 PM
Unknown Object (File)
Dec 6 2024, 9:01 AM
Unknown Object (File)
Nov 28 2024, 1:38 AM
Unknown Object (File)
Nov 14 2024, 11:45 PM
Unknown Object (File)
Sep 30 2024, 9:10 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.