Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47177 - gimp-2.0.0 build fails on gimp-composite-mmx
Summary: gimp-2.0.0 build fails on gimp-composite-mmx
Status: RESOLVED DUPLICATE of bug 55900
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:
: 54751 (view as bug list)
Depends on: 55900
Blocks:
  Show dependency tree
 
Reported: 2004-04-07 21:37 UTC by wayne tedder
Modified: 2005-07-17 13:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gimp build logs (2237-gimp-2.0.0.log,384.15 KB, text/plain)
2004-05-05 20:56 UTC, Paul English
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wayne tedder 2004-04-07 21:37:56 UTC
gimp-composite-mmx.c: At top level:
gimp-composite-mmx.c:793: warning: `mmx_op_overlay' defined but not used
make[3]: *** [gimp-composite-mmx.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/app/composite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0'
make: *** [all] Error 2

ohhh! the pain, the worry! :(

bash-2.05b# emerge --info
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-
r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(TM) MP 1500+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2                                      /share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/                                      config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu                                      x/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa arts avi berkdb cdr crypt cups curl dvd dvdr encode esd foomat                                      icdb gif gnome gtk gtk2 hpoj imlib jpeg kde libwww linguas_de linguas_en linguas                                      _fr linguas_ru linguas_sp mad mmx motif mozilla mp3 mpeg ncurses nls oggvorbis o                                      pengl pam perl pic png python qt quicktime readline scanner sdl slang spell ssh                                       ssl svga tcpd truetype usb x86 xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-04-08 11:27:03 UTC
ohhh! the lack of info *sigh*

you miss the relevant part of the output. Just attach it all.
Comment 2 wayne tedder 2004-04-09 19:37:26 UTC
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-3dnow.o -MD -MP -MF ".deps/gimp-composite-3dnow.Tpo" \
  -c -o gimp-composite-3dnow.o `test -f 'gimp-composite-3dnow.c' || echo './'`gimp-composite-3dnow.c; \
then mv -f ".deps/gimp-composite-3dnow.Tpo" ".deps/gimp-composite-3dnow.Po"; \
else rm -f ".deps/gimp-composite-3dnow.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-altivec.o -MD -MP -MF ".deps/gimp-composite-altivec.Tpo" \
  -c -o gimp-composite-altivec.o `test -f 'gimp-composite-altivec.c' || echo './'`gimp-composite-altivec.c; \
then mv -f ".deps/gimp-composite-altivec.Tpo" ".deps/gimp-composite-altivec.Po"; \
else rm -f ".deps/gimp-composite-altivec.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-generic.o -MD -MP -MF ".deps/gimp-composite-generic.Tpo" \
  -c -o gimp-composite-generic.o `test -f 'gimp-composite-generic.c' || echo './'`gimp-composite-generic.c; \
then mv -f ".deps/gimp-composite-generic.Tpo" ".deps/gimp-composite-generic.Po"; \
else rm -f ".deps/gimp-composite-generic.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-mmx.o -MD -MP -MF ".deps/gimp-composite-mmx.Tpo" \
  -c -o gimp-composite-mmx.o `test -f 'gimp-composite-mmx.c' || echo './'`gimp-composite-mmx.c; \
then mv -f ".deps/gimp-composite-mmx.Tpo" ".deps/gimp-composite-mmx.Po"; \
else rm -f ".deps/gimp-composite-mmx.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-sse.o -MD -MP -MF ".deps/gimp-composite-sse.Tpo" \
  -c -o gimp-composite-sse.o `test -f 'gimp-composite-sse.c' || echo './'`gimp-composite-sse.c; \
then mv -f ".deps/gimp-composite-sse.Tpo" ".deps/gimp-composite-sse.Po"; \
else rm -f ".deps/gimp-composite-sse.Tpo"; exit 1; \
fi
gimp-composite-mmx.c: In function `gimp_composite_burn_rgba8_rgba8_rgba8_mmx':
gimp-composite-mmx.c:142: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -march=athlon -pipe -fomit-frame-pointer -Wall -MT gimp-composite-sse2.o -MD -MP -MF ".deps/gimp-composite-sse2.Tpo" \
  -c -o gimp-composite-sse2.o `test -f 'gimp-composite-sse2.c' || echo './'`gimp-composite-sse2.c; \
