[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#172090: marked as done ([PR target/9074] [alpha] gcc fails to compile kernel on wildfire)



Your message dated Sun, 29 Aug 2004 21:39:00 +0200
with message-id <87brgt4tuz.fsf@informatik.uni-tuebingen.de>
and subject line Bug#172090: [Bug target/9074] [alpha-linux] gcc fails to compile kernel on wildfire
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Dec 2002 08:04:36 +0000
>From herbert@gondor.apana.org.au Sat Dec 07 02:04:36 2002
Return-path: <herbert@gondor.apana.org.au>
Received: from eriador.apana.org.au [203.14.152.116] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18KZwr-0006SC-00; Sat, 07 Dec 2002 02:04:32 -0600
Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail)
	by eriador.apana.org.au with esmtp (Exim 3.35 #1 (Debian))
	id 18KZwW-0005zp-00
	for <submit@bugs.debian.org>; Sat, 07 Dec 2002 19:04:08 +1100
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian))
	id 18KZwR-000444-00
	for <submit@bugs.debian.org>; Sat, 07 Dec 2002 19:04:03 +1100
From: <herbert@gondor.apana.org.au>
Subject: gcc-3.2: [alpha] gcc fails to compile kernel on wildfire
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Message-Id: <E18KZwR-000444-00@gondolin.me.apana.org.au>
Date: Sat, 07 Dec 2002 19:04:03 +1100
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.9 required=5.0
	tests=NO_REAL_NAME,SPAM_PHRASE_00_01,SUPERLONG_LINE
	version=2.41
X-Spam-Level: 

Package: gcc-3.2
Version: 1:3.2.2-0pre0
Severity: normal

Compiling the kernel for the Wildfire fails with:

herbert@cardolan:/mnt/home/herbert/src/debian/work/kernel/build/2.4/kernel-image-alpha-2.4/build-wildfire/drivers/char$ /usr/lib/gcc-lib/alpha-linux/3.2.2/cc1 -lang-c -nostdinc -v -I/mnt/big/herbert/build/kernel/2.4/kernel-image-alpha-2.4/build-wildfire/include -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -D__gnu_linux__ -Dlinux -Dunix -D_LONGLONG -D__alpha__ -D__ELF__ -D__gnu_linux__ -D__linux__ -D__unix__ -D_LONGLONG -D__alpha__ -D__ELF__ -D__linux -D__unix -Asystem=linux -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C -Acpu=alpha -Amachine=alpha -D__alpha -D__alpha__ -D__alpha_ev6__ -Acpu=ev6 -D__alpha_bwx__ -Acpu=bwx -D__alpha_max__ -Acpu=max -D__alpha_fix__ -Acpu=fix -D__alpha_cix__ -Acpu=cix -D__KERNEL__ -DMODULE -DMODVERSIONS -DKBUILD_BASENAME=istallion -include /mnt/big/herbert/build/kernel/2.4/kernel-image-alpha-2.4/build-wildfire/include/linux/modversions.h -iwithprefix include istallion.c -quiet -dumpbase i
 stallion.c -mno-fp-regs -mcpu=ev67 -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -version -fno-strict-aliasing -fno-common -fomit-frame-pointer -ffixed-8
GNU CPP version 3.2.2 20021202 (Debian prerelease) (cpplib) (Alpha GNU/Linux for ELF)
GNU C version 3.2.2 20021202 (Debian prerelease) (alpha-linux)
        compiled by GNU C version 3.2.2 20021202 (Debian prerelease).
#include "..." search starts here:
#include <...> search starts here:
 /mnt/big/herbert/build/kernel/2.4/kernel-image-alpha-2.4/build-wildfire/include
 /usr/lib/gcc-lib/alpha-linux/3.2.2/include
End of search list.
istallion.c: In function `stli_allocbrd':
istallion.c:4738: warning: int format, different type arg (arg 2)
istallion.c: In function `stli_memread':
istallion.c:4895: unable to find a register to spill in class `R27_REG'
istallion.c:4895: this is the insn:
(insn 191 423 192 (parallel[
            (set (reg:DI 2 $2 [123])
                (umod:DI (reg:DI 24 $24 [122])
                    (reg:DI 25 $25 [117])))
            (clobber (reg:DI 23 $23))
            (clobber (reg:DI 28 $28))
        ] ) 37 {*divmoddi_internal_er} (insn_list 189 (insn_list 184 (insn_list:REG_DEP_ANTI 180 (nil))))
    (expr_list:REG_DEAD (reg:DI 24 $24 [122])
        (expr_list:REG_UNUSED (reg:DI 23 $23)
            (expr_list:REG_UNUSED (reg:DI 28 $28)
                (nil)))))
istallion.c:4895: confused by earlier errors, bailing out

The compile works if the kernel is configured as generic as opposed to Wildfire.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

---------------------------------------
Received: (at 172090-done) by bugs.debian.org; 29 Aug 2004 19:39:36 +0000
>From falk.hueffner@student.uni-tuebingen.de Sun Aug 29 12:39:36 2004
Return-path: <falk.hueffner@student.uni-tuebingen.de>
Received: from mx5.informatik.uni-tuebingen.de [134.2.12.32] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C1VWZ-0004nn-00; Sun, 29 Aug 2004 12:39:36 -0700
Received: from localhost (loopback [127.0.0.1])
	by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id B5AD710E
	for <172090-done@bugs.debian.org>; Sun, 29 Aug 2004 21:39:04 +0200 (MST)
Received: from mx3.informatik.uni-tuebingen.de ([134.2.12.26])
 by localhost (mx5 [134.2.12.32]) (amavisd-new, port 10024) with ESMTP
 id 16214-05 for <172090-done@bugs.debian.org>;
 Sun, 29 Aug 2004 21:39:02 +0200 (DFT)
Received: from juist (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66])
	by mx3.informatik.uni-tuebingen.de (Postfix) with ESMTP id B23A9139
	for <172090-done@bugs.debian.org>; Sun, 29 Aug 2004 21:39:01 +0200 (DFT)
Received: from falk by juist with local (Exim 4.34)
	id 1C1VW0-0006j4-Hf
	for 172090-done@bugs.debian.org; Sun, 29 Aug 2004 21:39:00 +0200
To: 172090-done@bugs.debian.org
Subject: Re: Bug#172090: [Bug target/9074] [alpha-linux] gcc fails to
 compile kernel on wildfire
References: <20021227155601.9074.172090@bugs.debian.org>
	<[🔎] 20040826043705.27032.qmail@sourceware.org>
From: Falk Hueffner <hueffner@informatik.uni-tuebingen.de>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Sun, 29 Aug 2004 21:39:00 +0200
In-Reply-To: <[🔎] 20040826043705.27032.qmail@sourceware.org> (rth at gcc dot gnu
 dot org's message of "26 Aug 2004 04:37:05 -0000")
Message-ID: <87brgt4tuz.fsf@informatik.uni-tuebingen.de>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cabbage, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
X-Virus-Scanned: by amavisd-new (McAfee AntiVirus) at informatik.uni-tuebingen.de
Delivered-To: 172090-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_01,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

"rth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

> Yes.  It's unfortunate, but hard-coded register numbers get that way.
>
> The correct way to fix this is to use the new "c" register constraint
> and to not use $27 as an explicit asm register.  I've had to make similar
> changes to glibc.
>
> I'll take care of getting this change pushed into the kernel.

Okay, let's close this, then.

-- 
	Falk



Reply to: