Project

General

Profile

Actions

Bug #1668

closed

Position-Independent Executable (PIE) Support on HardenedBSD

Added by Shawn Webb over 8 years ago. Updated 5 months ago.

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

2016-01-12_suricata-3.0.r3.log (329 KB) 2016-01-12_suricata-3.0.r3.log Shawn Webb, 01/12/2016 04:12 PM
Actions

Also available in: Atom PDF