This solution doesn't really appeal to me, but there aren't any good options.

AIX caches shared objects in memory for faster startup.  If the
archive file permissions do not include read-other (world readable),
the shared object is not cached.  But using this option might cause
permission problems at installation.  One would need to juggle file
permissions during the build.

The AIX slibclean command will clear all cached shared objects, but it
requires root privileges and is a global action.

- David

On Thu, Oct 8, 2020 at 5:06 AM CHIGOT, CLEMENT <clement.chi...@atos.net> wrote:
>
> libgomp and libatomic might be in use during the build. Thus, ar commands
> will failed to add new objetcs to it as the file is considered busy.
> Deleting it and recreating it with both architectures fixes that.
>
> libatomic/Changelog:
> 2020-08-17 Clement Chigot <clement.chi...@atos.net>
>  * config/t-aix: Deleting libatomic before creating FAT library.
>
> libgomp/Changelog:
> 2020-08-17 Clement Chigot <clement.chi...@atos.net>
>  * config/t-aix: Deleting libgomp before creating FAT library.
>
>
> Clément Chigot
> ATOS Bull SAS
> 1 rue de Provence - 38432 Échirolles - France
>

Reply via email to