Summary: | media-libs/libvisual-0.2.0 fails to compile under GCC 4.1.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Harlan Lieberman-Berg (RETIRED) <hlieberman> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amittp, askwar, colleen.beamer, zlin |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 154616, 154636 | ||
Bug Blocks: | 140707 |
Description
Harlan Lieberman-Berg (RETIRED)
2006-09-04 18:10:06 UTC
does it go away with -fomit-frame-pointer? how about libvisual-0.4.0? (In reply to comment #1) > does it go away with -fomit-frame-pointer? how about libvisual-0.4.0? I tried this and it *doesn't* go away with -fomit-frame-pointer. However, I *was* able to emerge libvisual-0.4.0 with no problem. It turns out that I am able to reproduce with: CFLAGS="-O2 -march=i686 -pipe" emerge -va1 libvisual However it goes away with: CFLAGS="-O2 -march=i686 -pipe -mmmx" emerge -va1 libvisual Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686) ================================================================= System uname: 2.6.17-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -Os -pipe" DISTDIR="/opt/distfiles" FEATURES="autoconfig buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo" LC_ALL="en_GB.utf8" LINGUAS="da en en_GB" MAKEOPTS="-j2" PKGDIR="/opt/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://zlin.dk/gentoo-portage" USE="x86 X aac acpi alsa asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli crypt css cups dlloader dri dvd dvdr emboss encode fam fat fbcon ffmpeg firefox flac fortran gdbm gif gphoto2 gpm i8x0 ieee1394 imagemagick irda irmc isdnlog jfs jpeg kde kdehiddenvisibility libg++ logitech-mouse mad mikmod mmx mmxext mp3 mpeg mplayer msn ncurses nls nptl nptlonly nsplugin ntfs ogg opengl pam pcre pdf pdflib perl png ppds pppd python qt3 quicktime readline real reflection reiser4 reiserfs scanner sdl session slp spell spl sse sse2 ssl subversion svg svga syslog tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs xcomposite xfs xine xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void kernel_linux linguas_da linguas_en linguas_en_GB userland_GNU video_cards_fbdev video_cards_fglrx video_cards_i810 video_cards_radeon video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS Same problem, Bo Same problem, Bo Ørsted Andresen soluntion worked for me. Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -mtune=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LC_ALL="en_US.UTF-8" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 16bit X X509 a52 aac aalib acl acpi alsa amd apache2 apm arts artswrappersuid automount avahi avi bash-completion berkdb binary-drivers bitmap-fonts bonobo bootsplash bzip2 c++ cacheemu caps cdda cddb cdparanoia chroot clamav clamd cli cpudetection crypt cscope cups dbus dga dlloader dri dvd dvdr dvdread eds emboss encode erandom esd fastcgi fbcon fbsplash foomaticdb fortran gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 h323 hal hardened hddtemp httpd imagemagick imap imlib innodb ipod ipv6 java jpeg kde kdeenablefinal kdexdeltas ldap libcaca libg++ libwww lm_sensors mad mikmod mime mjpeg mmap mmx mmxext motif mozdevelop mp3 mpeg mpi mplayer msn musicbrainz mysql mysqli nas nautilus ncurses nfs nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg opengl openssh openssl oss pam pam_chroot pam_console pam_timestamp pcre pdflib perl png prelude profile python qt-static qt3 qt4 quicktime rdesktop readline real reflection reiserfs ruby samba scanner screen sdk sdl session sftplogging slang slp sndfile snmp soap sockets socks5 sox spell spl sqlite sqlite3 sse sse2 ssl startup-notification subtitles subversion svg svga tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vfat vhosts vim vim-pager vim-with-x visualization vorbis webdav webservices win32codecs winbind wmf x264 xanim xine xinerama xinetd xml xmlrpc xmms xorg xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_bga video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I cannot reproduce on AMD64, x86 team please take care. Ehh... the ebuild needs to honor the mmx USE flag. You wouldn't be able to reproduce it on amd64, since amd64 always has MMX capabilities. It looks like the best solution is to stabilize the newer version, if it doesn't break other things. Reassigning to sound. Sound team: if you want us to stabilize, add the arches to CC. (In reply to comment #6) > Ehh... the ebuild needs to honor the mmx USE flag. You wouldn't be able to > reproduce it on amd64, since amd64 always has MMX capabilities. It looks like > the best solution is to stabilize the newer version, if it doesn't break other > things. 0.2.0 is needed explicitly by most packages (xmms-libvisual, lives), so 0.2.0 needs to be fixed. I guess a simple check for USE="mmx" on x86 and a die if not would work. It's ugly, but it works. As 0.4.0 is stable on x86 now, I don't believe this is a issue anymore so I'm going to close it. if its still a issue please reopen. media-plugins/gst-plugins-libvisual 0.8 and 0.10 media-plugins/libvisual-plugins-0.2 media-video/lives depend on libvisual-0.2* explicitly, so this is NOT fixed yet. So either update above reverse dependencies if possible or fix version 0.2. i'm sure this won't bump my karma meter, but let's just force MMX. it's not a full solution, but i'm betting people with processors that don't handle MMX building funky dynamic eyecandy generation plugins is a corner case. it's also what Fedora did for FC4. Index: libvisual-0.2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.2.0.ebuild,v retrieving revision 1.9 diff -u -B -r1.9 libvisual-0.2.0.ebuild --- libvisual-0.2.0.ebuild 24 Feb 2006 23:53:38 -0000 1.9 +++ libvisual-0.2.0.ebuild 9 Dec 2006 21:17:16 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.2.0.ebuild,v 1.9 2006/02/24 23:53:38 geoman Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Libvisual is an abstraction library that comes between applications and audio visualisation plugins." HOMEPAGE="http://libvisual.sourceforge.net/" @@ -23,6 +23,7 @@ } src_compile() { + [[ $ARCH == x86 ]]; append-flags -mmmx econf $(use_enable static) || die emake || die } > + [[ $ARCH == x86 ]]; append-flags -mmmx
if use x86 && append-flags -mmmx
(In reply to comment #12) > > + [[ $ARCH == x86 ]]; append-flags -mmmx > > if use x86 && append-flags -mmmx use x86 && append-flags -mmmx Done. |