This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3459: Cannot build gcc-3.0 cross compiler
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/3459: Cannot build gcc-3.0 cross compiler
- From: tkoeller at gmx dot net
- Date: Thu, 28 Jun 2001 01:55:43 +0200 (CEST)
>Number: 3459
>Category: bootstrap
>Synopsis: Cannot build gcc-3.0 cross compiler
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 28 06:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Thomas Koeller
>Release: 3.0
>Organization:
>Environment:
System: Linux sarkovy.koeller.org 2.4.5 #3 Mon Jun 11 23:20:37 CEST 2001 i686 unknown
Architecture: i686
target: powerpc-unknown-linux-gnu
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: /var/src/gnu/gcc-3.0/configure --prefix=/usr --with-gnu-as --with-gnu-ld --enable-threads --enable-languages=c,c++
>Description:
I am trying to build a cross compiler. Host is i686-pc-linux-gnu,
target is powerpc-unknown-linux-gnu. I configured an built using
the following script:
---Start of script ---
#! /bin/bash
declare -r GCCVERSION="3.0"
declare -r SRCPATH="$CROSS_DEVEL_HOME/src/gcc-$GCCVERSION"
declare -r BUILDPATH="$CROSS_DEVEL_HOME/ppc/tools/gcc-$GCCVERSION"
declare -r HOSTARCH="i686-pc-linux-gnu"
declare -r TARGETARCH="powerpc-unknown-linux-gnu"
declare -r TARGETPATH="/usr"
declare -rx CC="/usr/bin/gcc"
declare -rx CFLAGS="-pipe"
declare -rx XCFLAGS="-O3 -march=i686 -fomit-frame-pointer -g0"
declare -rx TCFLAGS="-O3"
cd "${BUILDPATH}"
rm -rf *
"${SRCPATH}/configure" --host=${HOSTARCH} --target=${TARGETARCH} --prefix="${TARGETPATH}" \
--with-cpu=603e --enable-languages=c --with-gnu-as --with-gnu-ld
make all-gcc | tee make.log
---End of script---
During compilation of toplevel.c, gcc aborts:
---Start of make output---
/usr/bin/gcc -DCROSS_COMPILE -DIN_GCC -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/thomas/cross-devel/src/gcc-3.0/gcc -I/home/thomas/cross-devel/src/gcc-3.0/gcc/. -I/home/thomas/cross-devel/src/gcc-3.0/gcc/config -I/home/thomas/cross-devel/src/gcc-3.0/gcc/../include \
-DTARGET_NAME=\"powerpc-unknown-linux-gnu\" \
-c /home/thomas/cross-devel/src/gcc-3.0/gcc/toplev.c
/home/thomas/cross-devel/src/gcc-3.0/gcc/toplev.c: In function `compile_file':
/home/thomas/cross-devel/src/gcc-3.0/gcc/toplev.c:2293: floating constant exponent has no digits
/home/thomas/cross-devel/src/gcc-3.0/gcc/toplev.c: In function `main':
/home/thomas/cross-devel/src/gcc-3.0/gcc/toplev.c:4912: floating constant exponent has no digits
---End of make output---
>How-To-Repeat:
Create a suitable setup and execute the script above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: