[LLD] Cyclic dependency between ReaderWriter and YAML backend

Rui Ueyama ruiu at google.com
Mon Sep 2 17:14:28 PDT 2013


Never mind. I could reproduce the issue.

I think we'd want to move lib/ReaderWriter/CoreLinkingContext.cpp, which is
causing the circular dependency, to lib/ReaderWriter/Core or
lib/ReaderWriter/YAML, to remove the dependency from liblldReaderWriter to
libYAML. What do you think?


On Mon, Sep 2, 2013 at 4:33 PM, Rui Ueyama <ruiu at google.com> wrote:

> Hi Joerg,
>
> What command line did you use to test this patch? I rebuild lld with
> BUILD_SHARED_LIBS=on and it succeeded, wondering what I missed.
>
>
>  On Mon, Sep 2, 2013 at 3:09 AM, Joerg Sonnenberger <
> joerg at britannica.bec.de> wrote:
>
>>  Hi all,
>> when trying to build lld with BUILD_SHARED_LIBS=on, it fails due to a
>> dependency cyclic between lib/ReaderWriter and lib/ReaderWriter/YAML.
>> One possible solution is attached, but it is certainly not clean.
>>
>> Joerg
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/e88e70ab/attachment.html>


More information about the llvm-commits mailing list