GNU bug report logs - #17773
AIX build errors with coreutils-8.22

Previous Next

Package: coreutils;

Reported by: Michael Felt <mamfelt <at> gmail.com>

Date: Fri, 13 Jun 2014 13:39:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #49 received at 17773 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Michael Felt <mamfelt <at> gmail.com>, Pádraig Brady
 <P <at> draigbrady.com>
Cc: 17773 <at> debbugs.gnu.org
Subject: Re: bug#17773: AIX build errors with coreutils-8.22
Date: Wed, 18 Jun 2014 15:25:55 -0700
[Message part 1 (text/plain, inline)]
Michael Felt wrote:
> Curious why you are calling this a compiler bug.

Because it is a compiler bug.  Try to compile (but not link) the 
attached file.  Here's what I get on AIX 7.1 with xlc 12.1 and GCC 4.8.1.

$ gcc -c xlcbug1.c
$ xlc -c xlcbug1.c
"xlcbug1.c", line 22.39: 1506-045 (S) Undeclared identifier 
GL_FLT_PREC_BOUND.
"xlcbug1.c", line 22.23: 1506-1324 (S) Array size must have integer type.

There's nothing wrong with the program.  The identifier is properly 
declared.

> What is the origin of the _GL_* identifiers?

They're from Gnulib, but that's irrelevant to the compiler bug, as the 
attached file demonstrates.
[xlcbug1.c (text/x-csrc, attachment)]

This bug report was last modified 11 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.