From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.51]) by sourceware.org (Postfix) with ESMTPS id 572463858CD1 for ; Thu, 16 Nov 2023 19:00:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 572463858CD1 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 572463858CD1 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=85.215.255.51 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700161201; cv=pass; b=aeBGt/DQ3nC6dkPIk6uVZuoA5JYuz71iN1K2h6n1bCuDjYHdBwt3VMGFUQEbLHF2DhSZ2uTJbdLttTSI4MCoz7hpiSmjfSQn+4YK2fSIWJWdtPWTdsOgVE1vsqPSUSqkooATnE+2G6Uud0GPyFAS4Kh6+Wu7LOJkxbXKGCaB/Wk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700161201; c=relaxed/simple; bh=Bw9bRzhoEAKLyLp9SsTwNBD8OTXLOU6qQJkV6tENfA4=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=TWrWCSITIk065xPoFaXgcBRMUX8rP9ELl24tW7gC0SzH49S6X5A/n6G0B+/m8PdoJFIS73ntLcShJfqyGBsCdQ0ASazUOw9uvAQ2/h4csjA4RVwZelQEwMQNn0oVPLeQeYxd1IdhAF2FeyNEtLFLwk+EvD3G8rFjtqCVOLf2gHk= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1700161192; cv=none; d=strato.com; s=strato-dkim-0002; b=APrihpCrK80J4gFrnOmlZB4qweDZxBlUh44M62xOcgh1GyFk+s+PxzTKzYYHa412Qa p/hB4MHF8Z/K32FBaJnSszgWgs1grFjbivUgiTR76WSyoTLIXn6BvlgzqEwmg2OoqtVQ rhRBz8FZYodimyTpuau58km0sDS+9n6TZENO4fKYOGPUeJW8890evR4zewv/VFzotF/Y EdOioxBEAddHEBmTdsFk4W9IG2NMTfdgSWhRH5WIux1X1/Xc5d4YLi9v/UP/F2GLBb1Y cge161kHs2qX2e5PLgFrSPlUzK2PgLdN7r/Fn8J870i7iEDbGlq5WJ9rVeFUunukACZx CoJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1700161192; 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=t87cjyte4i1GB8TCcbcRWIn5udqY+X7bK0rzbNYLEFc=; b=sHqtICBm+0PSYSnjAUVcCmZcGG9GXDkhpLTuyeOauawxLAaAsnKsQnRmirAgMWX7Mh 5wxCf6VKp8m+buCk8SxGl1AJrgWZJLqDrb8AsvE9WvHWsl6b0Hm1uAZD6QDOUMR7d48i U5puvhmUq231qDBWoQDI/hz+gs0Ot3M4YKQuqVToy+6bOokJdpLcjlHoWl7c2cOuh5tq IALEzLBMZbrH4WMMZf0ZZNFSp6VKyn7kGg71+FMOo+mWWPhC2Wo+/BwPH0iimZDq64IN WtX5uoyvyCQ8OaF+kfnNSdRKaleetuI1mNwNVI/EANY29KwRzyqc64E6+eHbZONn1PdI Dn3A== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1700161192; 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=t87cjyte4i1GB8TCcbcRWIn5udqY+X7bK0rzbNYLEFc=; b=ijK1HeuJTgONEXfBmWA/DzjJ6Cs3jygEi31AnYJKT2K3MG5exG75uR5usjqV70UZ1g ZrCQgXnUZ2hB3ySBJ+hqPOwKJ6Z0MmT7KiUS4fJLW89wwqI3quDDrpVByl70rhuVhEtX gjj3axoESJlOe9pgYWqU5jrvOZcg1TPKaLL9FWnZ1RcomkwYESm6Lagn3BWoAxDAo9Li FF38h2OJLonmVgs6Db4HuQsMdlbpdpvNvRiT1IlKkbGbXQm4PO3xAgyT9C4EzlIXELAx IoHgcy+Z9BoBEEBnx35LkW/12kEF3M/4YUJc2rxK8ZVpnNR4MBm7LmMtp6eiyYTFLrwv l7Mg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1700161192; 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=t87cjyte4i1GB8TCcbcRWIn5udqY+X7bK0rzbNYLEFc=; b=xiqaWwcNGgeVRTqKLH40KUhtzZ8b+eQ6eE6nSAJTj2jXP8w97vbEOgTwtazy46oLb4 aylgLBz1qE4BEVBrW8CQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOS1Pdhpy3f268DFPX0NhSjcrZT" Received: from nimes.localnet by smtp.strato.de (RZmta 49.9.1 AUTH) with ESMTPSA id D75765zAGIxqS6i (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 16 Nov 2023 19:59:52 +0100 (CET) From: Bruno Haible To: Arsen =?utf-8?B?QXJzZW5vdmnEhw==?= Cc: Richard Biener , David Edelsohn , GCC Patches , bug-gettext@gnu.org Subject: Re: building GNU gettext on AIX Date: Thu, 16 Nov 2023 19:59:51 +0100 Message-ID: <3917618.lUd5UmjTVT@nimes> In-Reply-To: <86msvdedlt.fsf@aarsen.me> References: <6664645.lMtyQzBqa6@nimes> <86msvdedlt.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.1 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: Arsen Arsenovi=C4=87 wrote: > > * If yes, then the question is how distributors will in general packa= ge > > libintl on AIX. If it's installed in public locations (such as in > > /opt/freeware/{lib,lib64}/libintl.a on gcc119.fsffrance.org), then = we > > have a problem: It may cause undefined behaviour in multithreaded > > packages that use GNU libintl. > > If you can guarantee that it will be installed in GCC-private direc= tories > > (and outside the path where GCC looks for libraries to link with!) = then > > it would be OK to install such a non-thread-safe libintl. > > But if you cannot guarantee that, we are in trouble. >=20 > The in-tree configuration already passes --disable-shared, so I imagine > passing --disable-threads would be OK too, for the case that it is > utilized. (relevant for the latter case: GCC-private build of libintl) Yeah, but this affects only those people who use the in-tree build of the libraries. The problem for distributors remains the same: They have a strong tendency of building libraries indepently, with --enable-shared (so that they can easily apply fixes without rebuilding the world). These distributors on AIX would notice that the GCC configuration attempts to link with "-lintl" but not with "-lintl -pthread" and thus the configuration detects that NLS is not usable. Arsen: Where in the GCC tree is this part of the GCC configuration? Is it in some configure.ac owned by GCC, or does it come from gettext.m4 ? Bruno