GNU bug report logs - #30718
AIX: test failures (missing '[', shared lib problem)

Previous Next

Package: coreutils;

Reported by: John Wiersba <jrw32982 <at> yahoo.com>

Date: Mon, 5 Mar 2018 21:10:01 UTC

Severity: normal

Full log


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

From: John Wiersba <jrw32982 <at> yahoo.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 
 "30718 <at> debbugs.gnu.org" <30718 <at> debbugs.gnu.org>
Subject: Re: bug#30718: coreutils-8.29 compilation failure using xlC on AIX
Date: Mon, 12 Mar 2018 13:37:29 +0000 (UTC)
[Message part 1 (text/plain, inline)]
There is no '[' in $PATH.  There is no /dev/full.

$ cat tests/misc/help-version.log
env: '[': No such file or directory
env: '[': No such file or directory
env: '[': No such file or directory
FAIL: [
0+1 records in
0+1 records out
FAIL tests/misc/help-version.sh (exit status: 1)


tests/test-suite.log attached

---


export CC=xlC
export CFLAGS=-q64

export CXX=$CC
export CXXFLAGS=$CFLAGS

export LD=ld
export AR="ar -X64"

export LDFLAGS="-Wl,-bmaxdata:0x80000000"


patched src/stat.c to allow it to compile (xlC compiler issue with intmax_bufsize, reported earlier)

./configure --disable-threads && make && make check





________________________________
From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: John Wiersba <jrw32982 <at> yahoo.com>; 30718 <at> debbugs.gnu.org 
Sent: Tuesday, March 6, 2018 4:00 PM
Subject: Re: bug#30718: coreutils-8.29 compilation failure using xlC on AIX



On 03/05/2018 09:48 PM, John Wiersba wrote:

> Build environment:
> coreutils-8.29
> AIX 6.1

> Finally, I'm attaching the test-suite.log indicating a couple of failures and a few errors.

> FAIL: tests/misc/help-version
> =============================
>
> env: '[': No such file or directory
> env: '[': No such file or directory
> env: '[': No such file or directory
> FAIL: [
> 0+1 records in
> 0+1 records out
> FAIL tests/misc/help-version.sh (exit status: 1)

Somehow, the used 'env' does not seem to find '[' in PATH.
This is odd, as the test setup should care for this.
Would you please send the full "tests/misc/help-version.log"?

BTW: As there are only 3 instead of 5 ENOENTs for '[', I guess
that AIX doesn't have /dev/full, right?

> ERROR: tests/rm/rm-readdir-fail
> ===============================
>
> xlC: 1501-289 (W) Option -Wall was incorrectly specified. The option will be ignored.
> xlC: 1501-216 (W) command option --std=gnu99 is not recognized - passed to ld
> xlC: 1501-289 (W) Option -Wall was incorrectly specified. The option will be ignored.
> xlC: 1501-216 (W) command option --std=gnu99 is not recognized - passed to ld
> "k.c", line 17.41: 1506-068 (W) Operation between types "struct dirent*(*)(struct _dirdesc*)" and "void*" is not allowed.
> ld: 0706-012 The -h flag is not recognized.
> ld: 0706-012 The -a flag is not recognized.
> ld: 0706-012 The -- flag is not recognized.
> ld: 0706-012 The -t flag is not recognized.
> ld: 0706-027 The -d flag is ignored.
> ld: 0706-012 The -= flag is not recognized.
> ld: 0706-012 The -g flag is not recognized.
> ld: 0706-027 The -n flag is ignored.
> ld: 0706-005 Cannot find or open file: PIC
>     ld:fopen(): No such file or directory
> rm-readdir-fail.sh: set-up failure: failed to build shared library
> ERROR tests/rm/rm-readdir-fail.sh (exit status: 99)

gcc_shared_ k.c k.so \
  || framework_failure_ 'failed to build shared library'
_____^^^^^^^^^^^^^^^^^^

We probably better should 'skip_' instead.

Thanks & have a nice day,
Berny
[test-suite.log (application/octet-stream, attachment)]

This bug report was last modified 6 years and 233 days ago.

Previous Next


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