I'm currently running gimp-1.2.3-r3, I decided to upgrade from x86 to ~x86, but when it was gimp's turn to upgrade from 1.2.3-r3 to 1.2.4 it failed. I tried 4 or 5 times, but it still fails with the same problem. Here's a snip of (what I think is) the importent output, I'll attatch the complete output: # emerge gimp >>> Unpacking source... >>> Unpacking gimp-1.2.4.tar.bz2 to /var/tmp/portage/gimp-1.2.4/work >>> Source unpacked. aalib gnome perl configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. <snip: configure and a few hundred lines of fine compiling> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/li b/glib/include -I/usr/X11R6/include -I/usr/include - DDEFAULTPATH=\""~/.gimp-1.2/gimpressionist:/usr/share/gimp/1.2/gimpressionist"\" -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H -march=k6-2 -O3 -pipe -Wall -c preview.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../ intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/li b/glib/include -I/usr/X11R6/include -I/usr/include - DDEFAULTPATH=\""~/.gimp-1.2/gimpressionist:/usr/share/gimp/1.2/gimpressionist"\" -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H -march=k6-2 -O3 -pipe -Wall -c repaint.c {standard input}: Assembler messages: {standard input}:2081: Error: value of ffffffffffffff7e too large for field of 1 bytes at 00000000000018a6 make[4]: *** [repaint.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins /gimpressionist' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins /gimpressionist' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4' make: *** [all-recursive-am] Error 2 !!! ERROR: media-gfx/gimp-1.2.4 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! (no error message) Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/gimp-1.2.4 to / >>> md5 src_uri ;-) gimp-1.2.4.tar.bz2 # emerge info Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-openmosix-r4 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla cdr 3dfx evo gtk2 ipv6 samba tiff usb -quicktime" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" This is my 3'rd bug report, so tell me if I should do anything diffrent in my future bugreports.
Created attachment 12698 [details] Complete output of emerge gimp
seems that k6* is broken flag-o-magic has to be included with inherit flag-o-matic replace-flags k6-3 i586 replace-flags k6-2 i586 replace-flags k6 i586 reporter: can you confirm that i586 is working ?
I can confirm this, I get the same error. I have a k6-2 (550) as well. I also tried basic cflags and cxxflags (-march=i586 -O2 -pipe), however the result is the same. Of course I can give you more info if needed. Menno
Sorry for the confusion: I wanted to confirm to Bjarke Freund, not to Martin. However, it answers his question as well (not with confirm but with "negative"). I posted at the same moment as Martin. Menno
confirmed, that is, to Martin. ;) I emerged with: CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer" And everything works fine. Thanks.
hmm and if you compile with arch k6-* set and without -fomit-frame-pointer ? It uses strip-flags and that should've been filter-flags , i think strip-flags always filtered -fomit-frame-pointer but doesn't anymore . Please test and report back.
If you look at my attachment you'll see that it did infact strip -fomit-frame-pointer and compiles only with: -march=k6-2 -O3 -pipe So it seems that "-march=i586 -O3 -pipe" works, but not "-march=k6-2 -O3 -pipe". I could try with k6 instead of k6-2 to see if it makes a diffrence?
hmm you are correct.. still i remember seeing this before and no using k6 won't make a difference.
relevant bug #15559 it's maybe also in combination with the gcc that's used.
ok to be on the safe side i've added a replace flags for k6* to i586 . Please test the current 1.2.4 ebuild so we can be sure it works right.
i just assume everyone nods yes.
yes, nodding. I had some harddisk problems, so I haven't been able to emerge until now.
*** Bug 41656 has been marked as a duplicate of this bug. ***