Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102303 - xine-lib 1.0.1-r3 / 1.0.2 build failure w/ gcc 4.0.1
Summary: xine-lib 1.0.1-r3 / 1.0.2 build failure w/ gcc 4.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 17:49 UTC by Christian Trefzer
Modified: 2005-08-12 18:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
portage logfile from 1.0.1-r3 build (6893-xine-lib-1.0.1-r3.log,451.61 KB, text/plain)
2005-08-12 17:50 UTC, Christian Trefzer
Details
portage logfile from 1.0.2 build (6894-xine-lib-1.0.2.log,513.86 KB, text/plain)
2005-08-12 17:51 UTC, Christian Trefzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Trefzer 2005-08-12 17:49:32 UTC
Compilation of xine-lib 1.0.1-r3 or 1.0.2 with gcc 4.0.1 fails with the
following error:

In file included from ../dsputil.h:31,
                 from cputest.c:5:
../common.h:73: error: array type has incomplete element type
../common.h:75: error: array type has incomplete element type


Reproducible: Always
Steps to Reproduce:
1. Configure portage to use gcc-4.0.1, rebuild (almost) entire system
2. During regular --sync and -uDva, encounter xine-lib update to 1.0.1-r3
3. Watch the build fail after some time

Actual Results:  
Merge process is interrupted, as intended in case of failure

Expected Results:  
xine-lib 1.0-r2 should have been updated with 1.0.1-r3. 1.0-r2 was built using
gcc-4.0.1

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-4.0.1,
glibc-2.3.5.20050421-r0, 2.6.13-rc5-mm1 i686)
=================================================================
System uname: 2.6.13-rc5-mm1 i686 AMD Athlon(TM) XP2000+
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Wl,-z,now -O2 -march=athlon-xp -pipe -fomit-frame-pointer
-maccumulate-outgoing-args -fforce-addr -ftracer -mfpmath=sse
-ffunction-sections -fdata-sections -funit-at-a-time -fpeel-loops -ftree-pre
-ftree-ccp -ftree-dce -ftree-loop-optimize -ftree-loop-linear -ftree-loop-im
-ftree-loop-ivcanon -ftree-dominator-opts -ftree-dse -ftree-copyrename -ftree-ch
-ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/X11 /etc/gconf /etc/splash /etc/terminfo
/usr/X11R6/lib/X11/xkb /usr/share/texmf/dvips/config /etc/env.d"
CXXFLAGS="-Wl,-z,now -O2 -march=athlon-xp -pipe -fomit-frame-pointer
-maccumulate-outgoing-args -fforce-addr -ftracer -mfpmath=sse
-ffunction-sections -fdata-sections -funit-at-a-time -fpeel-loops -ftree-pre
-ftree-ccp -ftree-dce -ftree-loop-optimize -ftree-loop-linear -ftree-loop-im
-ftree-loop-ivcanon -ftree-dominator-opts -ftree-dse -ftree-copyrename -ftree-ch
-ftree-sra -ftree-ter -ftree-lrs -ftree-fre -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages keepwork sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 Xaw3d acpi aim alsa apache2 apm avi
bash-completion berkdb bitmap-fonts boundschecking bzlib cdparanoia cdr chroot
cjk crypt cups curl dga dio directfb disablexmb divx4linux dts dvd dvdr dvdread
eds emboss encode ethereal exif faad fam fbcon flac font-server foomaticdb
freetype gd gd-external gdbm gif gimpprint glut gphoto2 gstreamer gtk gtk2 icq
imagemagick imap imlib jabber java joystick jpeg jpeg2k junit kde kdeenablefinal
kdexdeltas lcms lesstif libg++ libwww lm_sensors logitech-mouse mad mailbox
maildir makecheck matroska mbox mikmod mldonkeypango mmap mmx mmx2 mmxext mng
motif mozilla moznocompose moznoirc mozsvg mp3 mpeg mpi msn mysql ncurses nls
nptl nptlonly nvidia offensive ogg oggvorbis opengl oscar oss pam parse-clocks
pdflib perl pic pie png pnp postgresql ppds python qt quicktime readline rtc
scanner sdk sdl sharedmem skey slang smime speex spell sse ssl svg svga tcltk
tcpd tetex theora tidy tiff transcode truetype truetype-fonts type1-fonts
unicode usb userlocales v4l v4l2 videos vorbis win32codecs wxgtk1 xine xml xml2
xv xvid yahoo zlib video_cards_nv video_cards_radeon linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Christian Trefzer 2005-08-12 17:50:54 UTC
Created attachment 65802 [details]
portage logfile from 1.0.1-r3 build
Comment 2 Christian Trefzer 2005-08-12 17:51:40 UTC
Created attachment 65803 [details]
portage logfile from 1.0.2 build
Comment 3 Christian Trefzer 2005-08-12 18:17:36 UTC
Yikes, this one was bs. xine-lib-1.1.0 builds fine using gcc-4.0.1, and 1.0.x
never was supposed to. Sorry for the noise!