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

Bug#177671: marked as done (gcc-3.2: failure to compile w/ -march=pentium2 (or greater) - FP register starvation)



Your message dated Tue, 21 Jan 2003 01:02:26 -0600
with message-id <200301210702.h0L72QA8006652@piquin.uchicago.edu>
and subject line Bug#177671: gcc-3.2: failure to compile w/ -march=pentium2 (or greater) - FP register starvation 
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; 21 Jan 2003 05:41:29 +0000
>From job@piquin.uchicago.edu Mon Jan 20 23:41:28 2003
Return-path: <job@piquin.uchicago.edu>
Received: from piquin.uchicago.edu [128.135.102.77] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18arA7-00072N-00; Mon, 20 Jan 2003 23:41:27 -0600
Received: from piquin.uchicago.edu (localhost [127.0.0.1])
	by piquin.uchicago.edu (8.12.3/8.12.3/Debian -4) with ESMTP id h0L5fMA8006202
	for <submit@bugs.debian.org>; Mon, 20 Jan 2003 23:41:23 -0600
Message-Id: <200301210541.h0L5fMA8006202@piquin.uchicago.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.2: failure to compile w/ -march=pentium2 (or greater) - FP register starvation
Dcc: 
Reply-To: job@jobbogan.com
From: job@jobbogan.com
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6195.1043127674.1@piquin.uchicago.edu>
Date: Mon, 20 Jan 2003 23:41:14 -0600
Sender: job@piquin.uchicago.edu
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.9 required=5.0
	tests=GAPPY_TEXT,MSG_ID_ADDED_BY_MTA_3,NO_REAL_NAME,
	      SPAM_PHRASE_00_01,SUBJECT_MONTH_2
	version=2.41
X-Spam-Level: 

Package: gcc-3.2
Version: 1:3.2.1-0pre3
Severity: normal


xine-lib-1-beta2 fails to compile w/ -march=pentium2 (or greater).  it
will compile w/ -march=pentiumpro or with any -mcpu setting.  

it looks like a failure in the FP register allocator or the MD for p2+
class cpus.  at least to my untrained eye. =)

see below for output w/ different march settings.

job

coriander:~/xine-lib-1-beta2/src/libfaad# gcc-3.2 -march=pentium2 -DHAVE_CONFIG_
H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../sr
c/xine-engine -I../../src/xine-engine -I../../src/xine-utils -Wall -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -falign-fun
ctions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensiv
e-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loop
s -finline-functions -I/usr/include/kde/artsc -c cfft.c -MT cfft.lo -MD -MP -MF 
.deps/cfft.TPlo  -DPIC -o cfft.lo
cfft.c: In function `passf2':
cfft.c:550: unable to find a register to spill in class `FLOAT_REGS'
cfft.c:550: this is the insn:
(insn 195 193 200 (set (subreg:SF (reg/v:DI 29 rmm0 [94]) 0)
        (minus:SF (mem:SF (plus:SI (mult:SI (reg/v:SI 1 edx [70])
                        (const_int 8 [0x8]))
                    (reg/v/f:SI 4 esi [62])) [0 S4 A32])
            (reg:SF 8 st(0) [105]))) 533 {*fop_sf_1_nosse} (insn_list 192 (nil))
    (expr_list:REG_DEAD (reg:SF 8 st(0) [105])
        (nil)))
cfft.c:550: confused by earlier errors, bailing out
coriander:~/xine-lib-1-beta2/src/libfaad# gcc-3.2 -march=pentiumpro -DHAVE_CONFI
G_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../
src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -Wall -D_REENTRAN
T -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -falign-f
unctions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpens
ive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-lo
ops -finline-functions -I/usr/include/kde/artsc -c cfft.c -MT cfft.lo -MD -MP -M
F .deps/cfft.TPlo  -DPIC -o cfft.lo
cfft.c: In function `cffti1':
cfft.c:428: warning: `ntry' might be used uninitialized in this function
coriander:~/xine-lib-1-beta2/src/libfaad# gcc-3.2 -mcpu=pentium2 -DHAVE_CONFIG_H
 -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src
/xine-engine -I../../src/xine-engine -I../../src/xine-utils -Wall -D_REENTRANT -
D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -falign-func
tions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive
-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops
 -finline-functions -I/usr/include/kde/artsc -c cfft.c -MT cfft.lo -MD -MP -MF .
deps/cfft.TPlo  -DPIC -o cfft.lo
cfft.c: In function `cffti1':
cfft.c:428: warning: `ntry' might be used uninitialized in this function
coriander:~/xine-lib-1-beta2/src/libfaad# 



-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux coriander 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.2 depends on:
ii  binutils                  2.13.90.0.10-1 The GNU assembler, linker and bina
ii  cpp-3.2                   1:3.2.1-0pre3  The GNU C preprocessor.
ii  gcc-3.2-base              1:3.2.1-0pre3  The GNU Compiler Collection (base 
ii  libc6                     2.2.5-14.3     GNU C Library: Shared libraries an
ii  libgcc1                   1:3.2.1-0pre3  GCC support library.

---------------------------------------
Received: (at 177671-close) by bugs.debian.org; 21 Jan 2003 07:02:29 +0000
>From job@piquin.uchicago.edu Tue Jan 21 01:02:28 2003
Return-path: <job@piquin.uchicago.edu>
Received: from piquin.uchicago.edu [128.135.102.77] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18asQV-0008JN-00; Tue, 21 Jan 2003 01:02:28 -0600
Received: from piquin.uchicago.edu (localhost [127.0.0.1])
	by piquin.uchicago.edu (8.12.3/8.12.3/Debian -4) with ESMTP id h0L72QA8006652;
	Tue, 21 Jan 2003 01:02:26 -0600
Message-Id: <200301210702.h0L72QA8006652@piquin.uchicago.edu>
To: Matthias Klose <doko@cs.tu-berlin.de>
cc: 177671@bugs.debian.org, 177671-close@bugs.debian.org
Subject: Re: Bug#177671: gcc-3.2: failure to compile w/ -march=pentium2 (or greater) - FP register starvation 
In-Reply-To: Message from Matthias Klose <doko@cs.tu-berlin.de> 
   of "Tue, 21 Jan 2003 07:11:39 +0100." <15916.58523.11471.45730@gargle.gargle.HOWL> 
References: <200301210541.h0L5fMA8006202@piquin.uchicago.edu>  <15916.58523.11471.45730@gargle.gargle.HOWL> 
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6649.1043132545.1@piquin.uchicago.edu>
Date: Tue, 21 Jan 2003 01:02:26 -0600
From: job bogan <job@piquin.uchicago.edu>
Delivered-To: 177671-close@bugs.debian.org
X-Spam-Status: No, hits=-8.2 required=5.0
	tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,SUBJECT_MONTH_2
	version=2.41
X-Spam-Level: 

Your message dated: Tue, 21 Jan 2003 07:11:39 +0100
>- please attach the preprocessed source file for the arch setting,
>  that fails to compile.
>
>- recheck with the gcc-snapshot package.

i just upgraded gcc-3.2 to the version in unstable (was testing).  It
now seems to compile fine.  

so, this bug looks fine to close.

thanks
job



Reply to: