Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55389 - gimp-2.0.0 internal compiler error gimp-composite-sse
Summary: gimp-2.0.0 internal compiler error gimp-composite-sse
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:
: 54733 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-28 00:24 UTC by Guido Passet
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
preprocessed source (ccFPdnDg.out,269.43 KB, text/plain)
2004-07-28 09:48 UTC, Guillermo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Passet 2004-06-28 00:24:29 UTC
When i try to emerge gimp-2.0.0 things seems to be broken at the compilation of gimp-composite-sse.c

internal compiler error: asm clobber conflict with input operand

Reproducible: Always
Steps to Reproduce:
1. emerge gimp

Actual Results:  
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=pentium4 -fomit-frame-pointer -pipe -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
gimp-composite-mmx.c:793: warning: `mmx_op_overlay' defined but not used
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=pentium4 -fomit-frame-pointer -pipe -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
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=pentium4 -fomit-frame-pointer -pipe -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-sse.c: In function `gimp_composite_scale_rgba8_rgba8_rgba8_sse':
gimp-composite-sse.c:1045: internal compiler error: asm clobber conflict with
input operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
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=pentium4 -fomit-frame-pointer -pipe -Wall -MT gimp-composite-vis.o
-MD -MP -MF ".deps/gimp-composite-vis.Tpo" \
  -c -o gimp-composite-vis.o `test -f 'gimp-composite-vis.c' || echo
'./'`gimp-composite-vis.c; \
then mv -f ".deps/gimp-composite-vis.Tpo" ".deps/gimp-composite-vis.Po"; \
else rm -f ".deps/gimp-composite-vis.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=pentium4 -fomit-frame-pointer -pipe -Wall -MT gimp-composite.o -MD
-MP -MF ".deps/gimp-composite.Tpo" \
  -c -o gimp-composite.o `test -f 'gimp-composite.c' || echo
'./'`gimp-composite.c; \
then mv -f ".deps/gimp-composite.Tpo" ".deps/gimp-composite.Po"; \
else rm -f ".deps/gimp-composite.Tpo"; exit 1; \
fi
Preprocessed source stored into /var/tmp/portage/gimp-2.0.0/temp/cczlkNMo.out
file, please attach this to your bugreport.
make[3]: *** [gimp-composite-sse.o] Error 1
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

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


Expected Results:  
clean install

emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -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/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
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 acl alsa apm avi berkdb chroot crypt cups curl dga divx4linux dvd
foomaticdb freetype gif gtk gtk2 hardened java jpeg kde matrox md5sum memlimit
mmx mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mpeg mysql ncurses
opengl openssh pam pic png ppds qt readline scanner sdl slang sse ssl tiff
truetype usb vanilla x86 xinerama xv zlib"
Comment 1 Marcello Nuccio 2004-07-05 11:08:01 UTC
Try USE=-pic
Comment 2 Guido Passet 2004-07-05 12:57:50 UTC
-pic seemed to be the problem indeed. however i did recompile
gcc-3.3.3 and disabled the hardened and pic USE-flags. this was
needed to make a clean compile of xfree86.

anyways, thanks for the tip, i just did a succesfull install of
gimp-2.0.0 :)
Comment 3 Guillermo 2004-07-28 09:48:08 UTC
Created attachment 36336 [details]
preprocessed source
Comment 4 Dominik Stadler (RETIRED) gentoo-dev 2004-08-06 02:22:49 UTC
*** Bug 54733 has been marked as a duplicate of this bug. ***
Comment 5 foser (RETIRED) gentoo-dev 2004-08-29 06:22:52 UTC
i'm not sure how -pic in USE would interact with the gimp ebuild which doesn't implement it ? Anyone care to explain.
Comment 6 foser (RETIRED) gentoo-dev 2004-08-29 07:30:58 UTC

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