64-bit BFD compile on AIX 5.1

Chris Chambreau chcham@llnl.gov
Mon Jun 2 21:08:00 GMT 2003


Nick,

Thanks for your help.  I'm having a bit better luck now.  However, I did run 
into a case where I was getting a segfault in coff_find_nearest_line in 
coffgen.c.  It looks like in some cases sec_data could fall through to the 
end of the function without getting initialized.  Initializing sec_data to 
NULL seemed to take care of this problem.

-Chris


On Friday 30 May 2003 03:56, Nick Clifton wrote:
> Hi Chris,
>
> > Do you have any suggestions for compiling a 64-bit version of
> > libbfd.a for AIX 5.1?  I configured with "--enable-64-bit-bfd", but
> > that didn't appear to modify the bfd_default_target_size value or
> > add the "-maix64" flag.
>
> What configutation target are you using ?
>
> Something like this ought to work:
>
>   configure --enable-64-bit-bfd --target=powerpc64-aix5.1
>
> > As far as I can tell, the core_dump structure declaration referred to in
> > rs6000-core.c is not included from core.h when compiling for 64-bit
> > objects on AIX 5.1.
>
> I think that that rs6000-core.c file can only be compiled for 32-bit
> AIX targets.
>
> Cheers
>         Nick



More information about the Binutils mailing list