Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2021 15:56:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253275] [exp-run] base system PIE default
Message-ID:  <bug-253275-7788-VDcn7hGvVe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253275-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253275-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=3D253275

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
I had a quick look at the logs, all appear to be link errors linking agains=
t an
object/library built by the port itself, for example from audio/play:

ld: error: can't create dynamic relocation R_X86_64_32 against local symbol=
 in
readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'=
 to
allow text relocations in the output
>>> defined in encode_riff.o
>>> referenced by encode_riff.c
>>>               encode_riff.o:(check_riff)

i.e. PIE flags are being added to link commands but not compiles.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253275-7788-VDcn7hGvVe>