[PATCH] dependency list for static libraries

Nick Clifton nickc@redhat.com
Fri Nov 6 12:38:50 GMT 2020


Hi Howard,

> On a slightly related note - are linker plugins supposed to be compatible
> between ld and gold? 

Yes...

> I get a SEGV using gold:

Sorry I am not a gold expert.  Or C++ in general for that matter.

I would say that the bug must be at least partially in gold itself,
since it should never segfault.

One thing I did note however:

> 0  gold::Workqueue::add_to_queue (this=0x0, queue=0x8, t=0x555555bb3200, front=false)
>    at ../../binutils-gdb/gold/workqueue.cc:154

It would appear that the "this" pointer is NULL.
Presumably this means that the function/method is not being called from inside a class ?

Cheers
   Nick



More information about the Binutils mailing list