AIX 4.1 broken (was: Re: Branching for 2.12)

Alexandre Oliva aoliva@redhat.com
Wed Jan 30 17:06:00 GMT 2002


On Jan 30, 2002, Alexandre Oliva <aoliva@redhat.com> wrote:

> collect2: stage1/libgcc.a: not a COFF file

> Interestingly, `ar t' from binutils 2.11 shows the archive members
> just fine, but that from CVS mainline gives:

> BFD: BFD 2.11.93 20020129 assertion fail /home/lsd/oliva/src/tool/egcs/bfd/libbfd.c:1110

> before proceeding to list all archive members correctly.

> I'll try to look further into it tomorrow.

The reason it fails is that _bfd_xcoff_slurp_armap() calls H_GET_64(),
but this macro calls bfd_getb64() that BFD_FAIL()s ifndef BFD64.  AIX
4.1 is not a 64-bit architecture, so it's reasonable that BFD64 is not
defined, but where is the error: should _bfd_xcoff_slurp_armap() be
fixed so as to not call H_GET_64() ifndef BFD64 or should bfd_getb64
do its job regardless of the macro?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Binutils mailing list