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/> 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 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} !=3D "no" PIEOBJS+=3D ${OBJS:.o=3D.pieo} ... _LIBS+=3D lib${LIB_PRIVATE}${LIB}_pie.a The problem is that veriexec is NO_SHARED=3D which means it wants to link t= o the PIE archives that don't exist. There are a bunch of options here: * have NO_SHARED imply MK_PIE=3Dno (or just set it in sbin/veriexec/Makefi= le) * always build _pie.a archives when PIE is enabled. * add some sort of PIELIB=3D to enable the _pie.a archive in select librar= ies * make these libraries into INTENRALLIBS I've got a build in progress testing adding MK_PIE=3Dno to sbin/veriexec/Ma= kefile --=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-T8aW9mGGD6>