Imagemagick doesn't compile when -mcpu or -march = k6 or k6-2 and CFLAGS has -fomit-frame-pointer. May be related to bug 14343 Some sample output: if /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/X11 -I/usr/include/libxml2 -O3 -march=k6 -fomit-frame-pointer -Wall -pthread -MT magick/magick_libMagick_la-option.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-option.Tpo" -c -o magick/magick_libMagick_la-option.lo `test -f 'magick/option.c' || echo './'`magick/option.c; \ then mv -f "magick/.deps/magick_libMagick_la-option.Tpo" "magick/.deps/magick_libMagick_la-option.Plo"; else rm -f "magick/.deps/magick_libMagick_la-option.Tpo"; exit 1; fi if /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/X11 -I/usr/include/libxml2 -O3 -march=k6 -fomit-frame-pointer -Wall -pthread -MT magick/magick_libMagick_la-paint.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-paint.Tpo" -c -o magick/magick_libMagick_la-paint.lo `test -f 'magick/paint.c' || echo './'`magick/paint.c; \ then mv -f "magick/.deps/magick_libMagick_la-paint.Tpo" "magick/.deps/magick_libMagick_la-paint.Plo"; else rm -f "magick/.deps/magick_libMagick_la-paint.Tpo"; exit 1; fi if /bin/sh ./libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/X11 -I/usr/include/libxml2 -O3 -march=k6 -fomit-frame-pointer -Wall -pthread -MT magick/magick_libMagick_la-pixel.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-pixel.Tpo" -c -o magick/magick_libMagick_la-pixel.lo `test -f 'magick/pixel.c' || echo './'`magick/pixel.c; \ then mv -f "magick/.deps/magick_libMagick_la-pixel.Tpo" "magick/.deps/magick_libMagick_la-pixel.Plo"; else rm -f "magick/.deps/magick_libMagick_la-pixel.Tpo"; exit 1; fi /var/tmp/portage/imagemagick-6.2.4.2-r1/temp/ccxrUh34.s: Assembler messages: /var/tmp/portage/imagemagick-6.2.4.2-r1/temp/ccxrUh34.s:19596: Error: value of ffffffffffffff7f too large for field of 1 bytes at 00000000000101b7 make[1]: *** [magick/magick_libMagick_la-pixel.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/imagemagick-6.2.4.2-r1/work/ImageMagick-6.2.4' make: *** [all] Error 2 !!! ERROR: media-gfx/imagemagick-6.2.4.2-r1 failed. !!! Function src_compile, Line 81, Exitcode 2 !!! compile problem Depending on conditions (e.g. use of parallel building, distcc), the value that's being stuffed in a bad place could be different. I just checked with imagemagick-6.2.5.5, and a similar problem occurs. As far as I can tell, only k6 and family are affected. If you tune to a different CPU or not omit frame pointers, it compiles. I'm keeping frame pointers for now for my own use.
emerge --info, please...
I can confirm this behaviour when using -fomit-frame-pointer. Without everything went fine. Here's the error: if /bin/sh ./libtool --silent --tag=CC --mode=compile i586-pc-linux-gnu-gcc -DHA VE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freet ype2 -I/usr/include/libxml2 -march=k6-2 -O3 -pipe -fomit-frame-pointer -fstack- protector -Wall -pthread -MT magick/magick_libMagick_la-profile.lo -MD -MP -MF " magick/.deps/magick_libMagick_la-profile.Tpo" -c -o magick/magick_libMagick_la-p rofile.lo `test -f 'magick/profile.c' || echo './'`magick/profile.c; \ then mv -f "magick/.deps/magick_libMagick_la-profile.Tpo" "magick/.deps/magick_l ibMagick_la-profile.Plo"; else rm -f "magick/.deps/magick_libMagick_la-profile.T po"; exit 1; fi {standard input}: Assembler messages: {standard input}:20565: Error: value of ffffffffffffff7a too large for field of 1 bytes at 000000000000f35b make[1]: *** [magick/magick_libMagick_la-pixel.lo] Fehler 1 make[1]: *** Warte auf noch nicht beendete Prozesse... make[1]: Leaving directory `/var/tmp/portage/imagemagick-6.2.4.2-r1/work/ImageMa gick-6.2.4' make: *** [all] Fehler 2 !!! ERROR: media-gfx/imagemagick-6.2.4.2-r1 failed. !!! Function src_compile, Line 81, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. And my emerge info: Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11-hardened-r14 i586) ================================================================= System uname: 2.6.11-hardened-r14 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=k6-2 -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /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/ /var/qmail/control /var/www/localhost/htdocs/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6-2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.zie.pg.gda.pl" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow alsa apache2 apm audiofile avi berkdb bzip2 bzlib chroot cli crypt dba eds emboss encode expat flac foomaticdb fortran gd gd2 gif gmp gpm gstreamer imagemagick imap imlib innodb jpeg ldap libg++ libwww maildir matrox mbox mhash mime1 ming mmx mp3 mpeg mysql ncurses nls ogg oggvorbis pam pam-mysql pcre pdflib pear perl php png posix python readline samba sasl sasl2 session sharedmem simplexml sockets ssl tcpd tetex tiff truetype unicode userlocales vorbis xml xml2 xsl zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
(In reply to comment #2) > CFLAGS="-march=k6-2 -O3 -pipe" ^^ removed -fomit-frame-pointer from CFLAGS, 'cause I need Imagemagick
k6 targets are known to unstable at times ... since this isnt a bug in imagemagick, i'd just say stop using -fomit-frame-pointer with k6 and close this bug as WONTFIX
As vapier said. Closing