[Bug 245189] Building world WITH_BEARSSL=1 and WITH_PIE=1 is currently broken
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 31 17:33:02 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245189
--- Comment #2 from Brooks Davis <brooks at FreeBSD.org> ---
This at least allows veriexec to build.
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= \
LIBADD+= veriexec secureboot bearssl
+MK_PIE=no
NO_SHARED=
.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
>>> defined in pmc.o
>>> referenced by pmc.c:91 (/home/bed22/git/freebsd/usr.sbin/pmc/pmc.c:91)
>>> pmc.o:(main)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list