Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247653 - media-video/ffmpeg: compilation fails on sparc: undefined reference to ff_simple_idct_vis
Summary: media-video/ffmpeg: compilation fails on sparc: undefined reference to ff_sim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 245285
  Show dependency tree
 
Reported: 2008-11-20 00:57 UTC by Jeremy Huddleston Sequoia
Modified: 2008-12-13 09:58 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 Jeremy Huddleston Sequoia 2008-11-20 00:57:12 UTC
cd ./libavdevice/ && ln -sf libavdevice.so.52 libavdevice.so
sparc-unknown-linux-gnu-gcc -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavfilter -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libpostproc -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libswscale -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavdevice -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavformat -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavcodec -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavutil -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libpostproc -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libswscale -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavfilter -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavdevice -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavformat -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavcodec -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg"/libavutil -Wl,-Bsymbolic -o ffmpeg_g ffmpeg.o cmdutils.o -lavfilter -lpostproc -lswscale -lavdevice -lavformat -lavcodec -lavutil -lz -lbz2 -lm -lfaac -lfaad -lmp3lame -lm -ltheora -logg -lvorbisenc -lvorbis -logg -lxvidcore    -ldl -lX11 -lXext
/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/work/ffmpeg/libavcodec/libavcodec.so: undefined reference to `ff_simple_idct_vis'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: media-video/ffmpeg-0.4.9_p20081014 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2443:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9_p20081014/temp/environment'.
 *

---

Portage 2.2_rc14 (default-linux/sparc/sparc64/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 sparc64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-sparc64-sun4u-with-glibc2.0
Timestamp of tree: Mon, 17 Nov 2008 12:24:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1, 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc ~sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
DISTDIR="/var/tmp/gentoo/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/var/tmp/gentoo/packages-sparc"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync7.us.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac accessibility acl aim alsa ao apache apache2 asterisk audiofile bash-completion berkdb bidi bonobo browserplugin bzip2 c++ cap caps cddb cdparanoia chroot clamav cli cpudetection cracklib crypt cups curl cvsgraph dbus dmx dnd dri dts dv dvd dvdread edl eds encode enscript erandom esd evo expat ext-png ext-zlib extensions extlib f77 fam fame fastcgi fat fbcon fbdev ffmpeg fftw firefox flac flash fltk fluidsynth font-server fontconfig foreign-package fortran fpx freetype fullrpc gcl gdbm gif gimpprint glade glgd glib glut gnome gnomedb gnutls gpm graphviz gs gtk gtk2 gtkhtml hal hdri iconv id3 id3tag idea idn imagemagick imap imlib imlib2 innodb iproute2 ipsec ipv6 isdnlog jabber jack javascript jbig jdepend jikes joystick jpeg jpeg2k junit justify ladcca lcms ldap leim libg libgda linuxthreads-tls live logitech-mouse lzo mad maildir makecheck midi mmap mng motif moznocompose moznoirc mozsvg mp3 mpeg mpeg2 mplayer msn mudflap mule multislot music mysql nas ncurses net network nis nls nptl nptlonly nsplugin oav objc odbc offensive ogg oldworld openal openexr opengl openmp operanom2 oscar oss pam parse-clocks pcre perl png portaudio ppds pppd prelude propolice pthreads python q32 qhull qt3 qt3support rdesktop readline reflection rpc rtc samba sasl sdl serial server session silc slp sndfile socks5 sox sparc speex spell spl sqlite sqlite3 ssl svg taglib tcltk tcpd tga theora tiff timidity transcode truetype type1 unicode usb userlocales videos vim-with-x virus-scan vorbis wmf wxwindows xaa xchattext xine xml xml2 xorg xosd xv xvid yahoo zlib" ALSA_CARDS="sun-cs4231,ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati sunffb mga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


---

[ebuild     U ] media-video/ffmpeg-0.4.9_p20081014 [0.4.9_p20070616-r2] USE="X aac encode ipv6 mp3%* network sdl theora vorbis xvid zlib (-altivec) -amr -bindist% -debug -dirac% -doc -gsm% -hardcoded-tables% -ieee1394 (-mmx) (-mmxext) -schroedinger% (-ssse3) -test -threads -v4l (-v4l2) -vhook% -x264 (-a52%*) (-imlib%*) (-ogg%*) (-oss%*) (-truetype%*)" 0 kB
Comment 1 Matthias Schwarzott gentoo-dev 2008-11-20 08:47:19 UTC
Maybe this is --as-needed related.
Please attach emerge --info output.
Comment 2 Alexis Ballier gentoo-dev 2008-11-20 09:29:42 UTC
(In reply to comment #1)
> Maybe this is --as-needed related.
> Please attach emerge --info output.
> 

nope this is gcc 4.3 related; waiting for a fix to be sent upstream
Comment 4 Friedrich Oslage (RETIRED) gentoo-dev 2008-12-13 09:36:06 UTC
Can you  backport the fix and add it to media-video/ffmpeg-0.4.9_p20081014, so we can do the stabilization bug #245285 ?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-12-13 09:58:16 UTC
(In reply to comment #4)
> Can you  backport the fix and add it to media-video/ffmpeg-0.4.9_p20081014, so
> we can do the stabilization bug #245285 ?
> 

+  13 Dec 2008; <ssuominen@gentoo.org>
+  +files/ffmpeg-0.4.9_p20081014-sparc-gcc43.patch,
+  ffmpeg-0.4.9_p20081014.ebuild:
+  Backport upstream patch for sparc to allow compilation with GCC 4.3 wrt
+  #247653.