Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122704 - media-libs/libdv-0.104-r1 fails to emerge with gcc-4.1
Summary: media-libs/libdv-0.104-r1 fails to emerge with gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 146016 146167 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-02-13 09:58 UTC by Tod Herman
Modified: 2006-09-03 11:09 UTC (History)
7 users (show)

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


Attachments
libdv-0.103-mmx.patch (libdv-0.103-mmx.patch,1.43 KB, patch)
2006-02-23 11:55 UTC, Beech Horn
Details | Diff
libdv-0.104-r2.ebuild (libdv-0.104-r2.ebuild,1.51 KB, text/plain)
2006-02-23 11:56 UTC, Beech Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Herman 2006-02-13 09:58:39 UTC
emerge of libdvd-0.104-r1 fails with following error:

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104'
Making all in libdv
make[2]: Entering directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104/libdv'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT gasmoff.o -MD -MP -MF ".deps/gasmoff.Tpo" -c -o gasmoff.o gasmoff.c; \
then mv -f ".deps/gasmoff.Tpo" ".deps/gasmoff.Po"; else rm -f ".deps/gasmoff.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --mode=link --tag=CC i686-pc-linux-gnu-gcc  -march=i686 -O2 -fomit-frame-pointer -pipe -Wall  -Wl,-O1 -Wl,--sort-common -s -o gasmoff  gasmoff.o  -lm
./gasmoff > asmoff.h
make  all-am
make[3]: Entering directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104/libdv'
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT dv.lo -MD -MP -MF ".deps/dv.Tpo" -c -o dv.lo dv.c; \
then mv -f ".deps/dv.Tpo" ".deps/dv.Plo"; else rm -f ".deps/dv.Tpo"; exit 1; fi
dv.c: In function 'dv_decode_macroblock':
dv.c:224: warning: passing argument 5 of '_dv_quant_88_inverse_x86' from incompatible pointer type
dv.c: In function 'dv_decode_video_segment':
dv.c:256: warning: passing argument 5 of '_dv_quant_88_inverse_x86' from incompatible pointer type
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT dct.lo -MD -MP -MF ".deps/dct.Tpo" -c -o dct.lo dct.c; \
then mv -f ".deps/dct.Tpo" ".deps/dct.Plo"; else rm -f ".deps/dct.Tpo"; exit 1; fi
dct.c:272: warning: 'postscale88' defined but not used
dct.c:335: warning: 'postscale248' defined but not used
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT idct_248.lo -MD -MP -MF ".deps/idct_248.Tpo" -c -o idct_248.lo idct_248.c; \
then mv -f ".deps/idct_248.Tpo" ".deps/idct_248.Plo"; else rm -f ".deps/idct_248.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT weighting.lo -MD -MP -MF ".deps/weighting.Tpo" -c -o weighting.lo weighting.c; \
then mv -f ".deps/weighting.Tpo" ".deps/weighting.Plo"; else rm -f ".deps/weighting.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT quant.lo -MD -MP -MF ".deps/quant.Tpo" -c -o quant.lo quant.c; \
then mv -f ".deps/quant.Tpo" ".deps/quant.Plo"; else rm -f ".deps/quant.Tpo"; exit 1; fi
quant.c: In function '_dv_quant':
quant.c:213: warning: passing argument 5 of '_dv_quant_x86' from incompatible pointer type
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT vlc.lo -MD -MP -MF ".deps/vlc.Tpo" -c -o vlc.lo vlc.c; \
then mv -f ".deps/vlc.Tpo" ".deps/vlc.Plo"; else rm -f ".deps/vlc.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT place.lo -MD -MP -MF ".deps/place.Tpo" -c -o place.lo place.c; \
then mv -f ".deps/place.Tpo" ".deps/place.Plo"; else rm -f ".deps/place.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT parse.lo -MD -MP -MF ".deps/parse.Tpo" -c -o parse.lo parse.c; \
then mv -f ".deps/parse.Tpo" ".deps/parse.Plo"; else rm -f ".deps/parse.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT bitstream.lo -MD -MP -MF ".deps/bitstream.Tpo" -c -o bitstream.lo bitstream.c; \
then mv -f ".deps/bitstream.Tpo" ".deps/bitstream.Plo"; else rm -f ".deps/bitstream.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile --tag=CC i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O2 -fomit-frame-pointer -pipe -Wall -MT YUY2.lo -MD -MP -MF ".deps/YUY2.Tpo" -c -o YUY2.lo YUY2.c; \
then mv -f ".deps/YUY2.Tpo" ".deps/YUY2.Plo"; else rm -f ".deps/YUY2.Tpo"; exit 1; fi
{standard input}: Assembler messages:
{standard input}:947: Error: suffix or operands invalid for `paddb'
{standard input}:953: Error: suffix or operands invalid for `paddb'
{standard input}:968: Error: suffix or operands invalid for `paddb'
{standard input}:974: Error: suffix or operands invalid for `paddb'
{standard input}:1126: Error: suffix or operands invalid for `paddb'
{standard input}:1136: Error: suffix or operands invalid for `paddb'
{standard input}:1151: Error: suffix or operands invalid for `paddb'
{standard input}:1161: Error: suffix or operands invalid for `paddb'
{standard input}:1493: Error: suffix or operands invalid for `paddb'
{standard input}:1499: Error: suffix or operands invalid for `paddb'
{standard input}:1514: Error: suffix or operands invalid for `paddb'
{standard input}:1520: Error: suffix or operands invalid for `paddb'
make[3]: *** [YUY2.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104/libdv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104/libdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.104-r1/work/libdv-0.104'
make: *** [all] Error 2

!!! ERROR: media-libs/libdv-0.104-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.

Emerge --info:

Portage 2.1_pre4-r1 (default-linux/x86/2006.0, gcc-4.1.0-beta20060210, glibc-2.3.6-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 1.70GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo                 http://gentoo.osuosl.org                 http://gentoo.netnitco.net                 http://gentoo.ccccom.com                 http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 arts artswrappersuid asf audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cdparanoia cdr cgi clamav commercial crypt css cups curl dbus divx4linux dri dv dvd dvdr dvdread eds emboss encode esd exif fam fat fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imap imlib ipv6 java jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww lm_sensors logrotate mad mbox mikmod mmx mng motif mozilla mp3 mpeg musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg on-the-fly-crypt opengl oss pam pcre pdf pdflib perl pic png pop ppds python qt quicktime rdesktop readline real samba scanner sdl slang smp smtp snmp sockets spell sse sse2 ssl svg sysfs tcltk tcpd tiff toolbar transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs xcomposite xine xml xml2 xmms xprint xscreensaver xv xvid zeroconf zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 10:04:25 UTC
gcc-4.1 is unsupported, reopen with a patch.
Comment 2 Hanno Zysik (geki) 2006-02-15 15:50:16 UTC
here you are:
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/libdv/libdv-0.103-mmx.patch

---

http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/libdv/libdv.spec
Quote:
%changelog
* Mon Feb 13 2006 Paul Nasrat <pnasrat@redhat.com> - 0:0.103-4.3
- Patch to build with gcc 4.1
Comment 3 Hanno Zysik (geki) 2006-02-16 04:13:39 UTC
Reopen, patch is available.
Comment 4 Tod Herman 2006-02-16 06:04:28 UTC
It would appear a patch is available now.  
Comment 5 Beech Horn 2006-02-23 11:55:49 UTC
Created attachment 80542 [details, diff]
libdv-0.103-mmx.patch

From Fedora cvs http://forums.gentoo.org/viewtopic-t-402539-postdays-0-postorder-asc-start-550.html
Comment 6 Beech Horn 2006-02-23 11:56:48 UTC
Created attachment 80543 [details]
libdv-0.104-r2.ebuild

An ebuild using the patch.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2006-02-25 18:22:08 UTC
Seems to work as far as I can tell :)
Comment 8 Luca Barbato gentoo-dev 2006-03-06 04:02:48 UTC
Committed.
Comment 9 ProTech 2006-09-02 00:04:07 UTC
Please make this version stable, becouse gcc-4.1.1 is stable, and the current stable version don't compiles with it.

I don't have rights to reopen this bug.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 14:40:23 UTC
*** Bug 146016 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 11:09:12 UTC
*** Bug 146167 has been marked as a duplicate of this bug. ***