LLDB build failure
Jonathan Anderson
jonathan at FreeBSD.org
Fri Jul 22 00:34:02 UTC 2016
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 at 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=ON... 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=Release/43/consoleFull
https://allendale.engr.mun.ca/jenkins/job/LLVM-cadets/BUILD_TYPE=Debug/43/consoleFull
With BUILD_SHARED_LIBS=OFF, both builds succeed.
Jon
--
Jonathan Anderson
jonathan at FreeBSD.org
More information about the freebsd-toolchain
mailing list