Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45371

Summary: xine-lib-1_rc3-r2 compiling error
Product: Gentoo Linux Reporter: agapo <agapo>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed file causing gcc ICE.

Description agapo 2004-03-22 03:38:17 UTC
Trying to compile xine-lib-1_rc3-r2 we always finish with the error below:

ic_predict.c: In function `flt_round':
ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c:55: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c:57: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c: In function `quant_pred':
ic_predict.c:64: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c: In function `inv_quant_pred':
ic_predict.c:74: warning: dereferencing type-punned pointer will break strict-aliasing rules
ic_predict.c: In function `ic_predict':
ic_predict.c:81: error: insn does not satisfy its constraints:
(insn 610 491 210 6 0x40403840 (set (reg/v:SF 29 emm0 [72])
        (const_double:SF 0 [0x0] 0.0 [0x0.0p+0])) 61 {*movsf_1} (nil)
    (nil))
ic_predict.c:81: internal compiler error: in build_def_use, at regrename.c:782
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/xine-lib-1_rc3-r2/temp/ccT51Fzo.out file, please attach this to your bugreport
make[4]: *** [ic_predict.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src/libfaad'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src/libfaad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc3-r2 failed.
!!! Function src_compile, Line 105, Exitcode 2
!!! Parallel make failed


emerge info
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts ati avi berkdb bonobo cdr crypt cups dvd encode esd evo fbcon foomaticdb gb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jabber java jpeg junit kde libg++ libgda libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype trusted unicode usb wmf wxwindows x86 xml xml2 xmms xv zlib video_cards_radeon"
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2004-03-22 05:08:36 UTC
Have you tried with less aggressive CFLAGS? It worked here and two different systems. See info from one below. Other one is an old PIII with similar setup.

# emerge --info
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://polly.a.la.maison ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j 4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/private.portage"
SYNC="rsync://polly/portage"
USE="3dnow X aalib alsa altivec apache2 apm arts avi berkdb bindist bonobo cdr crypt cups curl dga dnd doc dvd dvdr encode esd faad foomaticdb gb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde lcms libg++ libgda libwww mad maildir mikmod mmx motif mozcalendar mozilla moznoirc mozsvg mozxmlterm mpeg music mysql ncurses nls oggvorbis opengl oss pam pdflib perl pg-hier pg-intdatetime pg-vacuumdelay png postgres python qt quicktime readline ruby scanner sdl slang spell sse ssl tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows x86 xml2 xmms xv xvid zlib"
Comment 2 peteru 2004-03-23 03:55:09 UTC
Created attachment 27845 [details]
Preprocessed file causing gcc ICE.

Bug reproduced and attachment generated with the following:

# emerge --info
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/gentoo
http://gentoo.mirrors.pair.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X X509 alsa antlr apache2 avi bcel berkdb bsf bsh cdr chroot crypt cups
curl dga doc dv dvb dvd dvdr emacs encode faad ffmpeg flac foomaticdb fusion gd
gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib
java jdepend jpeg jsch junit jython ladcca libg++ libwww log4j mad maildir
matroska mbox md5sum mikmod mmx motif mozilla moznoirc mozp3p mozsvg mpeg mysql
ncurses nls nvidia offensive oggvorbis opengl oro pam pcap pdflib perl pic png
python qt quicktime readline regexp rhino ruby samba sdl slang slp snmp spell
sse ssl svga tcltk tcpd tiff transcode truetype usb v4l wmf wxwin wxwindows x86
xerces xml xml2 xmms xosd xv xvid zlib zvbi"


...
 
 gcc -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 -I../../src/input -I../../src/input -Wall -DNDEBUG
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith
-Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -pipe
-mno-sse2 -c ic_predict.c -MT ic_predict.lo -MD -MP -MF .deps/ic_predict.TPlo
-o .libs/ic_predict.o
ic_predict.c: In function `flt_round':
ic_predict.c:55: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c:55: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c:55: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c:57: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c: In function `quant_pred':
ic_predict.c:64: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c: In function `inv_quant_pred':
ic_predict.c:74: warning: dereferencing type-punned pointer will break
strict-aliasing rules
ic_predict.c: In function `ic_predict':
ic_predict.c:81: error: insn does not satisfy its constraints:
(insn 599 491 210 6 0x4040b840 (set (reg/v:SF 29 emm0 [72])
	(const_double:SF 0 [0x0] 0.0 [0x0.0p+0])) 61 {*movsf_1} (nil)
    (nil))
ic_predict.c:81: internal compiler error: in build_def_use, at regrename.c:782
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/xine-lib-1_rc3-r2/temp/cc0kNXLW.out file, please attach this
to your bugreport
make[4]: *** [ic_predict.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src/libfaad'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src/libfaad'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xine-lib-1_rc3-r2/work/xine-lib-1-rc3b'
make: *** [all] Error 2
 
!!! ERROR: media-libs/xine-lib-1_rc3-r2 failed.
!!! Function src_compile, Line 105, Exitcode 2
!!! Parallel make failed
Comment 3 agapo 2004-03-25 02:06:14 UTC
Decreasing optimization level to '-O2' the compilation finish without errors.
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-03-27 12:57:59 UTC
See bug #31087 comment #3
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-03-28 03:17:12 UTC

*** This bug has been marked as a duplicate of 31087 ***