Possible gcc 4.3 error on ppc64

David Woodhouse dwmw2 at infradead.org
Tue Feb 26 22:20:29 UTC 2008


On Mon, 2008-02-25 at 19:01 +0100, Adrian Reber wrote:
> On Mon, Feb 25, 2008 at 11:44:25AM -0500, Jakub Jelinek wrote:
> > On Mon, Feb 25, 2008 at 12:02:27PM +0100, Adrian Reber wrote:
> > > If anyone has any information if this a bug in gcc or what needs to be
> > > fixed to get this running again... that would be great.
> > 
> > No, this is just buggy libmpd-devel.  The header has:
> > 
> > /* Internal Data struct functions */
> > inline  MpdData *       mpd_new_data_struct                     (void);
> > inline  MpdData *       mpd_new_data_struct_append              (MpdData * data);
> > inline  MpdData *       mpd_data_concatenate                    (MpdData * const first, MpdData * const second);
> > inline  MpdData *       mpd_data_get_next_real                  (MpdData * const data, int kill_list);
> > /* more internal stuff*/
> > 
> > but the inline functions aren't defined anywhere in the current
> > TU, so ISO C99, 6.7.4(6) is violated:
> 
> Thanks a lot. That was it. But do you have any idea why it only 
> happened on ppc64?

Presumably the compiler only actually _did_ inline it on ppc64, and
chose not to do so for other architectures this week. And where it
didn't get inlined, it does actually exist and the link will succeed.

Yet another example of a build failure on ppc/ppc64 which actually
demonstrates a generic problem. That's the third one I've seen today...

-- 
dwmw2




More information about the devel mailing list