bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23928] ar crash within LLVMgold.so module


From: nickc at redhat dot com
Subject: [Bug binutils/23928] ar crash within LLVMgold.so module
Date: Thu, 29 Nov 2018 06:00:01 +0000

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

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Werner

> I installed all necessary debug symbols; however, the very last call is
> still shown as `??' in the backtrace (deep in dlopened stuff).  

What about the function before the '??'.   That will probably give you a 
clue as to where the problem is occurring.


> What do you
> recommend to make ar and LLVMgold.so spit out more debugging information?

Recompile them with the -g debugging option enabled.  (I am guessing that
they were compiled without it, at least in the environment that you are using).


> BTW, what I would like to have for such situations is an option to disable
> plugins with a command line option, for example `--plugin=""'.

Sadly I do not believe that such an option exists.  You can however capture
the command line being used to invoke the plugin, and then just replay it
with the plugin options removed.


> Finally, where can I find a description of the differences between
> `LLVMgold.so' and gcc's `liblto_plugin'?  Even a more intensive search in
> the internet didn't show up anything useful...

I do not think that such a document exists.  The only real recourse is to
read the source code for each of them, and compare how they work.

Cheers
  Nick

-- 
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]