[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-8.12.178-df9cd on AIX
From: |
Bruno Haible |
Subject: |
coreutils-8.12.178-df9cd on AIX |
Date: |
Thu, 1 Sep 2011 11:07:21 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
> On AIX 6.1 and 7.1:
> Link errors.
On AIX 6.1 and 7.1 with xlc:
CCLD split
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
The reason is that lib/strsignal.o depends on multithreading:
$ nm lib/strsignal.o | grep pthread_once
.pthread_once U -
pthread_once_t:t44=43 - 0
The fix is to add $(LIBTHREAD) to split_LDADD in src/Makefile.am.
Once this error is fixed:
CC stat.o
"stat.c", line 210.21: 1506-022 (S) "f_basetype" is not a member of "const
struct statfs".
"stat.c", line 1169.15: 1506-280 (W) Function argument assignment between types
"char*" and "const char*" is not allowed.
make: 1254-004 The error code from the last command is 1.
The error in line 210:
$ grep STRUCT_STAT lib/config.h
/* #undef HAVE_STRUCT_STATFS_F_FSTYPENAME */
/* #undef HAVE_STRUCT_STATFS_F_NAMELEN */
#define HAVE_STRUCT_STATFS_F_TYPE 1
#define HAVE_STRUCT_STATVFS_F_BASETYPE 1
/* #undef HAVE_STRUCT_STATVFS_F_FSTYPENAME */
#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1
/* #undef HAVE_STRUCT_STATVFS_F_TYPE */
/* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */
/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */
/* #undef HAVE_STRUCT_STAT_ST_AUTHOR */
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC */
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
`HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
/* #undef STRUCT_STATFS_F_FSID_IS_INTEGER */
/* #undef STRUCT_STATVFS_F_FSID_IS_INTEGER */
/* #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC */
It comes from the fact that 'struct statvfs', defined in <sys/statvfs.h>,
has an f_basetype field, but 'struct statfs', which is being used here and
which is defined in <sys/statfs.h>, does not have an f_basetype field.
The warning in line 1169 is due to the broken prototype of statfs() on AIX.
It is harmless, does not warrant a cast.
Once this error is fixed:
3 of 359 tests failed
FAIL: misc/help-version
FAIL: misc/pwd-long
FAIL: split/l-chunk
Find file tests/test-suite.log attached.
Bruno
--
In memoriam Nikolai Bryukhanov <http://en.wikipedia.org/wiki/Nikolai_Bryukhanov>
test-suite.log
Description: Text Data
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, (continued)
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Bruno Haible, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Bruno Haible, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/02
Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/01
coreutils-8.12.178-df9cd on AIX,
Bruno Haible <=
Re: coreutils-8.12.178-df9cd on AIX, Jim Meyering, 2011/09/01
coreutils-8.12.178-df9cd on HP-UX 11, Bruno Haible, 2011/09/01
Re: [Platform-testers] new snapshot available: coreutils-8.12.178-df9cd, Pádraig Brady, 2011/09/01
coreutils-8.12.178-df9cd on IRIX 6.5, Bruno Haible, 2011/09/01