Date: Fri, 27 Sep 2019 01:44:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240850] sysutils/coreutils fails to build with PIE Message-ID: <bug-240850-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240850 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@FreeBSD.org Reporter: imagin8r@protonmail.com CC: jharris@widomaker.com Flags: maintainer-feedback?(jharris@widomaker.com) Created attachment 207865 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207865&action= =3Dedit 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/coreutil= s/libstdbuf.so failed: No such file or directory *** Error code 1 To reproduce: 1) enable WITH_PIE=3Dyes 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+=3D -fPIE CXXFLAGS+=3D -fPIE LDFLAGS+=3D -pie 4) build the port Perhaps it just needs an updated plist file. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240850-7788>