Actions
Bug #1668
closedPosition-Independent Executable (PIE) Support on HardenedBSD
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:
Description
It seems that attempting to compile as a PIE on HardenedBSD (and likely FreeBSD) causes linking errors. Attached is a build log. The HardenedBSD ports entry for suricata can be found here: https://github.com/HardenedBSD/hardenedbsd-ports/tree/master/security/suricata
I added a USES flag that forces the linker to attempt to link as a pie (LDFLAGS=-pie). I also added a USES flag that forces the linker to link with RELRO support.
Files
Actions