From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id E56D33858D37 for ; Mon, 20 Nov 2023 01:17:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E56D33858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E56D33858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700443043; cv=none; b=miitroSYPDwN2TpLCa2+5ERXb9xgYv4wrRUuE7kuN6ySmZcnp0LC26Me03xv7L0/3NNDew2QB7V8rN4OosWvy0wUzs1PHX47Zs0hN2YR8I9n3MReodG0v3DQ7Kq70A+LUu+OxmoB+TsSzhWypbe1xVlOnMIngOaAXFIJdEMTEpQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700443043; c=relaxed/simple; bh=roghNLdtS4Nzasth86Ejwh99L+oUODRXxQFTkr5VHZ8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=p+lMY733sejNkSH92likmukkD9a4Z9GqoLQCWIOUzImFibsp/KMICHAiAMEI/Ucju56dvDylOqbuHUaFD4+UrBEBsT1jmk+fpS2zv2JEFhtnXnmKjaj+/5qbT8uGlt8mXlXU80EdNJNLU7cXYT0n99+EZ/mh0wun1k+kR0NiBzk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5079f3f3d7aso5433787e87.1 for ; Sun, 19 Nov 2023 17:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700443040; x=1701047840; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wU3SK7Sr1W9l+vEI5DoNNUyvCHRrNbR53/4Pa5SF4c0=; b=A9NMnsw/lgqTaCkpQqZDoS6AR/5cXl21HN7iomjblB0Elx3UEAKv+5BzVLO6dUKVZm 2dAZ/6K/uphjxbZgk1Qav7ZuFznCkv5TB+C+jiFFl3E55fB9hdKF6lj5NksJtBCk7A3f z+NUiZXAVQho/CJRgKGG0KsF2nmnTMZGy9GOIMnexpm+48bi+5q+3jkYwl0cpFKrDH3n X75DttKM/PwNbj47jXczFtlRrLuRll0SU23MVsu87QTGX9MXUetMNuCnQxpQblnh4GjK LsIEEv5z895DdGu+stx349Jd2RB0frrZBa5bW+apWiwdjtH9SsAy5oeqtnwuZdxPWtZ4 58Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700443040; x=1701047840; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wU3SK7Sr1W9l+vEI5DoNNUyvCHRrNbR53/4Pa5SF4c0=; b=c0eeZehzxouer2ACd2RZbGANOj+mcfr6i4vGjaNhDgRYz4lb5OyZibHBDJEVnR05W1 SMBQ80U/Oqg4k89YQN+fy4XQECkNyBMvKEPn4w4UyjIA/TJybN6E1ydtVas4BaJnhQpN 89NNIqzZ8087VO6kirlWpRhKEdKmS/1L2QJg09ZqPVPs8ltaZ683nI1gLGFnGH1L9hOV DkhX8gXS9+4ib4rIf8RnZmFtHJMvJdtYcgOiba0fY/rki47XVXgjGvRw7AsPfj6p1GBx e203OFL3utQj2Mxcg0Wex1y32TxkLj6iySC9THELhVZmrZXAs2N08JU7ux6dG6tEoH6n zjZw== X-Gm-Message-State: AOJu0YwDQ2DlSIGmS2xCxYSVVRxGBLz3mRo9rJH3pcVz+D8nVpiDvQ38 zvxviSOytaDIgQCOF9uvhGW3p7bVIHaQos/GDewxmNKL X-Google-Smtp-Source: AGHT+IGYXQrMJBtxcm2KYBhZ/QPYqTCbhYVTq1in97wM4OyFYGTCj/niZbCZvvB8jMmCUnW87Qnaggq225dgQRYELRY= X-Received: by 2002:ac2:5619:0:b0:50a:71e1:e1d0 with SMTP id v25-20020ac25619000000b0050a71e1e1d0mr4216214lfd.6.1700443039541; Sun, 19 Nov 2023 17:17:19 -0800 (PST) MIME-Version: 1.0 References: <87a5rc2yuv.fsf@aarsen.me> <9214284.kj8aouNDkQ@nimes> In-Reply-To: <9214284.kj8aouNDkQ@nimes> From: David Edelsohn Date: Sun, 19 Nov 2023 20:17:08 -0500 Message-ID: Subject: Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext To: Bruno Haible Cc: =?UTF-8?Q?Arsen_Arsenovi=C4=87?= , Richard Biener , gcc-patches@gcc.gnu.org Content-Type: multipart/alternative; boundary="000000000000552ee6060a8b3f7c" X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: --000000000000552ee6060a8b3f7c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 19, 2023 at 5:15=E2=80=AFPM Bruno Haible wrot= e: > David Edelsohn wrote: > > --disable-threads currently does not completely disable threads. Bruno > is > > suggesting --enable-threads=3Disoc that relies on mtx mutex functions in > libc. > > Unfortunately, as said in the other mail today, relying only on mtx_* > functions > did not drop the dependency towards libpthreads. > > So, I've made a new release gettext-0.22.4, that includes only these > changes: > > - AM_GNU_GETTEXT now recognizes a statically built libintl on macOS and > AIX. > > - Passing --disable-threads now builds a libintl that, on AIX, does not > need -lpthread. > > - Other build fixes on AIX. > > > Yes, GCC should configure the in tree gettext with --disable-threads, b= ut > > that configure option is not completely effective and does not produce a > > build without threads references. > > Now it is effective. But you (Arsen) should state in the documentation > (gcc/doc/install.texi) that for --disable-threads to have this effect, > one needs gettext version 0.22.4 or newer. > So the question is do we want to change GCC on AIX to always link against pthreads so that GCC can build with default, external builds of gettext libintl. I don't see a path for i18n support to work for GCC on AIX without that unfortunate change. Thanks, David --000000000000552ee6060a8b3f7c--