From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by sourceware.org (Postfix) with ESMTPS id 554453857B97 for ; Thu, 16 Nov 2023 21:15:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 554453857B97 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 554453857B97 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=80.241.56.171 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700169312; cv=none; b=tsGmfSNJuAdInrk8OxbJGEPSsVUrrVUY6Ox4skFu2Y76YjYGhznWCPWlANrylRbfiFts9o75MCIIPlBD75NCdTXr3xxSmXfAHibNALk+UbI6HTTJ4rZaFYdRjMQz2+7LOnA8crLQv4DNhv3Q5HvNlXvdF69tk5Ec8t1rqRUh/pc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700169312; c=relaxed/simple; bh=tNRuaIOSnmna/3OcCLU8BZz1xU1I8izLp0kwX9YfN+I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jfKGIuc7ABBl3nEw2k+4IaytYAK4ZthQ8lM0hfy4QxJ1olsNKKyuX5l9bWnlBLSqaWWOSphh0t6n5FhEjsURZGNcVF+/+iLqFUjLm2VTAzLsgpxGX3Hp3dPZCI9o85mhBpquRvd18ZSxAxJwYKvBs82BT63fgUaBGyLoro3CBis= ARC-Authentication-Results: i=1; server2.sourceware.org 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-201.mailbox.org (Postfix) with ESMTPS id 4SWXqb72zgz9sj8; Thu, 16 Nov 2023 22:15:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1700169308; 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=wj6+Zw6K0LisGzp4ekKtWf38mzsvsKvZJe2WTdYhjV0=; b=QKs8MfEP6HIJMO6Ccn4g2Jw7bLFHDexnsZ7Wpu2AcYhFVluiT7ukhyREbSmhO774qUYrLY nLKHQRD8vcbe/P7qf5sE885T3UuU9/rv1pitHGeLwkCUuoSFdR6le/WaNc/49d0kxYoVKC /36Idjk1UB4csUoMGKbTILJl3ffm0Xr7lR/quukjwOrLCQE5hieHkQXB1KjeRqTXuCthLz /NU+B4XxDEpxaxj4kybR6tpaf7aFz2Z7pe+DX09x6BGjmN7c2h1loIF7wydtnWLeCR8pCe XvXIP8GaP8kk/pSaGlrcbWjzVxkObV+N2QPdghdJgOBAr/9zuW7DttGEXA9bfA== References: <86o7fwhr03.fsf@aarsen.me> <8634x7hza7.fsf@aarsen.me> <86il61fscr.fsf@aarsen.me> From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: Arsen =?utf-8?Q?Arsenovi=C4=87?= Cc: David Edelsohn , Richard Biener , Bruno Haible , gcc-patches@gcc.gnu.org Subject: Re: [PATCH v3 0/2] Replace intl/ with out-of-tree GNU gettext Date: Thu, 16 Nov 2023 22:11:35 +0100 In-reply-to: <86il61fscr.fsf@aarsen.me> Message-ID: <861qcpbdt2.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4SWXqb72zgz9sj8 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,KAM_SHORT,RCVD_IN_DNSWL_LOW,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: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Arsen Arsenovi=C4=87 writes: > [[PGP Signed Part:Good signature from 52C294301EA2C493 Arsen Arsenovi=C4= =87 (Gentoo Developer UID) (trust ultimate) created at 2= 023-11-16T19:47:16+0100 using EDDSA]] > > David Edelsohn writes: > >> On Wed, Nov 15, 2023 at 9:22=E2=80=AFAM Arsen Arsenovi=C4=87 wrote: >> >>> >>> David Edelsohn writes: >>> >>> > GCC had been working on AIX with NLS, using "--with-included-gettext". >>> > --disable-nls gets past the breakage, but GCC does not build for me on >>> AIX >>> > with NLS enabled. >>> >>> That should still work with gettext 0.22+ extracted in-tree (it should >>> be fetched by download_prerequisites). >>> >>> > A change in dependencies for GCC should have been announced and more >>> widely >>> > socialized in the GCC development mailing list, not just GCC patches >>> > mailing list. >>> > >>> > I have tried both the AIX Open Source libiconv and libgettext package, >>> and >>> > the ones that I previously built. Both fail because GCC configure >>> decides >>> > to disable NLS, despite being requested, while libcpp is satisfied, so >>> > tools in the gcc subdirectory don't link against libiconv and the bui= ld >>> > fails. With the included gettext, I was able to rely on a >>> self-consistent >>> > solution. >>> >>> That is interesting. They should be using the same checks. I've >>> checked trunk and regenerated files on it, and saw no significant diff >>> (some whitespace changes only). Could you post the config.log of both? >>> >>> I've never used AIX. Can I reproduce this on one of the cfarm machines >>> to poke around? I've tried cfarm119, but that one lacked git, and I >>> haven't poked around much further due to time constraints. >>> >> >> The AIX system in the Compile Farm has a complete complement of Open Sou= rce >> software installed. >> >> Please ensure that /opt/freeware/bin is in your path. Also, the GCC Wiki >> Compile Farm page has build tips that include AIX >> >> https://gcc.gnu.org/wiki/CompileFarm#Services_and_software_installed_on_= farm_machines > > Thanks, that got me further. > >> that recommended --with-included-gettext configuration option. > > This flag should still exist and operate the same if gettext is present > in tree. I've cloned gcc and downloaded prerequisites (via > contrib/download_prerequisites) and I am trying to configure it now. The build failed. After gettext/gmp/... (in-tree hostlibs) get built and added to library paths, further GCC processes fail to run: configure:3305: gcc -g -static-libstdc++ -static-libgcc -Wl,-bbigtoc conft= est.c >&5 Could not load program /opt/freeware/libexec/gcc/powerpc-ibm-aix7.3.0.0/10/= cc1: Dependent module /home/arsen/build/./gmp/.libs/libgmp.a(libgmp.so.1= 0) could not be loaded. Member libgmp.so.10 is not found in archive=20 This seems odd. I am not sure what compels the RTDL (?) to look up .sos in archives, or how it knows about these archives.. I suspect it's getting tripped by something in HOST_EXPORTS. >> Thanks, David >> >> >>> >>> TIA, sorry about the inconvenience. Have a lovely day. >>> >>> > The current gettext-0.22.3 fails to build for me on AIX. >>> > >>> > libcpp configure believes that NLS functions on AIX, but gcc configure >>> > fails in its tests of gettext functionality, which leads to an >>> inconsistent >>> > configuration and build breakage. >>> > >>> > Thanks, David >>> >>> >>> -- >>> Arsen Arsenovi=C4=87 >>> =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZVaGWV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTsdMBAK2hsEyWk3T0rBoeCiRRkP8MG8MEhGXPFnhc f9Lfig4/AQClN8hyXCdoA2XjrIN/li3IyIZnO5g/XLTm/g8W5TtQAw== =VhKQ -----END PGP SIGNATURE----- --=-=-=--