Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27415 - Gimp-1.3.18 failes to compile with CFLAGS set to "-march=k6-2 -O3 -pipe"
Summary: Gimp-1.3.18 failes to compile with CFLAGS set to "-march=k6-2 -O3 -pipe"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 05:07 UTC by Claes Nästén
Modified: 2003-08-28 12:35 UTC (History)
0 users

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 Claes Nästén 2003-08-27 05:07:01 UTC
When trying to build gimp-1.3.18 with the CFLAGS set to "-march=k6-2 -O3 -pipe"
using gcc-3.2.3-r1 compilation aborts after a while with the error:

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include
-DDEFAULTPATH=\""~/.gimp-1.3/gimpressionist:/usr/share/gimp/1.3/gimpressionist"\"
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED  -g -march=k6-2 -O3 -pipe -g -g -g -Wall -MT repaint.o
-MD -MP -MF ".deps/repaint.Tpo" \
  -c -o repaint.o `test -f 'repaint.c' || echo './'`repaint.c; \
then mv -f ".deps/repaint.Tpo" ".deps/repaint.Po"; \
else rm -f ".deps/repaint.Tpo"; exit 1; \
fi
{standard input}: Assembler messages:
{standard input}:1314: Error: value of ffffffffffffff7e too large for field of 1
bytes at 0000000000000d61
make[4]: *** [repaint.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gimp-1.3.18/work/gimp-1.3.18/plug-ins/gimpressionist'

This error doesn't appear with the CFLAGS set to "-march=athlon-xp -O3 -pipe" or
the more sane if building for that host "-march=i586 -O3 -pipe"

Reproducible: Always
Steps to Reproduce:
1. Set the CFLAGS to "-march=k6-2 -O3 -pipe"
2. emerge gimp-1.3.18
3. wait and see how it fails
Comment 1 foser (RETIRED) gentoo-dev 2003-08-27 06:19:51 UTC
i dont have a k6, so no i wont wait and see it fail.

since these are quite common cflags we might just add a replace for k6* -> i586

Comment 2 Claes Nästén 2003-08-27 06:31:39 UTC
This was reproduced on my Athlon XP 2500+ ( Barton ) compiling it for my K6 Laptop. However, the replace seems like a sane thing to do.
Comment 3 foser (RETIRED) gentoo-dev 2003-08-28 12:35:16 UTC
fixed in 1.3.18 now.

thanks for the report.