then mv -f ".deps/gimp-composite-sse2.Tpo" ".deps/gimp-composite-sse2.Po"; \
else rm -f ".deps/gimp-composite-sse2.Tpo"; exit 1; \
fi
gimp-composite-mmx.c: At top level:
gimp-composite-mmx.c:793: warning: `mmx_op_overlay' defined but not used
make[3]: *** [gimp-composite-mmx.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/app/composite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.0/work/gimp-2.0.0'
make: *** [all] Error 2
+ diefunc src_compile 89 2
+ local funcname=src_compile lineno=89 exitcode=2
+ shift 3
+ echo

+ echo '!!! ERROR: media-gfx/gimp-2.0.0 failed.'
!!! ERROR: media-gfx/gimp-2.0.0 failed.
+ echo '!!! Function src_compile, Line 89, Exitcode 2'
!!! Function src_compile, Line 89, Exitcode 2
+ echo '!!! (no error message)'
!!! (no error message)
+ echo

+ exit 1
bash-2.05b#

Thats a bit more, but, were failing a ways through so I'm sceptical about posting the whole dang thing.
Comment 3 Paul English 2004-05-05 20:56:53 UTC
Created attachment 30827 [details]
gimp build logs

Logs building gimp 2.0.0, showing register errors.
Comment 4 Paul English 2004-05-05 20:58:07 UTC
I'm seeing the same problem with this setup:

Gentoo Base System version 1.4.10
Portage 2.0.50-r6 (hardened-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.4.26-co-0.6.0)
=================================================================
System uname: 2.4.26-co-0.6.0 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts avi berkdb cdr crypt cups directfb dv dvb dvd dvdr encode esd evo faad fbcon foomaticdb gdbm ggi gif gimpprint gtk gtk2 hardened imap imlib ipv6 java jpeg ldap lirc mmx mng mozilla mpeg nls pam perl pic png postgres python qt quicktime readline samba sdl sse sse2 ssl svga tcltk tcpd tiff truetype wmf x86 zlib"

Things I've tried:
1. Changing -O3 to -O2, which made no difference.
2. Updating gcc from gcc-3.3.2-r5 to 3.3.3-r3 to 3.4.0, which also made no difference.
3. Removing the mmx USE flag (env ACCEPT_KEYWORDS="~x86" USE="-mmx" emerge gimp).  This moves the error so a similar error occurs with cpu-accel.c (logs attached).
4. Removing all acceleration (env ACCEPT_KEYWORDS="~x86" USE="-mms -sse -sse2" emerge gimp).  This produced the same result as removing the mmx flag only. (deleted from log as redundant).

I hope this info proves useful.
Paul.
Comment 5 foser (RETIRED) gentoo-dev 2004-06-22 09:58:26 UTC
*** Bug 54751 has been marked as a duplicate of this bug. ***
Comment 6 Grzegorz Dubicki 2004-06-22 10:07:04 UTC
Just one note about the bug 54751 (see above) - the compilation error is the same but it applies to gimp *2.0.2*.
Comment 7 Chris White (RETIRED) gentoo-dev 2004-06-23 01:17:58 UTC
Both of you: try taking your optimizations down to -O2.  Let me know if it works.
Comment 8 Grzegorz Dubicki 2004-06-23 07:51:36 UTC
<result of emerge =media-gfx/gimp-2.0.2>

(...)
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic -Wall -MT gimp-composite-3dnow.o -MD -MP -MF ".deps/gimp-composite-3dnow.Tpo" \
  -c -o gimp-composite-3dnow.o `test -f 'gimp-composite-3dnow.c' || echo './'`gimp-composite-3dnow.c; \
then mv -f ".deps/gimp-composite-3dnow.Tpo" ".deps/gimp-composite-3dnow.Po"; \
else rm -f ".deps/gimp-composite-3dnow.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic -Wall -MT gimp-composite-altivec.o -MD -MP -MF ".deps/gimp-composite-altivec.Tpo" \
  -c -o gimp-composite-altivec.o `test -f 'gimp-composite-altivec.c' || echo './'`gimp-composite-altivec.c; \
then mv -f ".deps/gimp-composite-altivec.Tpo" ".deps/gimp-composite-altivec.Po"; \
else rm -f ".deps/gimp-composite-altivec.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic -Wall -MT gimp-composite-generic.o -MD -MP -MF ".deps/gimp-composite-generic.Tpo" \
  -c -o gimp-composite-generic.o `test -f 'gimp-composite-generic.c' || echo './'`gimp-composite-generic.c; \
then mv -f ".deps/gimp-composite-generic.Tpo" ".deps/gimp-composite-generic.Po"; \
else rm -f ".deps/gimp-composite-generic.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic -Wall -MT gimp-composite-mmx.o -MD -MP -MF ".deps/gimp-composite-mmx.Tpo" \
  -c -o gimp-composite-mmx.o `test -f 'gimp-composite-mmx.c' || echo './'`gimp-composite-mmx.c; \
then mv -f ".deps/gimp-composite-mmx.Tpo" ".deps/gimp-composite-mmx.Po"; \
else rm -f ".deps/gimp-composite-mmx.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\"  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic -Wall -MT gimp-composite-sse.o -MD -MP -MF ".deps/gimp-composite-sse.Tpo" \
  -c -o gimp-composite-sse.o `test -f 'gimp-composite-sse.c' || echo './'`gimp-composite-sse.c; \
then mv -f ".deps/gimp-composite-sse.Tpo" ".deps/gimp-composite-sse.Po"; \
else rm -f ".deps/gimp-composite-sse.Tpo"; exit 1; \
fi
gimp-composite-mmx.c: In function `gimp_composite_addition_rgba8_rgba8_rgba8_mmx':
gimp-composite-mmx.c:97: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
gimp-composite-mmx.c:117: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
gimp-composite-mmx.c: At top level:
gimp-composite-mmx.c:793: warning: 'mmx_op_overlay' defined but not used
make[3]: *** [gimp-composite-mmx.o] Error 1
make[3]: *** Waiting for unfinished jobs....
gimp-composite-sse.c: In function `gimp_composite_burn_rgba8_rgba8_rgba8_sse':
gimp-composite-sse.c:217: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
gimp-composite-sse.c:271: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
gimp-composite-sse.c: In function `gimp_composite_scale_rgba8_rgba8_rgba8_sse':
gimp-composite-sse.c:1045: error: PIC register `%ebx' clobbered in `asm'
gimp-composite-sse.c: At top level:
gimp-composite-sse.c:874: warning: 'sse_op_overlay' defined but not used
make[3]: *** [gimp-composite-sse.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.2/work/gimp-2.0.2/app/composite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.2/work/gimp-2.0.2/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.2/work/gimp-2.0.2'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.0.2 failed.
!!! Function src_compile, Line 89, Exitcode 2
!!! (no error message)

--
<output of emerge info>

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040605-r1, 2.6.7-rc3-love1)
=================================================================
System uname: 2.6.7-rc3-love1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fpic"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distcc sandbox"
GENTOO_MIRRORS="http://src.gentoo.pl/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://gentoo.inode.at/source/ ftp://ftp.rxd.hu ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi acpi4linux activefilter alsa apache2 apm arts audiofile avi berkdb cdr crypt cscope cups dga directfb divx4linux doc dvd fbcon flac foomaticdb gd gdbm ggi gif glut gpm gtk2 icc imagemagick imlib innodb java javamail javascript jikes jpeg kadu-modules kadu-voice kde lcms ldap libwww linguas_en linguas_pl live mad matroska memlimit mikmod mmx motif mozilla moznocompose moznoirc moznomail moznoxft mozp3p mozsvg mozxmlterm mpeg mpi ncurses netcdf nls nocardbus nocd nptl offensive oggvorbis ooo-kde openal opengl openssh operanom2 oss pam pdflib pic png postgres ppds pthreads python qt quicktime readline samba sdl slang speex spell sse ssl svg svga szip tetex theora tiff tlen transcode truetype unicode usb videos vim-with-x wmf wxwindows x86 xinerama xml xml2 xmms xosd xprint xv xvid yv12 zlib"

