Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23078 - gimp-1.2.5 ebuild should filter "-fno-inline" CFLAG
Summary: gimp-1.2.5 ebuild should filter "-fno-inline" CFLAG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-18 19:46 UTC by Nick Fish
Modified: 2003-06-20 14:50 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 Nick Fish 2003-06-18 19:46:24 UTC
Sorry to keep annoying you guys with these. ^ ^

Compiling with -fno-inline CFLAG results in the following:

<snip>
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=pentium4 -O3 -
pipe -fforce-addr -foptimize-sibling-calls -fno-inline -finline-limit=1000 -
Wall -c grid.c
/bin/sh ../../libtool --mode=link gcc  -march=pentium4 -O3 -pipe -fforce-addr -
foptimize-sibling-calls -fno-inline -finline-limit=1000 -Wall  -o grid  
grid.o ../../libgimp/libgimpui.la		../../libgimp/libgimp.la	
	-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -
ldl -lXi -lXext -lX11 -lm					 
gcc -march=pentium4 -O3 -pipe -fforce-addr -foptimize-sibling-calls -fno-
inline -finline-limit=1000 -Wall -o .libs/grid grid.o -
rdynamic  ../../libgimp/.libs/libgimpui.so -L/usr/lib -
L/usr/X11R6/lib ../../libgimp/.libs/libgimp.so /usr/lib/libgtk.so /usr/lib/libgd
k.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm
grid.o(.text+0x594): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0x68b): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0x79b): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0x976): In function `doit':
: undefined reference to `pix_composite'
collect2: ld returned 1 exit status
make[3]: *** [grid] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-1.2.5/work/gimp-1.2.5/plug-
ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-1.2.5/work/gimp-1.2.5/plug-
ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-1.2.5/work/gimp-1.2.5'
make: *** [all-recursive-am] Error 2

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

>>> md5 src_uri ;-) gimp-1.2.5.tar.bz2
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-06-20 14:50:17 UTC
this makes sense because grid.c explicitly uses inline functions. i've added to gimp-1.2.5 gimp-1.3.15.