aix: remove libgomp and libatomic archives before creating FAT archives
commit4eaf96c56c1c97b11af42a4caaa12b37870308d7
authorClément Chigot <clement.chigot@atos.net>
Tue, 1 Sep 2020 09:32:09 +0000 (1 11:32 +0200)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 11 Oct 2020 21:30:24 +0000 (11 17:30 -0400)
tree4a276aa8e01e13a7c7cf3437f5befc6dff6ff7fb
parent07c7498dc0379354d73ef4c8fd92d0473eb3a12f
aix: remove libgomp and libatomic archives before creating FAT archives

AIX caches shared objects in archives with read-other permission.
libgomp and libatomic might be in use during the build or testing, which
may cause archiver operations on them to fail.  This patch adjusts the
Makefile fragments to delete the library archives before creating fresh
archives containing both the 32 bit and 64 bit shared objects.

libatomic/ChangeLog:

2020-10-11  Clement Chigot  <clement.chigot@atos.net>

* config/t-aix: Delete and recreate libatomic before creating
FAT library.

libgomp/ChangeLog:

2020-10-11  Clement Chigot  <clement.chigot@atos.net>

* config/t-aix: Delete and recreate libgomp before creating
FAT library.
libatomic/config/t-aix
libgomp/config/t-aix