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: gcc/gdb/as/ld issue


Despite much effort I've not been able to reproduce the problem with a small
test case. However, the patch in this email fixes the problem:
http://sources.redhat.com/ml/binutils/2004-03/msg00387.html. Any chance of
getting that applied as an update to 2.14?

-- 
Andy, BlueArc Engineering 



> -----Original Message-----
> From: Nick Clifton [mailto:nickc@redhat.com]
> Sent: 12 March 2004 11:25
> To: Andy Chittenden
> Cc: 'binutils@sources.redhat.com'
> Subject: Re: gcc/gdb/as/ld issue
> 
> 
> Hi Andy,
> 
> > We've recently started to use partially linked images for 
> some of our
> > libraries in order to speed up the final link (ie we use -r 
> option with
> > --whole-archive). And this has stopped gdb working with:
> >
> > ../../src/gdb/gdbtypes.c:515: gdb-internal-error: 
> make_cv_type: Assertion
> > `TYPE_OBJFILE (*typeptr) == TYPE_OBJFILE (type) || 
> TYPE_STUB (*typeptr)'
> > failed.
> >
> > Is this a bug in ld when generating partial images given 
> that it works if I
> > use whole libraries generated by ar instead?
> >
> > FYI we're configuring the toolchain for powerpc-eabi target.
> 
> There is definitely a bug somewhere, although at this stage we cannot
> tell whether it is in the linker or gdb.  Please could you put
> together a *small* testcase that demonstrates the problem, so that it
> can be investigated further ?
> 
> Cheers
>         Nick
>         
> 
> 


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