This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3451: boostrap aborted
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/3451: boostrap aborted
- From: Miroslaw Dobrzanski-Neumann <mne at mosaic-ag dot com>
- Date: Thu, 28 Jun 2001 08:38:13 +0200
- Reply-To: mne at mosaic-ag dot com
>Number: 3451
>Category: bootstrap
>Synopsis: redefinition of macro
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 28 00:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0
>Organization:
Mosaic SOFTWARE AG
>Environment:
System: AIX dagobert 3 4 000E983CA100
host: powerpc-ibm-aix4.3.2.0
build: powerpc-ibm-aix4.3.2.0
target: powerpc-ibm-aix4.3.2.0
configured with: ../gcc-3.0/configure --enable-threads=dce
>Description:
compiler used was xlc 3.6
redefinition of macro previously defined in system header
xlc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include ../../gcc-3.0/gcc/c-pragma.c -o c-pragma.o
"../../gcc-3.0/gcc/c-pragma.c", line 35.9: 1506-213 (S) Macro name BAD cannot be redefined.
"../../gcc-3.0/gcc/c-pragma.c", line 35.9: 1506-358 (I) "BAD" is defined on line 90 of /usr/include/sys/param.h.
>How-To-Repeat:
$ env CC=xlc ../gcc-3.0/configure --enable-threads=dce
$ gmake bootstrap-lean
>Fix:
rename BAD to something else i.e.
#define GCC_BAD(msgid) do { warning (msgid); return; } while (0)
instead of
#define BAD(msgid) do { warning (msgid); return; } while (0)
>Release-Note:
>Audit-Trail:
>Unformatted: