FS#53653 - [gcc] Build with --enable-default-pie

Attached to Project: Arch Linux
Opened by Danny Navarre (asuzeb) - Wednesday, 12 April 2017, 13:14 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 12 April 2017, 13:19 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There was intent to do this before, see https://lists.archlinux.org/pipermail/arch-dev-public/2016-October/028405.html but it stalled. Now with new maintainer on board we could make it finally happen.

Debian and Alpine distributions enabled this already so we can use their effort as a guidance. Here are buildlog from official Debian package https://buildd.debian.org/status/logs.php?pkg=binutils&ver=2.28-3&arch=amd64 and Alpine PKGBUILD https://git.alpinelinux.org/cgit/aports/tree/main/gcc/APKBUILD?h=master .

There are potential issues with binutils package which were reported upstream here https://sourceware.org/bugzilla/show_bug.cgi?id=21090 . I don't think upstream see this as something serious. We can consult again with Debian buildlog https://buildd.debian.org/status/logs.php?pkg=binutils&ver=2.28-3&arch=amd64 and Alpine PKGBUILD https://git.alpinelinux.org/cgit/aports/tree/main/binutils/APKBUILD?h=master . Our new maintainer as a fellow Alpinist probably has more knowledge on that matter.

Enabling PIE is very important from security perspective as it enable use of ASLR https://en.wikipedia.org/wiki/Address_space_layout_randomization

This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 12 April 2017, 13:19 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49791 

Loading...