gcc/configure failures

Zack Weinberg zackw@Stanford.EDU
Tue Apr 3 16:26:00 GMT 2001


On Tue, Apr 03, 2001 at 05:45:21PM -0500, Tony Kimball wrote:
Content-Description: message body text
> 
> Summary: One problem resolved, and a distinct problem observed.
> 
> Quoth Zack Weinberg on Tuesday, 3 April:
> : 
> : You should never have hit that test; Redhat 7 ought to have a C89
> : compliant <limits.h>. 
> 
> Thank you.  Your observation prompted me to check versions, and I
> found the OS install to be in a disorganized state, which was easy to
> rectify.  The crucial issue in this case was a missing soft link,
> /usr/include/linux.

To the best of my knowledge, /usr/include/linux is *not* supposed to
be a symlink in Redhat 7.

...
> #line 2578 "configure"
> #include "confdefs.h"
> 
> int main() {
> switch(0) { case 0: case (char)(1 << 8) && (char)(1 << 8) != 1: ; }
> ; return 0; }

Groan.  Something's fundamentally wrong with this check.  Back to the
drawing board.

zw



More information about the Gcc-bugs mailing list