[no subject]
>Submitter-Id: net
>Originator: Soeren Sonnenburg
>Organization: <gcc 3.2/3.3 segfault on powerpc mplayer cvs>
>Confidential: no
>Synopsis: <gcc 3.2/3.3 segfault on powerpc mplayer cvs>
>Severity:
>Priority:
>Category: c
>Class: ice-on-legal-code
>Release: 3.3.2 (Debian) (Debian testing/unstable)
>Environment:
System: Linux no 2.6.0-test7 #8 Sun Oct 26 17:00:49 CET 2003 ppc GNU/Linux
Architecture: ppc
processor : 0
cpu : 7455, altivec supported
clock : 1000MHz
revision : 3.3 (pvr 8001 0303)
bogomips : 997.90
machine : PowerBook3,5
motherboard : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as : 80 (PowerBook Titanium IV)
pmac flags : 0000000b
L2 cache : 256K unified
memory : 1024MB
pmac-generation : NewWorld
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib powerpc-linux
>Description:
gcc 3.2/3.3 fail with internal compiler error on mplayer cvs on powerpc 7450 (G4)
>How-To-Repeat:
get mplayer-cvs and ./configure ; make on a powerpc G4 machine. then what happens is:
[...]
make -C libavcodec LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/sonne/projects/src/opensource/mplayer/main/libavcodec'
cc -O4 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ppc/mpegvideo_altivec.o ppc/mpegvideo_altivec.c
ppc/mpegvideo_altivec.c: In function `dct_quantize_altivec':
ppc/mpegvideo_altivec.c:515: error: unrecognizable insn:
(insn 1634 1319 252 2 (nil) (set (reg:V4SF 84 v7)
(const_vector:V4SF [
(const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
(const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
(const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
(const_double:SF 5.411961078643798828125e-1 [0x0.8a8bd4p+0])
])) -1 (nil)
(nil))
ppc/mpegvideo_altivec.c:515: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [ppc/mpegvideo_altivec.o] Error 1
make[1]: Leaving directory `/home/sonne/projects/src/opensource/mplayer/main/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
Reply to: