Date: Tue, 31 Mar 2020 16:41:35 +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-T8aW9mGGD6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <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 Brooks Davis <brooks@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brooks@FreeBSD.org --- Comment #1 from Brooks Davis <brooks@FreeBSD.org> --- I prodded this a little and I think the logic for when to build _pie.a libraries may be wrong. Right now it only happens when: .if defined(INTERNALLIB) && ${MK_PIE} != "no" PIEOBJS+= ${OBJS:.o=.pieo} ... _LIBS+= lib${LIB_PRIVATE}${LIB}_pie.a The problem is that veriexec is NO_SHARED= which means it wants to link to the PIE archives that don't exist. There are a bunch of options here: * have NO_SHARED imply MK_PIE=no (or just set it in sbin/veriexec/Makefile) * always build _pie.a archives when PIE is enabled. * add some sort of PIELIB= to enable the _pie.a archive in select libraries * make these libraries into INTENRALLIBS I've got a build in progress testing adding MK_PIE=no to sbin/veriexec/Makefile -- 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-T8aW9mGGD6>
