From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 1BDEA3858C66 for ; Fri, 17 Nov 2023 13:38:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BDEA3858C66 Authentication-Results: sourceware.org; dmarc=fail (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=aarsen.me ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1BDEA3858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700228297; cv=none; b=VLXMPH90hmX4gXa3Sj6B45xnMdQm3ng+sSZvmbw8iYYa176Y/y0QQ2Hb0NenUZjiBx13+6r5EPprpdkQYbgkhUoQbJxTCOTD5PQKJkRDIV+DY0tZfiX1gbkfe9NpDFk9BYoye+4r//kITaNAOsDcDoc1fonavev95NA4nq80wc8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700228297; c=relaxed/simple; bh=feklzmSrdxQkyVIcnicCkFftGCGlKShhtqFEfLoydGc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=b7xRy1R+hkBJt0N9xdeA8lXF92xXUNWtkbMIQAqQdA2NEa0eHKI5EG6sqWz3CMq/1NQJ2zK0TTB2o7Q4GAso3h+mVfaNY2nf3koEFvF5wfIv/2NL7WH2fVWMOvJ9f6XE5+IB43mp8/ROjlZEmAcTtvqQ934lWCqify3Z6YOAWxo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1r3yfp-00053b-Pa for gcc-patches@gcc.gnu.org; Fri, 17 Nov 2023 08:14:19 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4SWy561KlDz9slv; Fri, 17 Nov 2023 14:13:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1700226794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T+pHCxHt50H+kLldtTHijijVv3+Od30Pc/WLwUvvgCc=; b=brnB7RbyszAzMofL1Pdo0bo1r2+lgDAZrVkUSC6zarUoeonGCUWI9NtaZmgPhshx1b2jQD sS5S2mkJdoLFCRDGNcMcKWeWWOPwxcHk6Bs2ikNCppbxcxsRh9SLUCyP0ljTQtvx6/RMfh kCvnUZsSQG6wHKs45wMlXyj5ApakPXxIS1dCQmDykv/ICNmtdORqZ+QJnCf6J0mjDyMy76 fLCBheTNJMGBP4M2SM+Er8+u6Ojlu8bP4p086hvr0dotfDsPID7oL4gaiQIMphAElVAZgT seUy9q5NUPgWeRx7cJ8yk9sXS1qlg0pVlaAgxHgePGIbTT+ruSojMAaGdobkuQ== References: <86o7ft70mn.fsf@aarsen.me> <5206561.PBRm21meoU@nimes> From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: Bruno Haible Cc: Richard Biener , David Edelsohn , GCC Patches , bug-gettext@gnu.org Subject: Re: building GNU gettext on AIX Date: Fri, 17 Nov 2023 14:06:45 +0100 In-reply-to: <5206561.PBRm21meoU@nimes> Message-ID: <87jzqg34m1.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4SWy561KlDz9slv Received-SPF: pass client-ip=80.241.56.152; envelope-from=arsen@aarsen.me; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,RCVD_IN_DNSWL_LOW=-0.7,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,SPF_HELO_PASS,SPF_NEUTRAL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bruno Haible writes: > David Edelsohn and Richard Biener wrote: >> > > * GCC can pass --enable-threads=3Disoc, to avoid the libpthread de= pendency >> > > 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. > > --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 statica= lly > 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] That should always work for us, then (the only case in which the GCC build system sets up flags for gettext is when building it in-tree, in which case we already want a --disable-shared build). If that library gets installed, then, so far, it is unintentional. I'll check that (as well as the docs targets that Eric Gallager mentioned on IRC) tonight. > Bruno > > [1] https://lists.gnu.org/archive/html/bug-gnulib/2023-11/msg00164.html =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYKAC4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZVdm5hAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosST8S4A/07LHQDNrGk73HIaP3GMpcwqpoX2Alo7oDDN YLObybKnAQDoUuyX7wQP83XCx+gjiZOC+bemgCfcHfmqmqZMkwsZDA== =V/93 -----END PGP SIGNATURE----- --=-=-=--