bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20267] ld.bfd crash when link with LLVMgold.so plugin


From: zyfwong at gmail dot com
Subject: [Bug ld/20267] ld.bfd crash when link with LLVMgold.so plugin
Date: Sat, 18 Jun 2016 02:23:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20267

--- Comment #4 from huang zhenyu <zyfwong at gmail dot com> ---
(In reply to H.J. Lu from comment #2)
> (In reply to huang zhenyu from comment #0)
> 
> > If I add one more check after `bfd_check_format`, it seems that the problem
> > is fixed:
> > 
> >   if (abfd->plugin_format == bfd_plugin_yes)
> >     return FALSE;
> 
> This will ignore archive with IR.

I've tried this in one of my project, seems to work fine.

Your second patch seems fix this problem, I've tried it with the same project,
no segfault, and produce same binary.

Thanks for your quick replying.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]