This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
MAINLINE breakage on Solaris-2.7
- To: gcc-bugs at gcc dot gnu dot org
- Subject: MAINLINE breakage on Solaris-2.7
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 05 Mar 2001 13:19:11 +0100
- Cc: Zack Weinberg <zackw at stanford dot edu>
- Organization: CodeSourcery, LLC
Zack,
I think your patch
2001-03-01 Zack Weinberg <zackw@stanford.edu>
[...]
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/vax/xm-vms.h, config/we32k/xm-we32k.h:
Do not define TRUE or FALSE.
* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
empty by above change.
* config.gcc: Remove references to these files.
* configure.in: Detect stdbool.h.
* configure, config.in: Regenerate.
* system.h: Include stddef.h here if available.
Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.
Then set up a sensible boolean type at the very end.
* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
config/mcore/mcore.c: Rename variables named 'true' and/or
'false'.
* hash.h: Delete 'boolean' typedef and related #undefs.
* function.c, ggc-common.c, hash.h, hash.c, tlink.c: Replace
all uses of 'boolean' with 'bool'.
is causing the bootstrap failure I'm seeing on Solaris-2.7:
gcc -c -DIN_GCC -DSVR4 -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/BASE/dosreis/egcs/gcc -I/BASE/dosreis/egcs/gcc/. -I/BASE/dosreis/egcs/gcc/config -I/BASE/dosreis/egcs/gcc/../include /BASE/dosreis/egcs/gcc/function.c -o function.o
/BASE/dosreis/egcs/gcc/function.c: In function `purge_addressof_1':
/BASE/dosreis/egcs/gcc/function.c:2983: invalid initializer
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com