[PATCH] aix: remove libgomp and libatomic archives before creating FAT archives

2020-10-08 Thread CHIGOT, CLEMENT via Gcc-patches
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  * config/t-aix: Deleting libatomic befor

Re: [PATCH] aix: remove libgomp and libatomic archives before creating FAT archives

2020-10-10 Thread David Edelsohn via Gcc-patches
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 problem

Re: [PATCH] aix: remove libgomp and libatomic archives before creating FAT archives

2020-10-10 Thread David Edelsohn via Gcc-patches
It also is confusing for the patch to perform $(ARX) -X32_64 when immediately before the fragment created ARX by explicitly stripping -X32_64. If it's going to perform ar -X32_64 it should use the normal $(AR) variable. Thanks, David On Thu, Oct 8, 2020 at 5:06 AM CHIGOT, CLEMENT wrote: > >