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/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Brooks Davis <brooks@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245189-227-RWUXFwoLSz>