public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: mhillary@btopenworld.com
To: gcc-gnats@gcc.gnu.org
Subject: optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
Date: Thu, 12 Sep 2002 11:36:00 -0000	[thread overview]
Message-ID: <20020912183309.32467.qmail@sources.redhat.com> (raw)


>Number:         7897
>Category:       optimization
>Synopsis:       gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 11:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mark Hillary
>Release:        3.2
>Organization:
>Environment:
Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure
--prefix=/usr --mandir=/usr/share/man -infodir=/usr/share/info --enable-shared
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-gnu
--with-system-zlib -enable-languages=c,c++,ada,f77,abjc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--withgxx-include-dir=/ust/include/g++-v32 --with-local-prefix=/usr/local
--enable-shared --enable0nls --without-included-gettext
Thread model: posix
gcc version 3.2
CFLAGS=-march=pentium4 -O3 -pipe
CXXFLAGS=-march=pentium4 -O3 -pipe

Info from /proc/cpuinfo
cpu family	:15
model		:2
model name	:Intel(R) Pentium(R) 4 Mobile CPU 1.60Ghz
stepping	:4
>Description:
kdeaddons/noatun-plugins/tyler/compute.c failes to build using the -march=pentium4 flag

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. _I../.. -I/usr/kde/3/include
-I/usr/qt/3/include -I/usr/X11R6/include -I/usr/nclude/SDL -D_REENTRANT
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -c `test -f compute.c
!! echo ' ./' `compute.c
compute.c: In function `generate_sector':
compute.c:175: unable to find a register to spill in class 'FLOAT_REGS'
compute.c:175: this is the insn:
(insn 187 184 189 (set (reg:DF 9 st(1) [117])
		(float_extend:DF (subreg:SF (reg/v:DI rxmm0 [82]) 0))) 133
{*extendsfdf2_1} (nil)
	(nil))
compute.c:175: confused by earlier errors, bailing out
make: *** [compute.o] Error 1

I have had this confirmed by one other person (sorry hes the only other person I know with a p4), same result also have tried with the -O2 flag instead of the -O3 flag
>How-To-Repeat:
Build kdeaddons on a P4 with -march=pentium4
>Fix:
Build with out -march=pentium4 or build with the pentium4 flag but add -mno-sse2 
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-09-12 18:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 11:36 mhillary [this message]
2002-10-02 15:56 rth
2002-10-09 10:29 hubicka
2002-10-17  9:12 hubicka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020912183309.32467.qmail@sources.redhat.com \
    --to=mhillary@btopenworld.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).