Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152745 - imlib2-1.2.1.009 fails to compile on amd64 with mmx use flag (which has been enabled by default)
Summary: imlib2-1.2.1.009 fails to compile on amd64 with mmx use flag (which has been ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 151636
  Show dependency tree
 
Reported: 2006-10-24 23:02 UTC by Neal McConachie
Modified: 2006-10-25 02:05 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 Neal McConachie 2006-10-24 23:02:49 UTC
After a recent emerge --sync, portage wants to emerge various libs with new use flags such as sse, sse2 and mmx.  Among these:

[ebuild   R   ] media-libs/imlib2-1.2.1.009  USE="X bzip2 doc gif jpeg mmx* mp3 nls png tiff zlib"

------------------------------------------------------------------------
imlib2 1.2.1.009
------------------------------------------------------------------------

Configuration Options Summary:


Image Loaders:
  JPEG....................: yes
  PNG.....................: yes
  TIFF....................: yes
  GIF.....................: yes
  ZLIB....................: yes
  BZIP2...................: yes
  ID3.....................: yes


Use MMX for extra speed...: yes
Use AMD64 for extra speed.: no

Installation Path.........: /usr

Compilation...............: make
Installation..............: make install

Making all in src
Making all in lib

I'm not quite sure why it's not using the amd64 option for extra speed, but that's besides the point...

Here's the compiler error message:
asm_blend.S: Assembler messages:
asm_blend.S:151: Error: suffix or operands invalid for `push'
asm_blend.S:151: Error: suffix or operands invalid for `push'
asm_blend.S:151: Error: suffix or operands invalid for `push'
asm_blend.S:151: Error: suffix or operands invalid for `push'

... hundreds more of these ...

make[3]: *** [asm_blend.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/freetype2 -I. -I../.. -I../.. -march=athlon64 -O2 -pipe -fomit-frame-pointer -c asm_blend_cmod.S  -fPIC -DPIC -o .libs/asm_blend_cmod.o
asm_blend_cmod.S: Assembler messages:
asm_blend_cmod.S:352: Error: suffix or operands invalid for `push'
asm_blend_cmod.S:352: Error: suffix or operands invalid for `push'
asm_blend_cmod.S:352: Error: suffix or operands invalid for `push'

.....more of the same....

make[3]: *** [asm_blend_cmod.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
 * Please do not contact the E team about bugs in Gentoo.
 * Only contact vapier@gentoo.org via e-mail or bugzilla.
 * Remember, this stuff is CVS only code so dont cry when
 * I break you :).

!!! ERROR: media-libs/imlib2-1.2.1.009 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  imlib2-1.2.1.009.ebuild, line 47:   Called enlightenment_src_compile
  enlightenment.eclass, line 150:   Called enlightenment_die 'emake failed'
  enlightenment.eclass, line 102:   Called die

!!! emake failed
!!! SEND BUG REPORTS TO vapier@gentoo.org NOT THE E TEAM
!!! If you need support, post the topmost build error, and the call stack if relevant.

Emerge --info:

Portage 2.1.2_pre3-r8 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.5
Last Sync: Wed, 25 Oct 2006 03:20:02 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /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="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.arcticnetwork.ca/distfiles/"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
LINGUAS="en_CA en_US en_GB en"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt css cups dlloader doc dri dv dvd dvdr dvdread elibc_glibc emboss emul-linux-x86 encode examples ffmpeg firefox foomaticdb fortran gif glut gmp gnutls gpm gstreamer gtk2 ieee1394 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog java javascript jikes jpeg kernel_linux lame linguas_en linguas_en_CA linguas_en_GB linguas_en_US logrotate lzw lzw-tiff mad motif mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin ofx ogg opengl pam pcre perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis wma wmf xinetd xml xorg xpm xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS
Comment 1 SpanKY gentoo-dev 2006-10-24 23:17:55 UTC
looks like someone on the amd64 team released it before it was ready
Comment 2 Michael Weyershäuser 2006-10-25 00:05:22 UTC
Nah, rather like we only tested ~amd64 packages, not the latest stable ones...
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-10-25 02:05:21 UTC
It works with imlib2-1.2.2.001, the current testing, so I masked the mmx flag for the stable version again.