[llvm-commits] make utils/GenLibDeps.pl ignore 'D' lines from nm

Nick Lewycky nicholas at mxc.ca
Tue Feb 17 23:40:13 PST 2009


Duncan Sands wrote:
> Hi Nick,
> 
>>> How about just ignoring __dso_handle?  This might be enough to work
>>> around the gold bug.  I don't much like the idea of ignoring all 'D'
>>> symbols (externally visible globals with initial value).
>> That works for me. I've attached the patch, let me know if it works for 
>> you and I'll commit it!
> 
> thanks for doing this.  On my system I also have to ignore
> '__stack_chk_fail_local'.  Revised patch attached.

Erk! I don't really like playing whack-a-mole.

Just to be clear, this is all just a work-around the fact that gold is 
miscompiling (well, mislinking) the binaries, right?

Nick



More information about the llvm-commits mailing list