Bug#47572: marked as done (Tyler in kdeaddons fails to build under gcc3.2 using -march=pentium4) by Neil Stevens <neil at qualityassistant.com>

Stephan Kulow owner at bugs.kde.org
Sun Sep 8 08:33:01 BST 2002


Your message with subj: Bug#47572: Tyler in kdeaddons fails to build under gcc3.2 using -march=pentium4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday September 07, 2002 11:00, mhillary at btopenworld.com wrote:
> In kdeaddons/noatun-plugins/tyler/compute.c
>
> 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 -fprefetch-loop=arrays -falign-functions=4
> -funroll-loops -fomit-frame-pointer -fstrict-aliasing
> -momit-leaf-frame-pointer -fforce-addr -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

This is a gcc bug.  Please report it to the gcc developers.

thank you,

- -- 
Neil Stevens - neil at qualityassistant.com
"I always cheer up immensely if an attack is particularly wounding
because I think, well, if they attack one personally, it means they
have not a single political argument left." - Margaret Thatcher
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9evzaf7mnligQOmERAlSCAJwNls4aFebFNx0/V9ho4XCrMEN2YQCaA3Ah
mr8jMGTVeOdNb9atKWEjYE0=
=VBy+
-----END PGP SIGNATURE-----


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'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/47/47572.html)

Received: (at submit) by bugs.kde.org; 7 Sep 2002 18:00:01 +0000
Received: (qmail 24496 invoked by uid 30); 7 Sep 2002 18:00:01 -0000
Date: 7 Sep 2002 18:00:01 -0000
Message-ID: <20020907180001.24462.qmail at ktown.kde.org>
To: submit at bugs.kde.org
Subject: Tyler in kdeaddons fails to build under gcc3.2 using -march=pentium4
From: mhillary at btopenworld.com
X-KDE-Received: -217.35.56.136

Package:           noatun
Version:           2.0.0 (using KDE 3.0.3 )
Severity:          normal
Installed from:    Gentoo Packages
Compiler:          gcc3.2
OS:                Linux
OS/Compiler notes: gentoo .1.4 

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 -fprefetch-loop=arrays -falign-functions=4 -funroll-loops -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -fforce-addr
CXXFLAGS=-march=pentium4 -O3 -pipe -fprefetch-loop=arrays -falign-functions=4 -funroll-loops -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -fforce-addr

Info from /proc/cpuinfo
cpu family	:15
model		:2
model name	:Intel(R) Pentium(R) 4 Mobile CPU 1.60Ghz
stepping	:4

In kdeaddons/noatun-plugins/tyler/compute.c

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 -fprefetch-loop=arrays -falign-functions=4 -funroll-loops -fomit-frame-pointer -fstrict-aliasing -momit-leaf-frame-pointer -fforce-addr -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

The work around for this is to not include the flag -march=pentium4, or to include the flag -mno-sse2
This allows the make to complete succesfully.

Notes: The whole system (i.e everying this file includes) is built with the same flags. Unless the flag is flitered by gentoo's portage. Desovered which flag to omit by removing one flag at a time and rerunning the make (after a make clean).

(Submitted via bugs.kde.org)





More information about the kde-multimedia mailing list