This is the mail archive of the binutils@sourceware.org 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.17: --cref broken? Extra warnings and corrupted data


On 7/18/06, Alan Modra <amodra@bigpond.net.au> wrote:
On Tue, Jul 18, 2006 at 08:44:31PM -0700, Paul R. Nash wrote:
> ../.././binutils-2.17/ld/ldcref.c: In function `handle_asneeded_cref':
> ../.././binutils-2.17/ld/ldcref.c:242: error: structure has no member
> named `count'
> ../.././binutils-2.17/ld/ldcref.c:283: error: structure has no member
> named `count'
> make[4]: *** [ldcref.o] Error 1
>
> Indeed, there is no count in my version of struct
> bfd_hash_table...actually there's no other usage of ".count" anywhere
> in ld at least. Is that mainline only?

Yes, you need a slightly different patch for 2.17.  Just delete all
occurrences of old_count in the patch you have, or pull the 2.17 version
from CVS binutils-2_17-branch.

Oh -- duh, I didn't realize the patch was in CVS already (not on that list)!


Okay, I applied this and rebuilt my toolchain, and everything is
working much better!

Thanks all...

-PN


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