summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-03-02 16:27:39 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-03-02 16:28:40 -0800
commit495dcf8d964e0b3a712f9345554a03d450851d8a (patch)
tree9e57e880d6315fa73674fade4f1403fa8ebc4a5e /ChangeLog
parent92fb5eecee39b2b87bc140ffdafdfd9e82057911 (diff)
downloadgnulib-495dcf8d964e0b3a712f9345554a03d450851d8a.tar.gz
gnulib-495dcf8d964e0b3a712f9345554a03d450851d8a.tar.bz2
mbrtowc: port to AIX 7.1 with xlc 12.1
Fix a problem with locks when building GNU Tar (Savannah commit 55f2a0772e08b9febac3ac0de5cb048d4c60d2f5) on AIX 7.1 with IBM XL C/C++ V12.1 using ‘./configure CC=xlc’. The link fails due to missing definitions of pthread_mutex_lock and pthread_mutex_unlock. GNU Tar uses unlocked-io and so should not need to worry about multithreading or locks. * lib/mbtowc-lock.h (mbtowc_with_lock) [USE_UNLOCKED_IO]: Don’t bother with locks, since this app is single-threaded. There may be similar linking problems with lib/nl_langinfo.c and lib/setlocale_null.c but my GNU Tar build didn’t run into them, so I left them alone for now.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0304f69581..7ba4369257 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2021-03-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ mbrtowc: port to AIX 7.1 with xlc 12.1
+ Fix a problem with locks when building GNU Tar (Savannah commit
+ 55f2a0772e08b9febac3ac0de5cb048d4c60d2f5) on AIX 7.1 with IBM XL
+ C/C++ V12.1 using ‘./configure CC=xlc’. The link fails due to
+ missing definitions of pthread_mutex_lock and
+ pthread_mutex_unlock. GNU Tar uses unlocked-io and so
+ should not need to worry about multithreading or locks.
+ * lib/mbtowc-lock.h (mbtowc_with_lock) [USE_UNLOCKED_IO]:
+ Don’t bother with locks, since this app is single-threaded.
+ There may be similar linking problems with lib/nl_langinfo.c and
+ lib/setlocale_null.c but my GNU Tar build didn’t run into them, so
+ I left them alone for now.
+
2021-03-01 Paul Eggert <eggert@cs.ucla.edu>
unlocked-io: do not redefine getc_unlocked etc.

Return to:

Send suggestions and report system problems to the System administrator.