GCC 4.5 build error: undefined reference to `libc_name_p'

Ian Lance Taylor iant@google.com
Sat Oct 31 02:27:00 GMT 2009


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> Since GCC is itself built in gnu89 mode (by virtue of GCC defaulting to 
> that mode and the bootstrap process not changing this default), the 
> presence or absence of this attribute should make no difference to the 
> semantics.  The function was inline even before my checkin.

That's a good point.  This is likely due to some inliner change.
Still, I think the correct fix is to change cfns.h to drop the
__gnu_inline__ and make it static inline instead.  Do you know if
gperf has any options for that?

Ian



More information about the Gcc-help mailing list