tags 337871 +patch thanks This error (use of gcc's old lvalue-cast extension) is in the gdb 6.1 code included in crash, and has been fixed in newer versions of gdb. Perhaps crash can be built using one of those? This is the upstream fix:
=================================================================== RCS file: /cvs/src/src/bfd/coff-alpha.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/bfd/coff-alpha.c 2004/04/30 14:23:39 1.20 +++ src/bfd/coff-alpha.c 2004/06/11 14:19:32 1.21 @@ -1455,7 +1455,7 @@ amt = sizeof (struct ecoff_section_tdata); lita_sec_data = ((struct ecoff_section_tdata *) bfd_zalloc (input_bfd, amt)); - ecoff_section_data (input_bfd, lita_sec) = lita_sec_data; + lita_sec->used_by_bfd = lita_sec_data; } if (lita_sec_data->gp != 0) -- Ben Hutchings Any sufficiently advanced bug is indistinguishable from a feature.
signature.asc
Description: This is a digitally signed message part