[Bug 240850] sysutils/coreutils fails to build with PIE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 4 06:39:56 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240850

--- Comment #5 from dewayne at heuristicsystems.com.au ---
(In reply to dewayne from comment #4)
Just to clarify.  I can successfully build coreutils packages on both i386
(march=prescott) and amd64 (march=haswell).

Using CFLAGS+=-fPIE and LDFLAGS+=-fpie (per Miyashita's comment), I can build
and install corefiles (on both i386 and amd64), but when a package is attempted
these prevent the package:

pkg-static: Unable to access file
/usr/ports/sysutils/coreutils/work/stageusr/local/bin/gstdbuf:No such file or
directory
pkg-static: Unable to access file
/usr/ports/sysutils/coreutils/work/stageusr/local/libexec/coreutils/libstdbuf.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/sysutils/coreutils/work/stageusr/local/man/man1/gstdbuf.1.gz:No such
file or directory
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list