[Bug 240850] sysutils/coreutils fails to build with PIE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 27 01:44:28 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240850
Bug ID: 240850
Summary: sysutils/coreutils fails to build with PIE
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: imagin8r at protonmail.com
CC: jharris at widomaker.com
Flags: maintainer-feedback?(jharris at widomaker.com)
Created attachment 207865
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207865&action=edit
build log
The coreutils port fails in the package stage with the following error on
12-STABLE amd64:
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/coreutils/work/coreutils-8.31'
strip: open
/wrkdirs/usr/ports/sysutils/coreutils/work/stage/usr/local/libexec/coreutils/libstdbuf.so
failed: No such file or directory
*** Error code 1
To reproduce:
1) enable WITH_PIE=yes in src.conf and rebuild (if it's not default)
2) set kern.elf64.aslr.enable and kern.elf64.aslr.pie_enable sysctls to 1
3) add the following to make.conf:
CFLAGS+= -fPIE
CXXFLAGS+= -fPIE
LDFLAGS+= -pie
4) build the port
Perhaps it just needs an updated plist file.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list