public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: pere@hungry.com To: gcc-gnats@gcc.gnu.org Subject: bootstrap/8276: Compile fixes for gcc 3.2 on AIX Date: Fri, 18 Oct 2002 05:36:00 -0000 [thread overview] Message-ID: <20021018122914.4496.qmail@sources.redhat.com> (raw) >Number: 8276 >Category: bootstrap >Synopsis: Compile fixes for gcc 3.2 on AIX >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Oct 18 05:36:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: pere@hungry.com >Release: gcc-3.2 >Organization: >Environment: >Description: I had to apply the following patches to get GCC 3.2 compiling on AIX 5. With this patch the source compiled out of the box. Please apply in the next version of GCC. diff -ur src-3.2/gcc/dependence.c src-3.2-local/gcc/dependence.c --- src-3.2/gcc/dependence.c 2002-01-22 22:57:22.000000000 +0100 +++ src-3.2-local/gcc/dependence.c 2002-10-14 19:17:15.000000000 +0200 @@ -1143,7 +1143,9 @@ return 0; } +#ifndef abs /* It is defined in <stdlib.h> on AIX */ #define abs(N) ((N) < 0 ? -(N) : (N)) +#endif /* not abs */ /* Determine the DIRECTION and DISTANCE dependency for subscript SUB of inputs ICOEFFICIENTS and outputs OCOEFFICIENTS of loop LOOP_PTR using diff -ur src-3.2/gcc/config.in src-3.2-local/gcc/config.in --- src-3.2/gcc/config.in 2002-08-14 11:31:10.000000000 +0200 +++ src-3.2-local/gcc/config.in 2002-10-14 15:35:00.000000000 +0200 @@ -33,7 +33,9 @@ #undef HAVE_VFORK_H /* Define as __inline if that's what the C compiler calls it. */ +#ifndef inline /* avoid conflict with include/ansidecl.h */ #undef inline +#endif /* not inline */ /* Define if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O diff -ur src-3.2/libiberty/config.in src-3.2-local/libiberty/config.in --- src-3.2/libiberty/config.in 2001-11-28 02:37:24.000000000 +0100 +++ src-3.2-local/libiberty/config.in 2002-10-14 17:46:50.000000000 +0200 @@ -13,7 +13,9 @@ #undef HAVE_VFORK_H /* Define as __inline if that's what the C compiler calls it. */ +#ifndef inline /* avoid conflict with include/ansidecl.h */ #undef inline +#endif /* not inline */ /* Define to `int' if <sys/types.h> doesn't define. */ #undef pid_t >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-10-18 12:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-18 5:36 pere [this message] 2003-02-24 16:03 ebotcazou 2003-02-24 16:10 dje 2003-05-06 19:28 dje
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021018122914.4496.qmail@sources.redhat.com \ --to=pere@hungry.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).