This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gcc/gdb/as/ld issue
- From: Andy Chittenden <achittenden at bluearc dot com>
- To: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Thu, 11 Mar 2004 16:07:21 -0000
- Subject: gcc/gdb/as/ld issue
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.
--
Andy, BlueArc Engineering