This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.5 build error: undefined reference to `libc_name_p'
On Fri, 30 Oct 2009, Ian Lance Taylor wrote:
> "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?
I do not know if it has such options.
--
Joseph S. Myers
joseph@codesourcery.com