Error message: gcc -O2 -march=pentium-m -fomit-frame-pointer -pipe -I. -c ./fdctdata.c >/dev/null 2>&1 ./libtool --mode=compile gcc -O2 -march=pentium-m -fomit-frame-pointer -pipe -I. -c ./jquant_x86simd.c gcc -O2 -march=pentium-m -fomit-frame-pointer -pipe -I. -c -fPIC -DPIC ./jquant_x86simd.c {standard input}: Assembler messages: {standard input}:54: Error: suffix or operands invalid for `ldmxcsr' make: *** [jquant_x86simd.lo] Fehler 1 emerge info: Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.1.0-beta20060106, glibc-2.3.6-r2, 2.6.15 i686) ================================================================= System uname: 2.6.15 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.0_pre15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -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/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks noclean sandbox sfperms sign strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="de_DE.utf-8" LC_ALL="de_DE.utf-8" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/xgl /usr/local/overlays/modx" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 asf asm avi bash-completion bitmap-fonts bl cairo cdr cgi chipcard cli crypt cups dbus dcc dri dts dvd dvdnav dvdr eds encode fastbuild fbcon ffmpeg firefox flac freetype gd gd2 gif gimp gimpprint glitz glut glx gpm gstreamer gtk2 gtkhtml hal hbci ipv6 jpeg kde kdeenablefinal ldap libcaca live mad mhash mikmod mjpeg mmx mmx2 mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg musicbrainz mysql ncurses nls no-old-linux no_wxgtk1 nomotif nptl nptlonly ogg oggvorbis opengl pam pcre png python pyzor qt quicktime razor readline real rtf samba scanner sdl session slang speex sse sse2 ssl svg theora tiff truetype truetype-fonts type1 type1-fonts unicode usb userlocales utf8 v4l v4l2 vorbis wifi win32codecs wxwindows xine xml2 xprint xv xvid zlib elibc_glibc input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
"Please `export I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1` or define it in your make.conf if you want to use this ebuild." ;P
Created attachment 77880 [details, diff] jpeg-mmx-0.1.6-gcc41.patch this hasn't been accepted by upstream yet, but i've both compile tested and run tested it and it seems fine. upstream bug: https://sourceforge.net/tracker/index.php?func=detail&aid=1389088&group_id=5776&atid=105776
Looks like vapier is maintaining this.
note: i've worked around this problem by setting -O1 for this package. Any other settings resulted in assembler error (the same)
Created attachment 80533 [details] jpeg-mmx-0.1.6-r2.ebuild For the lazy here's an ebuild.
PS for noobs copy /usr/portage/media-libs/jpeg-mmx to /usr/local/portage/media-libs/jpeg-mmx put the ebuild into that folder - then add that clever Ryan Hill's patch into /usr/local/portage/media-libs/jpeg-mmx/files and add PORTAGE_OVERLAY="/usr/local/portage" into /etc/make.conf if you haven't already.
Fixed, thanks.