Buildfailures with ld.lld

Dimitry Andric dim at FreeBSD.org
Mon Aug 14 17:38:37 UTC 2017


On 14 Aug 2017, at 18:40, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> 
> On Mon, Aug 14, 2017 at 07:28:39PM +0300, Johannes Jost Meixner wrote:
>> I'm seeing a few `undefined references` trying to build recent base on
>> HardenedBSD with clang 5.0.0:
>> 
>> https://dpaste.de/FThb/raw
>> 
>> Would you know what I am missing here?
> 
> Hey Johannes,
> 
> It looks like contrib/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
> isn't included in the Makefile for usr.bin/lld.
> 
> I'm wondering if the lib/DebugInfo/DWARF files should be included in
> usr.bin/lld/Makefile. dim@, could you verify?

Those files are already in lib/clang/libllvm/Makefile.  How can this
particular error be reproduced?  I just did a fresh clone of hardenedbsd
master, and it built just fine for me, with an empty make.conf and
src.conf.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20170814/d090a964/attachment.sig>


More information about the freebsd-toolchain mailing list