Re: Buildfailures with ld.lld

2017-08-14 Thread Johannes Jost Meixner
Now after some more testing it appears that this is due to HardenedBSD setting WITH_LLD_BOOTSTRAP and me setting WITHOUT_LLD_IS_LD=yes, which isn't supported in src/lib/clang/llvm/Makefile in this combination. I've tested that the patch attached builds the bootstrapped lld successfully and fixes t

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
On Mon, Aug 14, 2017 at 08:01:08PM +0200, Dimitry Andric wrote: > On 14 Aug 2017, at 19:41, Shawn Webb wrote: > > > > On Mon, Aug 14, 2017 at 07:38:28PM +0200, Dimitry Andric wrote: > >> On 14 Aug 2017, at 18:40, Shawn Webb wrote: > >>> > >>> On Mon, Aug 14, 2017 at 07:28:39PM +0300, Johannes J

Re: Buildfailures with ld.lld

2017-08-14 Thread Dimitry Andric
On 14 Aug 2017, at 19:41, Shawn Webb wrote: > > On Mon, Aug 14, 2017 at 07:38:28PM +0200, Dimitry Andric wrote: >> On 14 Aug 2017, at 18:40, Shawn Webb wrote: >>> >>> On Mon, Aug 14, 2017 at 07:28:39PM +0300, Johannes Jost Meixner wrote: I'm seeing a few `undefined references` trying to bu

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
On Mon, Aug 14, 2017 at 07:38:28PM +0200, Dimitry Andric wrote: > On 14 Aug 2017, at 18:40, Shawn Webb 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.

Re: Buildfailures with ld.lld

2017-08-14 Thread Dimitry Andric
On 14 Aug 2017, at 18:40, Shawn Webb 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 missi

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
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/

Buildfailures with ld.lld

2017-08-14 Thread Johannes Jost Meixner
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? -- Best regards, Johannes Meixner Perceivon OÜ Pikk 7-17 10123 Tallinn tel: +372 5855 1779 web: http://www.perceivon.net