From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 8C9733858C3A for ; Thu, 16 Nov 2023 16:00:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C9733858C3A 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 8C9733858C3A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700150425; cv=none; b=i/vw+zhiT/hfG7nVGwriBJ4tebuvtsBS1ULsbXNFZCSBxN7oM/6Y2MVkd8iJh/RoHK/Qdk5om+5u1l7rfEnSOrgPbCg4k4tRL+ngpZBPWd7ruG20mH5P+EvJIHwfTLf7pGY+WISlzdGURD0WkhTVmRf9WZ8lDcKB8B+jJcOBAlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700150425; c=relaxed/simple; bh=NSA2RPCvTGHllKWLVSeVrcn8pFtOekweHCyOb0UrhEA=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=k8yHmJskgKvpSKIOa3QsRzugp+YJueFoYPbjZCu/2ZJ2XLJ1CWtdZV8i5xUlf5ZED3ny8DnffXO54FS8owEN9I/jOW4DmOJkNpynmTlRUm6xFpbZr2q9GBjRwJ/U15OrNI6aGaT/IXUc81/3RYtjZYP1VbFmfZSMEdt9h11STD0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9becde9ea7bso434415466b.0 for ; Thu, 16 Nov 2023 08:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700150422; x=1700755222; 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=5bqNAgJkh08jAC1PthX+4bG9tuMDqSQPBrBIzxns5Lk=; b=DQ23LbSrP/lGMJIuoxAE3JZ56URmUFjy3EvagJO1aZv9qrx1ThLew7dG+NuvR0EOEa Dq8lmnNCKVu+hwxaGu8plx42nEVKYlESvmKPH+Cr5+HJ0j0YUczW4O0KsJL2yrW3UnqX H3RJrIJflLJd/qEP84ztuI4KHYXOUJvE+X8erYTdv0R1HfTp0l5Z/f/B/YSGhWYfWFNX 7h3Xi+UVeh26lfXFcaHErQ3fP4tgB1QbCmMwhj34m5bNgxpECiZrbTF+WEDFs3grtkHd fc8aJD5WfC++MRsyaL807LKgVJNFjy2GCwWLJkdh+ArfQUjCfCc+wLVyddbTCqcftqy0 K0fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700150422; x=1700755222; 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=5bqNAgJkh08jAC1PthX+4bG9tuMDqSQPBrBIzxns5Lk=; b=BYlTaDoHe1bt4Zn4tm5TJso7UcumN81xg8efqJRtIKApjhssXJZve4Pfmrr7vpPwzc 4XzfcUpY+UmQXUbz+zR2O0EolryDvOgD34GSjYvN6TAcm99vBEr/9x1s5cizIV0YWDsB K8sjfu/evtCU3iQ7N85Zuv1pKjHn0PCEV5XMWUMAT4Zo8SgTvtF20s/XA6lsFPPFjUCz jYOgtkzYc5NAgQVHlMxWNTu1pNX7lHA03nFWi9dsx+z+V3G4Rjhw/bql3bQxB0D6d57Q VDfeYKVzwpIDLeOQzFpdo78Egg7Fb6SRlRr8bd+7JhuQS2zYLVpbqv1KdYJrnJWdepkK B51g== X-Gm-Message-State: AOJu0YxeTvqaQGPBLQB8pGNuxs4Bmn4ovPMskWcVN0W20PcoQlHkouR/ gUzEKUzXWjvr+WM6t6ECybCJ0nJeq4yO/jHH1XVk63ic X-Google-Smtp-Source: AGHT+IFsVY9OBwxMP3UYCZwPgB9HWFHvOlu4CmMd696xCAQPNEvPk2EG2rlyzG6i3Dhe1FayZ8Dlxtt+2Fu+dZB3yiE= X-Received: by 2002:a17:906:6ad8:b0:9ee:295:5693 with SMTP id q24-20020a1709066ad800b009ee02955693mr1782817ejs.7.1700150421990; Thu, 16 Nov 2023 08:00:21 -0800 (PST) MIME-Version: 1.0 References: <4277517.TpOvJl0BfU@nimes> <4734331.o0Uec3RiDg@nimes> In-Reply-To: <4734331.o0Uec3RiDg@nimes> From: David Edelsohn Date: Thu, 16 Nov 2023 11:00:10 -0500 Message-ID: Subject: Re: building GNU gettext on AIX To: Bruno Haible , =?UTF-8?Q?Arsen_Arsenovi=C4=87?= Cc: GCC Patches , bug-gettext@gnu.org Content-Type: multipart/alternative; boundary="000000000000f7b1a3060a471d69" X-Spam-Status: No, score=-1.4 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: --000000000000f7b1a3060a471d69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bruno, I have been able to tweak the environment and build gettext and libintl. With the updated libintl and environment, GCC reliably does not use NLS. The issue is that libintl utilizes pthreads. AIX does not provide no-op pthread stubs in libc. pthreads is an explicit multilib on AIX. It is great that gettext and libintl can be built thread-safe, but GCC (cc1, gcov, etc.) are not pthreads applications and are not built with pthreads. Because libintl defaults to pthreads enabled, NLS cannot function in GCC on AIX by default. The GCC included gettext was built in the default for GCC libraries, which was not pthreads enabled. I can rebuild libintl with --disable-pthreads and I will see if that works, but the default, distributed libintl library will not allow GCC to be built with NLS enabled. And, no, GCC on AIX should not be forced to build with pthreads. This is a regression in NLS support in GCC. Thanks, David On Wed, Nov 15, 2023 at 5:39=E2=80=AFPM Bruno Haible wrot= e: > David Edelsohn wrote: > > I am using my own install of GCC for a reason. > > I have built GNU gettext 0.22.3 in various configurations on the AIX 7.1 > and 7.3 machines in the compilefarm, and haven't encountered issues with > 'max_align_t' nor with 'getpeername'. So, from my point of view, GNU > gettext > works fine on AIX with gcc and xlc (but not ibm-clang, which I haven't > tested). > > You will surely understand that I cannot test a release against a compiler > that exists only on your hard disk. > > The hint I gave you, based on the partial logs that you provided, is to > look at the configure test for intmax_t first. > > Bruno > > > > --000000000000f7b1a3060a471d69--