Comment 9 Chris White (RETIRED) gentoo-dev 2004-06-23 10:44:37 UTC
Grzegors: please try the following cflags from a system with a working gimp build:

CFLAGS="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer"

if you still start noticing strange things:

CFLAGS="-march=athlon-xp -O1 -pipe -mcpu=athlon-xp -fomit-frame-pointer"

and if that doesn't work:

MAKEOPTS="-j2"

and if that doesn't work, let me know :).
Comment 10 Grzegorz Dubicki 2004-06-23 11:13:16 UTC
> and if that doesn't work:
@Chris White

> MAKEOPTS="-j2"

I already have it set this way - check my `emerge info` above... :/

I'm trying to compile with the first CFLAGS you proposed *just now*.

> if you still start noticing strange things:

??? Do you mean some run-time strangeness?
Well, let's see if it even compiles cleanly first.. :)
Comment 11 Grzegorz Dubicki 2004-06-23 11:48:56 UTC
Just finished compiling without problems! :)
I used (as I wrote above) gcc-3.4.0 with first set of CLAGS proposed by Chris White two posts ago: 
CFLAGS="-march=athlon-xp -O2 -pipe -mcpu=athlon-xp -fomit-frame-pointer"

I also did run gimp few times and did some painting in it - and no "strangeness" spotted!

Looks like the bug is about to be closed... :)

Comment 12 Seth Robertson 2004-07-03 12:14:38 UTC
As described in bugid 55900, I had this problem compiling gimp and another as well.  However, apparently both problems were resolved by using a non-hardened gcc to compile gimp.  This is offered as a hope for others experiencing this problem.

From 55900:
Due to problems compiling openoffice (bugid 52642) I tried compiling openoffice using gcc without hardening which successfully completed.  Hurrah.  It didn't install for other reasons, but that is besides the point.  Afterwards I tried compiling gimp with the unhardened gcc (USE="-hardened" emerge gcc) and it successfully compiled without either sse, mme, or asm clobbering problems.  Furthermore, it even installed correctly!  Hurrah!

Thus, this bug appears to be a hardened gcc bug and gimp is just marginal.
Comment 13 Paul English 2004-07-08 23:30:23 UTC
Fiddling around with various CFLAGS and USE flags produced variations on the original error, but failed to compile.  The key is the "hardened" USE flag when building gcc.  Rebuilding gcc with USE="-hardened" allowed gimp to build with my orginal CFLAGS.

I think it's time to close this bug, and track the hardened gcc problem in #55900.
Comment 14 foser (RETIRED) gentoo-dev 2004-08-29 07:31:04 UTC

*** This bug has been marked as a duplicate of 55900 ***