From nobody Tue Feb 28 23:50:39 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PRDdj5ZwBz3v6Mn for ; Tue, 28 Feb 2023 23:50:49 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PRDdh6fYGz4Hpj for ; Tue, 28 Feb 2023 23:50:48 +0000 (UTC) (envelope-from gerald@pfeifer.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com; dmarc=none Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 3241233E5E; Tue, 28 Feb 2023 18:50:42 -0500 (EST) Received: from naga.localdomain (188-23-63-229.adsl.highway.telekom.at [188.23.63.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 4FCEF33E4A; Tue, 28 Feb 2023 18:50:41 -0500 (EST) Date: Wed, 1 Mar 2023 00:50:39 +0100 (CET) From: Gerald Pfeifer To: Mark Millard , Lorenzo Salvadore , phascolarctos@protonmail.ch cc: Piotr Kubaj , dev-commits-ports-main@freebsd.org Subject: Re: git: ca48c22e1c7a - main - lang/gcc12: add gcc 12 In-Reply-To: <7453FF09-7361-4F16-8F18-5FA0242B002F@yahoo.com> Message-ID: <41ba5bb0-853c-6712-f035-9f14794737e2@pfeifer.com> References: <94B6CB06-97A9-4413-BBA8-4DAF0794617D@yahoo.com> <7453FF09-7361-4F16-8F18-5FA0242B002F@yahoo.com> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.11 on 209.68.5.143 X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-main@freebsd.org]; FREEMAIL_TO(0.00)[yahoo.com,lorenzosalvadore.it,protonmail.ch]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[gerald]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[pfeifer.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PRDdh6fYGz4Hpj X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N [ Adding Lorenzo and providing a full quote ] On Tue, 10 May 2022, Mark Millard wrote: > [Looks like you did not CC Gerald for him to decide > if he wanted to comment or to just send a decline to > comment.] > > On 2022-May-10, at 16:46, Piotr Kubaj wrote: >> I fixed the first issue. >> >> As for the second one, I'm not sure what would be the correct fix (we >> could move libgccjit++.h to a non-standard directory, but I'm not sure >> about the consequences). Maybe Gerald could offer some insight about >> this issue. > > If the normal notation is via #include there > might be other places that would just work [absent file name > conflicts] and be gcc vintage specific. > > But if the normal notation is via #include "libgccjit++.h" > then it might not be that easy. > > I will also note that, while pkg only reported the one file, > there is also a libgccjit.h with the issue as well: > > # grep -v % /usr/ports/lang/gcc12/pkg-plist > include/libgccjit++.h > include/libgccjit.h > @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi > @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi > @comment Insert PLIST.lib here > > # grep -v % /usr/ports/lang/gcc11/pkg-plist > include/libgccjit++.h > include/libgccjit.h > @postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi > @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi > @comment Insert PLIST.lib here > > > I do not know how much use is made of libgccjit* > under FreeBSD. > > > Looking around it seems that linux contexts seem to > deal with such by bundling up libgccjit* material > for separate installation so there ends up being > either zero or one instance around, despite possibly > having multiple gcc* vintages installed. Lorenzo has created a fix for this which, sadly, is stuck upstream still: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606450.html Gerald