GNOME Bugzilla – Bug 315484
GIMP doesn't compile with GCC 4.0.1
Last modified: 2008-01-15 14:04:23 UTC
I've tried to compile gimp-2.2.7, gimp-2.2.8 and gimp-2.3.2 and i've this kind of error (tried on 2 computers) : if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../app -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimp-composite-generic.o -MD -MP -MF ".deps/gimp-composite-generic.Tpo" -c -o gimp-composite-generic.o 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../.. -I../../app -I../../app -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimp-composite-mmx.o -MD -MP -MF ".deps/gimp-composite-mmx.Tpo" -c -o gimp-composite-mmx.o 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:837: warning: 'mmx_op_overlay' defined but not used gimp-composite-mmx.c: In function 'gimp_composite_addition_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:95: error: unknown register name '%mm0' in 'asm' gimp-composite-mmx.c:102: error: unknown register name '%mm4' in 'asm' gimp-composite-mmx.c:102: error: unknown register name '%mm3' in 'asm' gimp-composite-mmx.c:102: error: unknown register name '%mm2' in 'asm' gimp-composite-mmx.c:102: error: unknown register name '%mm1' in 'asm' gimp-composite-mmx.c:102: error: unknown register name '%mm0' in 'asm' gimp-composite-mmx.c:122: error: unknown register name '%mm4' in 'asm' gimp-composite-mmx.c:122: error: unknown register name '%mm3' in 'asm' gimp-composite-mmx.c:122: error: unknown register name '%mm2' in 'asm' gimp-composite-mmx.c:122: error: unknown register name '%mm1' in 'asm' gimp-composite-mmx.c:122: error: unknown register name '%mm0' in 'asm' (Full log is attached)
Created attachment 51934 [details] Log of the error
I don't know what the problem is, but I just want to add a pointer to bug 303796, which is undoubtedly relevant. It would be very helpful if you could let us know what distro you are using, and what sort of processors are in the computers you have tried.
This is a duplicate of bug #303796. It's been fixed for a while, before 2.3.3 was released. Please always try the latest version before reporting bugs, especially when testing development releases. *** This bug has been marked as a duplicate of 303796 ***
Sorry, I've not seen the 2.3.3 in GIMP news (gimp.org).