Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52373 - gst-plugins 0.6.4 fails to compile with gcc 3.4.0-r4
Summary: gst-plugins 0.6.4 fails to compile with gcc 3.4.0-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-29 10:04 UTC by Carl Bach
Modified: 2005-01-12 05:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Bach 2004-05-29 10:04:07 UTC
I cant compile gst-plugins 0.6.4 - I need them, because totem needs them. The newer gst-plugins 0.8.1 do compile fine. 

make[6]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4/gst-libs/ext/ffmpeg/ffmpeg/libavformat'
gcc -O2 -march=athlon-mp -pipe -fno-pic -nopie -Wall -g -I. -I/var/tmp/portage/g st-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg -I/var/tmp/po rtage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg/libavc odec -I/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ff mpeg/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o ffmpeg.o ffmpeg.c
ffmpeg.c: In function `do_video_out':
ffmpeg.c:636: warning: dereferencing type-punned pointer will break strict-alias ing rules
ffmpeg.c: In function `av_encode':
ffmpeg.c:1296: warning: dereferencing type-punned pointer will break strict-alia sing rules
gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o -L./libavcodec -L./liba vformat \
              -lavformat -lavcodec -lm -lz -ldl
./libavcodec/libavcodec.a(motion_est_mmx.o)(.text+0x9b3): In function `pix_abs8x 8_xy2_mmx2':
i386/motion_est_mmx.c:118: undefined reference to `bone'
./libavcodec/libavcodec.a(motion_est_mmx.o)(.text+0xcc3): In function `pix_abs16 x16_xy2_mmx2':
i386/motion_est_mmx.c:118: undefined reference to `bone'
./libavcodec/libavcodec.a(motion_est_mmx.o)(.text+0xd43):i386/motion_est_mmx.c:1 18: undefined reference to `bone'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x24): In function `ff_simple _idct_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x120):i386/simple_idct_mmx.c :209: undefined reference to `d40000'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x1de4): In function `ff_simp le_idct_put_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x1ee0):i386/simple_idct_mmx. c:209: undefined reference to `d40000'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x3bb4): In function `ff_simp le_idct_add_mmx':
i386/simple_idct_mmx.c:209: undefined reference to `wm1010'
./libavcodec/libavcodec.a(simple_idct_mmx.o)(.text+0x3cb0):i386/simple_idct_mmx. c:209: undefined reference to `d40000'
collect2: ld returned 1 exit status
make[5]: *** [ffmpeg_g] Error 1
make[5]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4/gst-libs/ext/ffmpeg/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4/gst-libs/ext/ffmpeg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins- 0.6.4'
make: *** [all] Error 2
 
!!! ERROR: media-libs/gst-plugins-0.6.4 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)


Portage 2.0.50-r7 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-love4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math"
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="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -pipe -ftracer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bonobo crypt cups curl directfb encode esd evo faad fbcon ffmpeg flac fltk foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg ldap libg++ libwww live mad mikmod mmx motif mozilla mpeg mpeg4 ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb wmf wmv x86 xine xinerama xml2 xmms xv zlib"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carl Bach 2004-05-30 04:07:50 UTC
Error is also there with gcc 3.4.0-r5
Comment 2 Hanno Böck gentoo-dev 2005-01-12 05:55:06 UTC
This is no longer an issue with current gst-plugins.