This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Include AC_SYS_LARGEFILE for libiberty
- From: "David Edelsohn" <dje dot gcc at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, "Jan Kratochvil" <jan dot kratochvil at redhat dot com>, "DJ Delorie" <dj at redhat dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 8 Oct 2008 11:26:43 -0400
- Subject: Re: [patch] Include AC_SYS_LARGEFILE for libiberty
- References: <303e1d290810080804w1f2a9e39q3207d3bc58775ed2@mail.gmail.com>
On Wed, Oct 8, 2008 at 11:04 AM, David Edelsohn <dje.gcc@gmail.com> wrote:
>> On Mon, 15 Sep 2008 22:02:15 +0200, DJ Delorie wrote:
>>>
>>> Did you rebuild gcc with this just to make sure it doesn't break
>>> anything?
>>
>> No regressions found on i386/x86_64/ppc/ppc64, thanks for the notice.
>
> This broke AIX.
>
> Please remove this patch and let's work on how to avoid the problem on AIX.
> AIX is sensitive to where this macros is defined. Please see the previous
> discussion on the GFortran mailinglist about this issue.
The specific problem is xstrdup.c. for some reason, xstrdup.c is the only
file that includes <sys/types.h> before config.h.
david