Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2020 06:39:53 +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-4FMzErzpoN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240850-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240850-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240850

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

Using CFLAGS+=3D-fPIE and LDFLAGS+=3D-fpie (per Miyashita's comment), I can=
 build
and install corefiles (on both i386 and amd64), but when a package is attem=
pted
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/libstdb=
uf.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

--=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-4FMzErzpoN>