Page MenuHomeFreeBSD

Link efi programs with -pie rather than -shared
ClosedPublic

Authored by arichardson on May 9 2020, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 5:10 PM
Unknown Object (File)
Sat, Oct 26, 2:07 PM
Unknown Object (File)
Thu, Oct 24, 4:39 AM
Unknown Object (File)
Oct 5 2024, 4:26 AM
Unknown Object (File)
Oct 1 2024, 4:39 PM
Unknown Object (File)
Sep 19 2024, 6:36 AM
Unknown Object (File)
Sep 6 2024, 3:04 AM
Unknown Object (File)
Aug 28 2024, 5:34 AM

Details

Summary

This was causing build failures in CheriBSD where we were passing -pie
already by default.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks like this breaks aarch64, I got a "Synchronous exception" after the loader detects filesystems. Rebuilding after reverting the change fixed it.

In D24787#550414, @greg_unrelenting.technology wrote:

Looks like this breaks aarch64, I got a "Synchronous exception" after the loader detects filesystems. Rebuilding after reverting the change fixed it.

Does this fix it? https://github.com/CTSRD-CHERI/cheribsd/commit/ef7b5749427620d6ee1c9834ea6a264f816e99ea

In D24787#550414, @greg_unrelenting.technology wrote:

Looks like this breaks aarch64, I got a "Synchronous exception" after the loader detects filesystems. Rebuilding after reverting the change fixed it.

Does this fix it? https://github.com/CTSRD-CHERI/cheribsd/commit/ef7b5749427620d6ee1c9834ea6a264f816e99ea

Yes.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 12 2020, 11:27 AM
This revision was automatically updated to reflect the committed changes.