This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/1669: chill compilation failed on solaris
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/1669: chill compilation failed on solaris
- From: ask at wisdom dot weizmann dot ac dot il
- Date: 16 Jan 2001 15:34:51 -0000
- Reply-To: ask at wisdom dot weizmann dot ac dot il
>Number: 1669
>Category: other
>Synopsis: chill compilation failed on solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 16 07:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Alexander Klimov
>Release: current cvs version
>Organization:
>Environment:
SunOS iridium 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-5_10
>Description:
I build gcc with command:
../gcc/configure --prefix=/usr/local/gcc --enable-shared --enable-threads --with-cpu=ultrasparc --enable-languages='CHILL,c++,f77,java,objc' && \
make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
and I got
...
stage1/xgcc -Bstage1/ -B/usr/local/gcc/sparc-sun-solaris2.6/bin/ -c -DIN_GCC -DSVR4 -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/ggc-callbacks.c -o ggc-callbacks.o
cd ch; make "CHILLFLAGS=-O2" "CHILL_FOR_TARGET=/export/home/ask/build/gcc-build/gcc/xgcc -B/export/home/ask/build/gcc-build/gcc/ -L/export/home/ask/build/gcc-build/gcc/ch/runtime/ -B/usr/local/gcc/sparc-sun-solaris2.6/bin/ -B/usr/local/gcc/sparc-sun-solaris2.6/lib/ -isystem /usr/local/gcc/sparc-sun-solaris2.6/include" "CHILL_LIB=-lchill" "GNUCHILL_VERSION=1.5.2" ../cc1chill
make[3]: Entering directory `/export/home/ask/build/gcc-build/gcc/ch'
gcc -c -DIN_GCC -DSVR4 -g -I. -I.. -I../../../gcc/gcc/ch -I../../../gcc/gcc/ch/.. -I../../../gcc/gcc/ch/../config -I../../../gcc/gcc/ch/../../include ../../../gcc/gcc/ch/parse.c
In file included from ../../../gcc/gcc/ch/parse.c:48:
../../../gcc/gcc/ch/ch-tree.h:480: conflicting types for `global_trees'
../../../gcc/gcc/ch/../tree.h:1755: previous declaration of `global_trees'
make[3]: *** [parse.o] Error 1
make[3]: Leaving directory `/export/home/ask/build/gcc-build/gcc/ch'
make[2]: *** [cc1chill] Error 2
make[2]: Leaving directory `/export/home/ask/build/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/export/home/ask/build/gcc-build/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
>Fix:
Don't build chill :-)
>Release-Note:
>Audit-Trail:
>Unformatted: