[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30718: coreutils-8.29 compilation failure using xlC on AIX
From: |
John Wiersba |
Subject: |
bug#30718: coreutils-8.29 compilation failure using xlC on AIX |
Date: |
Mon, 12 Mar 2018 13:37:29 +0000 (UTC) |
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 <address@hidden>
To: John Wiersba <address@hidden>; address@hidden
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
Description: Binary data
bug#30718: coreutils-8.29 compilation failure using xlC on AIX, Bernhard Voelker, 2018/03/06
- bug#30718: coreutils-8.29 compilation failure using xlC on AIX,
John Wiersba <=