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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Felt <mamfelt <at> gmail.com>
Subject: bug#17773: closed (Re: bug#17773: AIX build errors with
 coreutils-8.22)
Date: Fri, 13 Jun 2014 15:59:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#17773: AIX build errors with coreutils-8.22

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 17773 <at> debbugs.gnu.org.

-- 
17773: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17773
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>, 
 Michael Felt <mamfelt <at> gmail.com>
Cc: 17773-done <at> debbugs.gnu.org
Subject: Re: bug#17773: AIX build errors with coreutils-8.22
Date: Fri, 13 Jun 2014 08:57:52 -0700
Pádraig Brady wrote:
> I think Paul has already avoided this AIX compiler bug

Yes, and combined with the regex_internal.h fix this addresses all the 
points raised in this bug report so I'm closing it.

[Message part 3 (message/rfc822, inline)]
From: Michael Felt <mamfelt <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: AIX build errors with coreutils-8.22
Date: Fri, 13 Jun 2014 15:38:09 +0200
[Message part 4 (text/plain, inline)]
For the most part, the configure and build runs quite clean. There are few
warnings about assignment of a char* to a const char*.

A few utils are missing the -lpthread library assignment:

To fix this, using make -i I indentified the group (after it was more than
1)

These four - at least -

cc   -O2 -qlanglvl=extc99   -o src/csplit src/csplit.o src/libver.a
lib/libcoreutils.a  lib/libcoreutils.a -lpthread
cc   -O2 -qlanglvl=extc99   -o src/expr src/expr.o src/libver.a
lib/libcoreutils.a  lib/libcoreutils.a  -lpthread
cc   -O2 -qlanglvl=extc99   -o src/nl src/nl.o src/libver.a
lib/libcoreutils.a  lib/libcoreutils.a  -lpthread
cc   -O2 -qlanglvl=extc99   -o src/tac src/tac.o src/libver.a
lib/libcoreutils.a  lib/libcoreutils.a  -lpthread

Further there are two source files that are not compiling because of undefs

make[2]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.22'
  CC       src/od.o
"src/od.c", line 432.47: 1506-045 (S) Undeclared identifier
_GL_FLT_PREC_BOUND.
"src/od.c", line 432.47: 1506-1324 (S) Array size must have integer type.
"src/od.c", line 433.49: 1506-045 (S) Undeclared identifier
_GL_DBL_PREC_BOUND.
"src/od.c", line 433.49: 1506-1324 (S) Array size must have integer type.
"src/od.c", line 434.60: 1506-045 (S) Undeclared identifier
_GL_LDBL_PREC_BOUND.
"src/od.c", line 434.60: 1506-1324 (S) Array size must have integer type.
make[2]: [src/od.o] Error 1 (ignored)
  CCLD     src/od
cc: 1501-228 (W) input file src/od.o not found
make[2]: [src/od] Error 252 (ignored)
  CCLD     src/ptx
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make[2]: [src/ptx] Error 8 (ignored)
  CC       src/getlimits.o
"src/getlimits.c", line 110.45: 1506-045 (S) Undeclared identifier
_GL_FLT_PREC_BOUND.
"src/getlimits.c", line 110.45: 1506-1324 (S) Array size must have integer
type.
"src/getlimits.c", line 111.46: 1506-045 (S) Undeclared identifier
_GL_DBL_PREC_BOUND.
"src/getlimits.c", line 111.46: 1506-1324 (S) Array size must have integer
type.
"src/getlimits.c", line 112.53: 1506-045 (S) Undeclared identifier
_GL_LDBL_PREC_BOUND.
"src/getlimits.c", line 112.53: 1506-1324 (S) Array size must have integer
type.
make[2]: [src/getlimits.o] Error 1 (ignored)
  CCLD     src/getlimits
cc: 1501-228 (W) input file src/getlimits.o not found

Not sure how to resolve the missing definitions - do not wish to make
assumptions.

Regards,
Michael Felt
[Message part 5 (text/html, inline)]

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.