This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: binutils-2.14: gmake check fails on Solaris9.


 

> -----Original Message-----
> From: binutils-owner On Behalf Of Hugh Sasse Staff Elec Eng
> Sent: 12 March 2004 17:33

> I thought the ld was being invoked (silently) by gcc, so I'd 
> never find the command line?

"gcc -v" shows all the intermediate command lines to the sub-programs.  Just
copy and paste the arguments list from the output of that to the "set arg"
command in gdb.

> > Another very useful thing, since this appears to be a memory 
> > corruption problem, would be to turn on malloc() debugging. 
>  I am not 
> > familiar with Solaris9 so I do not know if it has this feature, but 
> > under Linux you can set a magic environment variable to have the 
> > loader choose a debugging malloc shared library instead of 
> the normal 
> > one.
> 
> Interesting: I'm trying to build this with gnu ld and gcc, so 
> I should have access to that feature while avoiding the sun 
> tools, shouldn't I?

It's a linux feature, not a gcc feature, alas.


>  Or should I poke around for electric 
> fence and ... wotsit? 

valgrind, perhaps?



    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]