Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 22:05:50 -0230
From:      "Jonathan Anderson" <jonathan@FreeBSD.org>
To:        "Ed Maste" <emaste@freebsd.org>
Cc:        "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org>
Subject:   Re: LLDB build failure
Message-ID:  <699770A1-D43C-4130-801C-73DF556224D8@FreeBSD.org>
In-Reply-To: <0EFCC62F-4523-49D7-9DEB-20CF8F939239@FreeBSD.org>
References:  <F9649E8C-3371-47AC-93EE-0F107F4B8C3D@FreeBSD.org> <CAPyFy2BG6DtMKa12pMbyiqfh1eLyvTnihF30QYxU5BoMH7S60w@mail.gmail.com> <0EFCC62F-4523-49D7-9DEB-20CF8F939239@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 Jul 2016, at 16:28, Jonathan Anderson wrote:

> On 19 Jul 2016, at 18:07, Ed Maste wrote:
>
>> On 19 July 2016 at 13:40, Jonathan Anderson <jonathan@freebsd.org> =

>> wrote:
>>> Hello toolchain@,
>>>
>>> When building a recent (r275944) LLDB on stable/11, I've encountered =

>>> build
>>> failures in tools/lldb-mi (missing symbol llvm_regexec, need to link =

>>> against
>>> LLVMSupport). This problem doesn't occur on (at least) OS X, so =

>>> perhaps the
>>> LLVM build bots don't see it.
>>
>> We have a FreeBSD 11 LLDB build bot, which was green as of r272672:
>> http://lab.llvm.org:8011/builders/lldb-amd64-ninja-freebsd11
>> although I'm not certain exactly what it tests. I build regularly on
>> my stable/10 desktop though and lldb-mi built successfully.
>
> I'm attempting to build with BUILD_SHARED_LIBS=3DON... could that =

> explain the difference? Should I expect that configuration to work? It =

> has a dramatic effect on build times for LLVM-based tools.

So this is interesting: the build succeeds in Release mode but fails in =

Debug:

https://allendale.engr.mun.ca/jenkins/job/LLVM-cadets/BUILD_TYPE=3DReleas=
e/43/consoleFull
https://allendale.engr.mun.ca/jenkins/job/LLVM-cadets/BUILD_TYPE=3DDebug/=
43/consoleFull

With BUILD_SHARED_LIBS=3DOFF, both builds succeed.


Jon
--
Jonathan Anderson
jonathan@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699770A1-D43C-4130-801C-73DF556224D8>