This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with '-static' in 3.0 release on AIX
- To: Albert Chin-A-Young <china at thewrittenword dot com>
- Subject: Re: Problem with '-static' in 3.0 release on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 22 Jun 2001 13:09:15 -0400
- cc: gcc at gcc dot gnu dot org
>>>>> Albert Chin-A-Young writes:
Albert> According to /usr/include/sys/core.h, struct core_dumpx has no member
Albert> c_impl on AIX 4.3.2. We have v4.3.2.10 of bos.adt.include.
The two changes between AIX 4.3.2 and AIX 4.3.3 are __ld_info32
and c_impl. rs6000-core.c already checks for __ld_info32.
Try changing the guard for the definition of CNEW_IMPL:
-#ifdef AIX_CORE_DUMPX_CORE
+#if defined (AIX_CORE_DUMPX_CORE) && defined (__ld_info32)
If this works, I will submit this patch for backward compatibility
to the binutils sources.
Thanks, David