Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2020 17:26:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245189] Building world WITH_BEARSSL=1 and WITH_PIE=1 is currently broken
Message-ID:  <bug-245189-227-RWUXFwoLSz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245189-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245189-227@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=3D245189

--- Comment #2 from Brooks Davis <brooks@FreeBSD.org> ---
This at least allows veriexec to build.=20=20

diff --git a/sbin/veriexec/Makefile b/sbin/veriexec/Makefile
index 8039a8295ccd..8aebfd8d9732 100644
--- a/sbin/veriexec/Makefile
+++ b/sbin/veriexec/Makefile
@@ -9,6 +9,7 @@ SRCS=3D \

 LIBADD+=3D veriexec secureboot bearssl

+MK_PIE=3Dno
 NO_SHARED=3D

 .include <bsd.prog.mk>


I'm then getting other issues, but the are unrelated.
ld: error: can't create dynamic relocation R_X86_64_32 against local symbol=
 in
r
eadonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' =
to
al
low text relocations in the output=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
>>> defined in pmc.o=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
>>> referenced by pmc.c:91 (/home/bed22/git/freebsd/usr.sbin/pmc/pmc.c:91)=
=20=20=20=20=20=20
>>>               pmc.o:(main)

--=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-245189-227-RWUXFwoLSz>