Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41656 - gimp do not compile
Summary: gimp do not compile
Status: RESOLVED DUPLICATE of bug 22115
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-15 05:27 UTC by Lars Langhans
Modified: 2005-07-17 13:06 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 Lars Langhans 2004-02-15 05:27:54 UTC
Try to emerge gimp, which stop after a while when compile rcm_misc.c with:
{standard input}: Assembler messages:
{standard input}:808: Error: value of ffffffffffffff7f too large for field of 1 bytes at 0000000000000a6b
{standard input}:1167: Error: value of ffffffffffffff7f too large for field of 1 bytes at 0000000000000f33

Compiler: gcc-3.2.3-r3
System: K6-III
Compile command:
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 -DLOCALEDIR=\""/usr/share/locale"\" -DGTK_DISABLE_COMPAT_H  -march=i586 -mcpu=k6-3 -O3 -fomit-frame-pointer -pipe -Wall -c rcm_misc.c

If I change -O3 to -O2 it compiles well for me.

Thx to http://www.freehackers.org/gentoo/gccflags/faq.html
I found that 
-finline-functions is the problem, if I use "-O2 -frename-registers" rcm_misc.c is compilable.

Maybe this is not really a bug.


Reproducible: Always
Steps to Reproduce:
1. Use a K6-3 gcc 3.2.3-r3 glibc 2.3.2-r9
2. Set CFLAGS="-march=i586 -mcpu=k6-3 -O3 -fomit-frame-pointer -pipe"
3. emerge gimp





Maybe change of ebuild to use -O2 instead of -O3 should use, if mpcu is K6-3
Comment 1 foser (RETIRED) gentoo-dev 2004-02-18 05:18:04 UTC
what gimp version is this ?

CFLAGS are just the users responsibility to some extent, for k6 there's already a few safeguards in place. I'm inclined to mark this WONTFIX.
Comment 2 Lars Langhans 2004-02-19 05:07:26 UTC
It's gimp version 1.2.5.
You are right, due to the fact the user is responsible to it's CFLAGS this bug should change to WONTFIX.

After take a look into the ebuild, this could also be marked as double to #22115
Comment 3 foser (RETIRED) gentoo-dev 2004-04-03 03:13:21 UTC

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