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

Bug 85089

Summary: libquicktime 0.9.4 fails to compile with GCC 4
Product: Gentoo Linux Reporter: Roel Brook <Rainmaker526>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED NEEDINFO    
Severity: normal CC: Rainmaker526
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Full build log

Description Roel Brook 2005-03-13 07:34:51 UTC
When trying to compile libquicktime 0.9.4 using the gcc 4 beta version from protage, the emerge dies with the following error:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/quicktime -I../../include -I../../include/ -DMMX -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math -march=athlon -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math -MT RTjpeg.lo -MD -MP -MF .deps/RTjpeg.Tpo -c RTjpeg.c  -fPIC -DPIC -o .libs/RTjpeg.o
In file included from RTjpeg.c:40:
RTjpeg.h:99: warning: 'packed' attribute ignored
RTjpeg.c: In function 'RTjpeg_b2s':
RTjpeg.c:101: error: invalid lvalue in assignment
RTjpeg.c: In function 'RTjpeg_compressYUV420':
RTjpeg.c:2503: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2505: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2506: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2518: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2522: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2526: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2530: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2534: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2538: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_compressYUV422':
RTjpeg.c:2558: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2559: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2560: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2572: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2576: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2580: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2584: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_compress8':
RTjpeg.c:2602: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2616: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_decompressYUV422':
RTjpeg.c:2631: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2632: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2633: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2647: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2648: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2653: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2654: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2659: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2660: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2665: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2666: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c: In function 'RTjpeg_decompressYUV420':
RTjpeg.c:2680: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2682: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2683: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2697: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2698: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2703: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2704: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2709: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2710: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2715: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2716: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2721: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2722: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c:2727: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2728: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c: In function 'RTjpeg_decompress8':
RTjpeg.c:2743: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2757: warning: pointer targets in passing argument 4 of 'RTjpeg_s2b' differ in signedness
RTjpeg.c:2758: warning: pointer targets in passing argument 2 of 'RTjpeg_idct' differ in signedness
RTjpeg.c: In function 'RTjpeg_mcompressYUV420':
RTjpeg.c:2835: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2837: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2838: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2848: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2857: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2866: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2875: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2884: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2893: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_mcompressYUV422':
RTjpeg.c:2923: warning: pointer targets in assignment differ in signedness
RTjpeg.c:2924: warning: pointer targets in assignment differ in signedness
RTjpeg.c:2925: warning: pointer targets in assignment differ in signedness
RTjpeg.c:2934: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2943: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2952: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c:2961: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_mcompress8':
RTjpeg.c:2982: warning: pointer targets in initialization differ in signedness
RTjpeg.c:2994: warning: pointer targets in passing argument 2 of 'RTjpeg_dctY' differ in signedness
RTjpeg.c: In function 'RTjpeg_compress':
RTjpeg.c:3486: warning: pointer targets in passing argument 2 of 'RTjpeg_compressYUV420' differ in signedness
RTjpeg.c:3487: warning: pointer targets in passing argument 2 of 'RTjpeg_compressYUV422' differ in signedness
RTjpeg.c:3488: warning: pointer targets in passing argument 2 of 'RTjpeg_compress8' differ in signedness
RTjpeg.c:3497: warning: pointer targets in passing argument 2 of 'RTjpeg_mcompressYUV420' differ in signedness
RTjpeg.c:3498: warning: pointer targets in passing argument 2 of 'RTjpeg_mcompressYUV422' differ in signedness
RTjpeg.c:3499: warning: pointer targets in passing argument 2 of 'RTjpeg_mcompress8' differ in signedness
RTjpeg.c: In function 'RTjpeg_nullcompress':
RTjpeg.c:3524: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompressYUV420' differ in signedness
RTjpeg.c:3525: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompressYUV422' differ in signedness
RTjpeg.c:3526: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompress8' differ in signedness
RTjpeg.c:3535: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompressYUV420' differ in signedness
RTjpeg.c:3536: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompressYUV422' differ in signedness
RTjpeg.c:3537: warning: pointer targets in passing argument 2 of 'RTjpeg_nullcompress8' differ in signedness
RTjpeg.c: In function 'RTjpeg_decompress':
RTjpeg.c:3570: warning: pointer targets in passing argument 2 of 'RTjpeg_decompressYUV420' differ in signedness
RTjpeg.c:3571: warning: pointer targets in passing argument 2 of 'RTjpeg_decompressYUV422' differ in signedness
RTjpeg.c:3572: warning: pointer targets in passing argument 2 of 'RTjpeg_decompress8' differ in signedness
make[3]: *** [RTjpeg.lo] Fout 1
make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/plugins/rtjpeg'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/plugins'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4'
make: *** [all] Fout 2


Reproducible: Always
Steps to Reproduce:
1. emerge libquicktime
2.
3.




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-4.0.0-beta20050305,
glibc-2.3.4.20050125-r0, 2.6.11-love1 i686)
=================================================================
System uname: 2.6.11-love1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 00:46:55)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox
sfperms"GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts audiofile avi bash-completion
bitmap-fonts bzlib calender cdparanoia cdr chroot crypt cups curl dba divx4linux
dvd dvdr dvdread emboss encode esd fam filepro flac font-server foomaticdb
fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick
imlib insecure-drivers java jpeg jpeg2k junit kde ldap libg++ libwww live mad
mikmod mime mmx mono motif mozdevelop mozilla moznomail moznoxft mp3 mpeg
mplayer msn mysql ncurses network nls nptl nvidia odbc offensive oggvorbis
ooo-kde opengl pam pdflib perl php pic png postgres python qmail qt quicktime
readline real rplay samba scanner sdk sdl session sftplogging slang softmmu
speex spell sqlite sse ssl stroke svga tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts usb userlocales v4l wmf xine xinerama xml xml2 xmms
xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Roel Brook 2005-03-13 07:35:46 UTC
Created attachment 53337 [details]
Full build log
Comment 2 SpanKY gentoo-dev 2005-03-14 08:54:59 UTC
dont use gcc-4 unless you feel like fixing crap yourself

re-open when you have a fix for libquicktime