Mailinglist Archive: opensuse-factory (188 mails)

< Previous Next >
Re: [opensuse-factory] LLVMgold vs. liblto_plugin for ar
On Sun, 16 Dec 2018, Werner LEMBERG wrote:

[I'm using leap 42.3, but I guess it's a generic question, so I'm
writing to this list.]


is there any documentation that explains the differences, strengths,
advantages, etc., between the `' plugin for `ar' and
`' from gcc?

On leap 42.3, a link to the former is installed by default in
`/usr/lib/bfd-plugins', while I have to create a link for the latter
if I want to use it (using ar's `--plugin' option, or removing the
link to `') – I guess this is still the case with

Reason for my question is a crash in `', see

To circumvent the issue I wonder whether it makes sense to simply
replace the plugin with gcc's version, but I can't find any background
information whether this is sensible...

Leap 45.0 has the GCC in /usr/lib/bfd-plugins.

I guess the LLVM one is needed to inspect LLVM "lto" archives
and so is the GCC one for GCC lto archives.


Richard Biener <rguenther@xxxxxxx>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB
21284 (AG Nuernberg)
< Previous Next >
Follow Ups