bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: btwowc(EOF) hang with gcc 4.4.2


From: Alan Curry
Subject: Re: btwowc(EOF) hang with gcc 4.4.2
Date: Mon, 21 Dec 2009 19:33:59 -0500 (GMT+5)

Karl Berry writes:
> 
>     It's definitely a compiler problem. That extern inline asm alias trickery
> 
> The gcc people say that the behavior is correct; not a bug.
> (I don't understand all of their replies, but the conclusion seems clear.)
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440

OK, I understood the replies so I'll try to sum up:

The oxymoron "extern inline" used to have one interpretation before the
inline keyword was standardized in C99. In that standardization, a different
interpretation for "extern inline" was mandated. The inline/alias trick used
by glibc here needs the old interpretation, which should be requested with
the gnu_inline attribute. Your version of glibc doesn't specify gnu_inline.
So the problem boils down to: your gcc is too new for your glibc. Downgrade
one or upgrade the other.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]