From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16266 invoked by alias); 23 Apr 2002 05:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16242 invoked by uid 71); 23 Apr 2002 05:06:00 -0000 Resent-Date: 23 Apr 2002 05:06:00 -0000 Resent-Message-ID: <20020423050600.16241.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, kim@mso.anu.edu.au Received:(qmail 14021 invoked by uid 61); 23 Apr 2002 04:59:40 -0000 Message-Id:<20020423045940.14020.qmail@sources.redhat.com> Date: Mon, 22 Apr 2002 22:06:00 -0000 From: kim@mso.anu.edu.au Reply-To: kim@mso.anu.edu.au To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/6415: powerpc-wrs-vxworks wont bootstrap X-SW-Source: 2002-04/txt/msg01145.txt.bz2 List-Id: >Number: 6415 >Category: bootstrap >Synopsis: powerpc-wrs-vxworks wont bootstrap >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Apr 22 22:06:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Kim Sebo >Release: 3.1 (CVS of 20020423), 3.0.4 and 2.95.3 >Organization: >Environment: Solaris 8 sparc crosscompiling to powerpc-wrs-vxworks >Description: Bootstrapping powerpc-wrs-vxworks (v2.0.2) from Solaris 8 sparc fails due to "CPU" not being defined, as required by the vxworks headers. The configure line was: ../gcc/configure --target=powerpc-wrs-vxworks --with-headers=${WIND_BASE}/target/h --enable-languages=c,c++ --with-gnu-as --with-as=$WIND_BASE/host/sun4-solaris2/powerpc-wrs-vxworks/bin/as --with-gnu-ld --with-ld=$WIND_BASE/host/sun4-solaris2/powerpc-wrs-vxworks/bin/ld The last part of the bootstrap is: > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi > ./xgcc -B./ -B/data/mizar/kim/powerpc-wrs-vxworks/bin/ -isystem /data/mizar/kim/powerpc-wrs-vxworks/include -isystem /data/mizar/kim/powerpc-wrs-vxworks/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c ../../gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o > In file included from /data/mizar/kim/powerpc-wrs-vxworks/sys-include/types/vxANSI.h:44, > from include/stdio.h:66, > from ../../gcc/gcc/tsystem.h:63, > from ../../gcc/gcc/libgcc2.c:37: > include/types/vxCpu.h:209:2: #error CPU is not defined correctly > gnumake[3]: *** [libgcc/./_muldi3.o] Error 1 > gnumake[3]: Leaving directory `/data/mizar/kim/obj/gcc' > gnumake[2]: *** [stmp-multilib] Error 2 > gnumake[2]: Leaving directory `/data/mizar/kim/obj/gcc' > gnumake[1]: *** [stage1_build] Error 2 > gnumake[1]: Leaving directory `/data/mizar/kim/obj/gcc' > gnumake: *** [bootstrap] Error 2 Earlier in the bootstrap is a possible culprit: > constructing ../fixinc.sh for powerpc-wrs-vxworks to run on sparc-sun-solaris2.8 > gnumake TARGETS=oneprocess SHELL="/bin/sh" CC="cc" CFLAGS="-DIN_GCC -DCROSS_COMPILE -g -DHAVE_CONFIG_H -DGENERATOR_FILE" LDFLAGS="" install-bin > gnumake[3]: Entering directory `/data/mizar/kim/obj/gcc/fixinc' > /bin/sh ../../../gcc/gcc/fixinc/genfixes machname.h > Forbidden identifiers: CPU CPU_FAMILY linux unix >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: