[LLVMdev] [lld] -Bstatic / -Bdynamic switches handling

Oleg Ranevskyy llvm.mail.list at gmail.com
Wed Sep 17 07:31:08 PDT 2014


I see. Thank you, Simon.
I will look into this. I am just starting with lld, so this should help 
me get the initial vision of the lld's code while avoiding complicated 
lld stuff.

Warm wishes,
Oleg

On 17.09.2014 18:23, Simon Atanasyan wrote:
> AFAIK nobody works or plan to work on this issue. I cannot give a
> promise but if I have a time I will take a look at this bug.
>
> On Wed, Sep 17, 2014 at 6:17 PM, Oleg Ranevskyy
> <llvm.mail.list at gmail.com> wrote:
>> Do you know if there are any plans to add -Bdynamic support and make
>> -Bstatic/-Bdynamic compatible with GNU ld?
>> I am giving lld a try building the Boost libraries and this is a real show
>> stopper. Boost.Build passes both -Bstatic and -Bdynamic to the linker which
>> makes lld think the output file is static, so it totally ignores shared
>> libraries. This breaks the build as some libs do not have static
>> counterparts and the linker fails with the "library not found" error.
> --
> Simon




More information about the llvm-dev mailing list