From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [85.215.255.20]) by sourceware.org (Postfix) with ESMTPS id 153C53858C66 for ; Fri, 17 Nov 2023 12:26:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 153C53858C66 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=clisp.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=clisp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 153C53858C66 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=85.215.255.20 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700224001; cv=pass; b=DqhHc/lX4ZoOhNgi4B4n5lhlEXEcGNV/ENce3WgM8MaIgh0jnIo0En/F4QNbG40AHrkrghdhSEuwaU8/NXC+l6OQuun1tbRnf3wjry0+wcO04a52beFfvv7eCNh2n7yeAFGjq9O+4t6kqZqucqk55VvmDsZ07XPw/UkVYqqNKq8= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700224001; c=relaxed/simple; bh=6kJNlOCXKYirCduvs//OHFR2vBb/0OzhOg78Z98CIjQ=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=xk6HBMpdD565OB8W11E3FKGlinTiRSPqfdzLKjh+xckN8s3uPaUGceFzEz2+Ujyy0DOw0FUVWx3ggbr4/lKOuRo7CcYw/qtIKZ/86ULxRFmKgABwpzduHwhM7xcNGDdKV8YYXmpXvbauPwq0Uuo+WAEPhduQRY76VMpZ2gbHZQk= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1700223992; cv=none; d=strato.com; s=strato-dkim-0002; b=VETtDV8J7tJmKJH7WmSLTMTaNpPTt7vvrqmvCqtkH6z1gRess0KfW57IKF4XqmS5jW /LV14mnJo0DgUKos+yYlBv5KFWA4jkSkhlaPgayhrKEc9bZEVMLNltb+3cb3/T9f/Gx9 iUyh8OKptTwYC6F59jg1dlw2IySQj4V0Zf/TEol04W5mIGBrhsko0u1Bqc7eSYh9PbT5 cBNqejRUipyRxQ4d2U1i5YKUWiMsOfBibViqaI1IAGUls5W6ka3kj0ukKC7S/E7nliP1 tx/yRpfdOAmFvZZKwNypgqZgOBb3PbEZ2FQkoPkVJ7cKbWh/rnk517ryvOQ1ZzDkQEXj 9rZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1700223992; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=2bp4YY4HK+UsjqRR7daMQjdAts73wPpvDvXieBNaxbs=; b=qvq15L47rMobrbeUAnd0dnVHa9ayO+l6PLSq02RFqPdVrp1rX3Lrqr+730FNT1WgIS 97+mEA3d4fbRzwaSCmwOcvZenWYfdNIXeOeszMhLHb7Rsb01Jgx89ynSljdSEBjKJoFI u661mzCvnaGLLAcs0S1rsOvzFLk4N9cuCc+5rqfeW0i14rBTmiHV5ibTtDoyJGS2e2OS aVgZO2uyH+XaLF3YPj1EZkL86/X+VG2zsumTkrsIn8CGnZ7SUvUGZTPtgMCkVBq/GXnG 9pyM2U30I3BVJS4XgYPL0SibkoOLajZZ8VEGpUOBqni9rdnHbPuQOLRxZuiRSrnbXQcV /mDw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1700223992; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=2bp4YY4HK+UsjqRR7daMQjdAts73wPpvDvXieBNaxbs=; b=BEmqqfrW6oc2O5yaohY4A8IwuuNVsQnv84cwXBp7hCkrzVPX3SP0/G+AiaH1Zf7tGk m04LzN8A95WgMrCcPzIOYBsYw/0jXeeiyQylD57Pzx+SlAZW7YAANtsBtuq7Zyu6hObg yLupbvADi+YnjCmQsztktqI46CF+Vko56sVgpXTEGkpYb7VD0TYVq4OLBTcHDnSHiS+s VpRnnUHDpD82nXN3cEO6OveaO3NfT9FTLN9l9zNJ/TVtI95UxxLCSM6thmspUFXsHQuz Z2wNIKJhQqm5dWFwByeV1YoeqhdAnrM/Aj9+rMEBiTN+FApeKi8ltHcB7LVnV1XnooGr GE0A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1700223992; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=2bp4YY4HK+UsjqRR7daMQjdAts73wPpvDvXieBNaxbs=; b=VBVfO0HnOrBCyxAmkz+7r1r3/b1ToBB2inMNgbosmY/WdUw4n80HQSJ8JmWAcbjs6K VQ3UQumEE7VgkdkngMBQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPDiPYT1i/LlaU+R8s97SJTqX3z" Received: from nimes.localnet by smtp.strato.de (RZmta 49.9.1 AUTH) with ESMTPSA id D75765zAHCQWc4M (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 17 Nov 2023 13:26:32 +0100 (CET) From: Bruno Haible To: Arsen =?utf-8?B?QXJzZW5vdmnEhw==?= , Richard Biener Cc: David Edelsohn , GCC Patches , bug-gettext@gnu.org Subject: Re: building GNU gettext on AIX Date: Fri, 17 Nov 2023 13:24:24 +0100 Message-ID: <5206561.PBRm21meoU@nimes> In-Reply-To: References: <86o7ft70mn.fsf@aarsen.me> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: David Edelsohn and Richard Biener wrote: > > > * GCC can pass --enable-threads=3Disoc, to avoid the libpthread dep= endency > > > on AIX =E2=89=A5 7.2. > > > > Hmm, would that option work everywhere, though? Or would we have to > > wire up configury to detect which flag to use? If so, what would it > > look like. =2D-enable-threads=3Disoc should only be used where needed, i.e. on AIX 7.2 or higher. Yes, this needs a configure test. > I'd highly recommend the in-tree gettext to be built with thread > support _disabled_, > only a static library built and never installed (but linked statically > into the host binaries). As long as this static libintl.a gets never installed (but linked statically into the host binaries), that's perfectly fine. It only needs a fixed gettext.m4, to deal with the bug that David Edelsohn noticed on AIX (but that exists on macOS as well). [1] Bruno [1] https://lists.gnu.org/archive/html/bug-gnulib/2023-11/msg00164.html