Red Hat Bugzilla – Bug 451006
programs build with gcc 4.3 based on gsl require -fgnu89-inline
Last modified: 2009-02-27 20:37:03 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008043010 Fedora/3.0-0.60.beta5.fc9 Firefox/3.0b5
Description of problem:
For the further description see discussion on this thread
Version-Release number of selected component (if applicable):
gcc-4.3.0-8.i386, gsl-devel-1.10-10.fc9.i386, pspp-0.6.0-2.fc9.i386, gsl-1.10-10.fc9.i386, gcc-c++-4.3.0-8.i386
Steps to Reproduce:
1.Build the src.rpm
Build fails unless
is added as a parameter of %configure
Package which fails when build is
and with the above shown %configure line it built perfectly in koji
Fixed in gsl-1.11-2.fc10.
Why the related patch has been removed and replaced by the -fgnu89-inline flag?
Note that this probably solves the problem for building gsl, but definitely not for other packages which link to it -- they fail to build again.
I just wondered why one of my packages (orsa) failed to build  in the mass gcc 4.4 rebuild and was in the category "fails-even-with-43" although I was able to build it with gcc 4.3 in the summer.
Please put that patch back and try to move it upstream.
Taking back, sorry, this was caused by wrong propagation of the HAVE_INLINE macro in orsa. Nevertheless looking into gsl/gsl_inline.h, I think that the "-fgnu89-inline flag" could be removed at all -- this should be now (and it indeed seems to be) completely covered by the INLINE_FUN macro which is either set to "extern inline" (for the old gnu C) or just to "inline" (for c99).