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.15: sh-elf-ld segfault


On Fri, Mar 19, 2004 at 04:37:26PM +0100, Ralf Corsepius wrote:
> On Fri, 2004-03-19 at 16:08, Dave Murphy wrote:
> > I'm experiencing the same thing with an arm-elf target. The problem seems to
> > be related to having a statement of the form "__text_start = DEFINED (
> > <label> ) ? <value if true> : <value if false>;" in the link script and only
> > appears when generating a mapfile. In your case I'd guess the linkscript has
> > a line to set a default _HeapSize if one has not been defined already.
> 
> Exactly:
> _HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
> 
> And indeed, not generating the mapfile avoids the segfault.
> 
> > The most recent source from cvs no longer segfaults
> Hmm, binutils-2.15 as of this morning (CET) still segfault.

Could you try HEAD?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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