[llvm-dev] llvm-config with shared libraries in cmake builds broken (since r257003?)

Andrew Wilkins via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 7 17:43:08 PST 2016


On Fri, 8 Jan 2016 at 06:25 Andrew Wilkins <axwalk at gmail.com> wrote:

> On Fri, 8 Jan 2016 at 05:37 Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>
>> On 07.01.2016 15:53, Nicolai Hähnle wrote:
>> > since today, I get:
>> >
>> > $ llvm-config --link-shared --libs engine
>> > llvm-config: error: libLLVM-3.8svn.so is missing
>> >
>> > Looking at the log, this is most likely caused by your recent change.
>> > cmake shared library builds generate separate .so files analogous to the
>> > static library builds, e.g. libLLVMCodeGen.so (no version suffix,
>> > curiously enough). It would be nice if that wasn't broken :)
>>
>> After more investigation and help from Tom Stellard, it turns out that
>> setting BUILD_SHARED_LIBS=on is what isn't supported with that change to
>> llvm-config.
>>
>
> Nicolai,
>
> Sorry, I monitored the buildbots but clearly they don't test that
> configuration. I'll get onto it right away.
>

Nicolai,

My proposed fix is here: http://reviews.llvm.org/D15986. If you could test
it out, that would be great.

Cheers,
Andrew


>
>> > Cheers,
>> > Nicolai
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160108/5ef8dd2c/attachment.html>


More information about the llvm-dev mailing list