Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25309 - can't compile gimp 1.2.4 (Assembler messages: 2262: Error: value of ffffffffffffff7e too large for field of 1 bytes at 00000000000019e6)
Summary: can't compile gimp 1.2.4 (Assembler messages: 2262: Error: value of fffffffff...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-26 02:52 UTC by wiono
Modified: 2003-07-27 05:37 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 wiono 2003-07-26 02:52:35 UTC
make[4]: Entering directory `/var/tmp/portage/gimp-1.2.4/work/gimp-1.2.4/plug-ins/gimpressionist'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..-I../../intl-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c about.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c brush.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c general.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c gimp.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c gimpressionist.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c orientation.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c orientmap.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c paper.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c placement.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c plasma.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c ppmtool.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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c presets.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/lib/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=i586 -mcpu=k6-2 -O2 -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/lib/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=i586 -mcpu=k6-2 -O2 -pipe -Wall -c repaint.c
{standard input}: Assembler messages:
{standard input}:2262: Error: value of ffffffffffffff7e too large for field of 1 bytes at 00000000000019e6
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 77, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.emerge gimp
2.
3.




System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm) 3D processor
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts java X tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl apache2 cdr clamav curl dnd flash fltk gd gd-external gstreamer jikes ladcca maildir memlimit mysql nowin nptl oav ppds samba sasl slp tiff usb wmf Xaw3d -gpm -gnome -svga"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe"
CXXFLAGS="-march=i586 -mcpu=k6-2 -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 wiono 2003-07-26 03:26:33 UTC
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
Comment 2 wiono 2003-07-27 02:23:22 UTC
I solved my problem on my owm :)

I've added a one line to file gimp-1.2.4.ebuild

src_compile() {
# fix problem with k6's (#22115)
replace-flags -mcpu=k6-2
replace-flags -march=k6-2 -march=i586
replace-flags -march=k6-3 -march=i586
replace-flags -march=k6 -march=i586
# over optimisations (#21787)
replace-flags -Os -O2
Comment 3 foser (RETIRED) gentoo-dev 2003-07-27 05:37:59 UTC
is an optimizations problem. You shouldnt be using -m{cpu,arc}=k6* at all most likely .