On 12 Jan 2018, at 18:04, Shawn Webb <shawn.w...@hardenedbsd.org> wrote:
> 
> On Fri, Jan 12, 2018 at 10:26:59AM -0500, Shawn Webb wrote:
>> On Fri, Jan 12, 2018 at 04:17:50PM +0100, Dimitry Andric wrote:
>>> On 12 Jan 2018, at 15:38, Shawn Webb <shawn.w...@hardenedbsd.org> wrote:
>>>> 
>>>> I know it's early in the game, but I thought I'd report this anyways.
>>>> I have lld as the default linker (MK_LLD_IS_LD=yes). When lld tries to
>>>> link usr.bin/clang/llvm-extract/llvm-extract, lld errors out with some
>>>> unresolved symbols. The log is below.
>>>> 
>>>> Has anyone else run into this?
>>>> 
>>>> /usr/obj/scratch/hbsd-playground/amd64.amd64/tmp/usr/bin/ld: error: 
>>>> undefined symbol: compressBound
>>>>>>> referenced by Compression.cpp:63 
>>>>>>> (/scratch/hbsd-playground/contrib/llvm/lib/Support/Compression.cpp:63)
>>>>>>>             Compression.o:(llvm::zlib::compress(llvm::StringRef, 
>>>>>>> llvm::SmallVectorImpl<char>&, llvm::zlib::CompressionLevel)) in archive 
>>>>>>> /usr/obj/scratch/hbsd-playground/amd64.amd64
>>>> /lib/clang/libllvm/libllvm.a
...
> I've attached a patch which allows buildworld to succeed on
> HardenedBSD's retpoline branch.

Committed in r327918.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to