From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by sourceware.org (Postfix) with ESMTPS id A5F963858C27 for ; Sat, 10 Oct 2020 19:29:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A5F963858C27 Received: by mail-wr1-x443.google.com with SMTP id n15so14007191wrq.2 for ; Sat, 10 Oct 2020 12:29:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4KsJ/hQ89gduscf+lKmFZr3b8OXKQwtYh5QnTa0eUOw=; b=RShpKTHhwzFjE3bWfc9kX+eMbTk98/mDFDa0C3+Rh0ijO3cNwC3C12KuDcI6hU/FeC maSPb7H+sjdQxx6KHKr0yuhi9JG5VncHTETokrP4yVjCU5lG3C1VobDZemOpNQ6mNFZF ExyUTv5nwbzdh2F5DxdJ4DQz/lzwlL/9uweNDMf7wtDukS/5xajWrPOdmNTzhgRXFKY/ JgvKLFPBkFTbmoxIwnXjCX99t4iOrEueyGgah79RPOiwpRGgeKVgwFOXra9vp83pU/Pe 0DcqzZ9ysVRrAmyQOJnh+SsHWregtZgs9p+PNwBV/IvCuG34XLCgweA62AEBCZMH0SUL lOYQ== X-Gm-Message-State: AOAM532akt7vX9kz0w8gB5CcMLpJu6HwQiK9axr8Tx3bBISRZT+hhbci XC932GJgkiPUheaBsWxO2mHVT/9XDsPye2CSbmE= X-Google-Smtp-Source: ABdhPJx5/XiGvkaatdBe7GwYUAHX0CcvJbszxEcoA6Y35y+1Uy5nTQFfRiGciMnKXzSQEzIlaMx/PMUSgsRCXg8cwro= X-Received: by 2002:adf:a28a:: with SMTP id s10mr21473048wra.300.1602358169524; Sat, 10 Oct 2020 12:29:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Edelsohn Date: Sat, 10 Oct 2020 15:29:17 -0400 Message-ID: Subject: Re: [PATCH] aix: remove libgomp and libatomic archives before creating FAT archives To: "CHIGOT, CLEMENT" Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2020 19:29:32 -0000 This solution doesn't really appeal to me, but there aren't any good optio= ns. 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 wr= ote: > > 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 before creating FAT library. > > libgomp/Changelog: > 2020-08-17 Clement Chigot > * config/t-aix: Deleting libgomp before creating FAT library. > > > Cl=C3=A9ment Chigot > ATOS Bull SAS > 1 rue de Provence - 38432 =C3=89chirolles - France >