[LLVMdev] [lld] A primitive program linked by lld core dumps

Rafael Auler rafaelauler at gmail.com
Fri Sep 26 06:32:59 PDT 2014


Thanks for reporting, I'll look into this.

Could you send me in a private message the binary attached?

Thanks,
Rafael

On Fri, Sep 26, 2014 at 10:24 AM, Oleg Ranevskyy <llvm.mail.list at gmail.com>
wrote:

> Hi,
>
> I've encountered a newly introduced bug in lld today.
>
> I am building my program with clang and lld on an X86-64 Ubuntu Linux
> machine.
> Command line:
>     clang main.c
>
> The compiled program invokes the "main" function multiple times until it
> closes with a segmentation fault.
> This affects even the most primitive programs like "int main() { return 0;
> }".
>
> The problem was introduced at the revision 218259 - [ELF] Fix linking when
> a regular object defines a symbol that is used in a DSO.
>
> Would you be able to take a look at this please?
>
> Thank you.
>
> Kind regards,
> Oleg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140926/8c588b31/attachment.html>


More information about the llvm-dev mailing list