I have succesfully installed the latest version of the following mythtv plugins on amd64 with gcc 3.4.1 by just adding the amd64 keyword. ebuilds that I installed and used (and worked:P): mythbrowser 0.15 mythgallery 0.15 mythnews 0.15 mythvideo 0.15.1 mythweather 0.15 mythtv-themes 0.15 ebuilds that I installed but haven't used yet because: -no dvdplayer in box yet -the dreaded xmame version not supported error, i also have that on x86 :( mythdvd 0.15 mythgame 0.15 The only myth plugin that didn't compile was mythmusic 0.15.1 Here's the error: gcc -c -pipe -Wall -W -O3 -march=k8 -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include -I/usr/X11R6/include -o goom_core.o goom/goom_core.c goom/goom_core.c: In function `goom_init': goom/goom_core.c:88: warning: cast from pointer to integer of different size goom/goom_core.c:95: warning: cast from pointer to integer of different size goom/goom_core.c:95: warning: cast to pointer from integer of different size goom/goom_core.c:96: warning: cast from pointer to integer of different size goom/goom_core.c:96: warning: cast to pointer from integer of different size goom/goom_core.c: In function `goom_set_resolution': goom/goom_core.c:132: warning: cast from pointer to integer of different size goom/goom_core.c:132: warning: cast to pointer from integer of different size goom/goom_core.c:133: warning: cast from pointer to integer of different size goom/goom_core.c:133: warning: cast to pointer from integer of different size gcc -c -pipe -Wall -W -O3 -march=k8 -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include -I/usr/X11R6/include -o graphic.o goom/graphic.c goom/filters.c: In function `zoomFilterFastRGB': goom/filters.c:665: warning: cast from pointer to integer of different size goom/filters.c:665: warning: cast to pointer from integer of different size goom/filters.c:669: warning: cast from pointer to integer of different size goom/filters.c:669: warning: cast to pointer from integer of different size goom/filters.c:673: warning: cast from pointer to integer of different size goom/filters.c:673: warning: cast to pointer from integer of different size {standard input}: Assembler messages: {standard input}:117: Error: suffix or operands invalid for `pop' {standard input}:123: Error: suffix or operands invalid for `pop' make[1]: *** [filters.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/mythmusic-0.15.1/work/mythmusic-0.15.1/mythmusic' make: *** [sub-mythmusic] Error 2 !!! ERROR: media-plugins/mythmusic-0.15.1 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! compile problem # emerge info Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r12) ================================================================= System uname: 2.6.7-gentoo-r12 x86_64 4 Gentoo Base System version 1.5.2 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/gentoo-rsync /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /opt/gentoo-rsync/portage /etc/env.d" CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tiscali.nl/pub/mirror/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="S3TC X aac aalib acpi acpi4linux alsa amd64 apm arts asterisk audiofile avi berkdb cdparanoia cdr chroot crypt cups dga divx4linux dv dvd dvdr dvdread encode f77 faac faad fbcon fbdev ffmpeg fftw flac flash foomaticdb ftp gcj gd gdbm ggi gif gpm gstreamer gtk2 icq ieee1394 imagemagick imap imlib imlib2 irmc jabber java javascript joystick jp2 jpeg kde lcd lcms ldap libg++ libwww linguas_en_GB linguas_nl lirc live lzo lzw lzw-tiff mad mbox mikmod mng motif mozaccess mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer msn mysql mythtv nas ncurses net nls nptl oav objc offensive oggvorbis opengl opie oss pam pda pdflib perl pic plotutils png pthreads python qt quicktime readline rtc samba sasl sdl slang slp speex spell ssl svg tcltk tcpd theora tiff transcode truetype usb v4l v4l2 videos wmf xml2 xmms xosd xprint xrandr xv xvid zlib zvbi" Reproducible: Always Steps to Reproduce:
I have built and used mythdvd on amd64. (I can also confirm that gallery, video and weather work too). I managed to build the mythmusic plugin too, after removing the offending code from the goom visualisation. I have disabled all visualisations to protect me from any effects of having removed code. To get the plugins to build I added the amd64 keyword to the ebuilds, and I also had to edit the src_compile function to get them to build: Add: > if [ "${ARCH}" == "amd64" ]; then > sed -e "s:-march=pentiumpro::" -e "/DEFINES += MMX/d" -i settings.pro > else Just before: > local cpu="`get-flag march || get-flag mcpu`" > if [ "${cpu}" ] ; then > sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed" > fi And add after: > fi
All plugins except mythmusic (hoping to fix that later today) is enabled for amd64 starting from 0.16.
I noticed, thanks! I installed mythmusic also, by removing all references to goom and Goom Compiles cleanly then...