This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc bootstrap problem on Linux/68060


Hi,

I have problems building egc from source on my Linux/m68k system. It has
a 68060 CPU, egcs version is 1.1.2. The compiler used for bootstrapping
is a gcc-2.7.2.3 with a 68060 patch.
The problem is that I get a "fixed or forbidden register spilled" when
doing a make bootstrap when compiling libgcc2.c
At this point, the newly built gcc is used, so I do not assume it to be
gcc-2.7 fault.

I found a workaround (attached) on a mailing list, but would be pleased to see it
fixed in egcs itself.

If you need further Information please get back to me.

Bye,

Joerg

-- 
"No gates, no windows, ... it's open!"

Received: from falbala.informatik.uni-kiel.de (IDENT:kdGfzqt7QQfTJOWIAmiZ4pAB7jQEH7Um@falbala.informatik.uni-kiel.de [134.245.252.14])
	by mail.cs.tu-berlin.de (8.9.1/8.9.1) with ESMTP id MAA27895
	for <doko@cs.tu-berlin.de>; Fri, 6 Nov 1998 12:48:12 +0100 (MET)
Received: from sam.physik.uni-kiel.de (exp114@sam100.physik.uni-kiel.de [134.245.70.1])
	by falbala.informatik.uni-kiel.de (8.9.1/8.9.1) with SMTP id MAA03046;
	Fri, 6 Nov 1998 12:48:33 +0100 (MET)
Received: from localhost by sam.physik.uni-kiel.de (SMI-8.6/SMI-SVR4)
	id MAA16181; Fri, 6 Nov 1998 12:48:07 +0100
X-Sender: exp114@sam
In-Reply-To: <13890.56527.922779.127530@bolero>
Message-ID: <Pine.SOL.3.95.981106124622.16056A-100000@sam>
Return-Receipt-To: steigies@physik.uni-kiel.de
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by mail.cs.tu-berlin.de id MAA27895
From: "Christian T. Steigies" <exp114@physik.uni-kiel.de>
To: m68k-build@nocrew.org, Matthias Klose <doko@cs.tu-berlin.de>
Subject: egcs: to optimize or not to optimize
Date: Fri, 6 Nov 1998 12:48:07 +0100 (MET)

On Fri, 6 Nov 1998, Matthias Klose wrote:

> hmm, wenn Du BOOT_CFLAGS auf -O2 setzt, dann wird der first stage
> compiler nur mit -g uebersetzt.  Das sollte also auch so gehen. Du
> darfst nur nicht explizit CFLAGS setzen.

Just for clarification, this is the Stefanīs patch we are using to build gcc
and egcs on 060 machines:

--- gcc/Makefile.in.orig        Tue Oct 13 20:59:05 1998
+++ gcc/Makefile.in     Tue Oct 13 20:59:15 1998
@@ -61,7 +61,7 @@
 # TCFLAGS is used for compilations with the GCC just built.
 XCFLAGS =
 TCFLAGS =
-CFLAGS = -g
+CFLAGS = -g -O
 BOOT_CFLAGS = -O2 $(CFLAGS)
 WARN_CFLAGS = 
 # These exists to be overridden by the x-* and t-* files, respectively.

It is switching _on_ optimization. Is it for the first stage compiler or for
more?

Ciao,
Christian.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]