public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/3459: Cannot build gcc-3.0 cross compiler
@ 2001-06-28  6:56 tkoeller
  0 siblings, 0 replies; only message in thread
From: tkoeller @ 2001-06-28  6:56 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-28  6:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28  6:56 bootstrap/3459: Cannot build gcc-3.0 cross compiler tkoeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).