From nobody Wed Mar 01 00:18:09 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 4PRFFb5qW4z3v7Xp for ; Wed, 1 Mar 2023 00:18:27 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PRFFb3bkJz4LhB for ; Wed, 1 Mar 2023 00:18:27 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Authentication-Results: mx1.freebsd.org; none Date: Wed, 01 Mar 2023 00:18:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lorenzosalvadore.it; s=protonmail2; t=1677629905; x=1677889105; bh=J6HsKC/yJWFw2HVpNA6WxlmYwj4NqGPzhUG6fsUII8Q=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=lTzSKbAXBzjHGlM0cFjmf49FYGA2dBphiP/vH4njzRTNZUUnBB5LONqhljx8WznWR 3zLqiXQDlIF+UfxEwo87rXKWPjQahSoeyaEz14CO8uJJ+sQhk4EZrX1xkr6nsfApfM FV7+GnMADo0Wts5KsAgFRIcDc4zGXiaRTYOZWyemNm7C/KQ66vQFg0GpBZ7m36lthG wUyGSAe/mWEvgNaSOsOIHvA7h9uJda2gg2GLBwAq15AyPAEq27hitinvwcb9N5wj6U tDE0rAgZ3GoP8cjMpsFhlvh5iuVF+jR46ysHq6KMRUSFhMKj361prBfIHBObtjHQl4 eKFD2QBcGi5gQ== To: Gerald Pfeifer From: Lorenzo Salvadore Cc: Mark Millard , Piotr Kubaj , dev-commits-ports-main@freebsd.org Subject: Re: git: ca48c22e1c7a - main - lang/gcc12: add gcc 12 Message-ID: In-Reply-To: <41ba5bb0-853c-6712-f035-9f14794737e2@pfeifer.com> References: <94B6CB06-97A9-4413-BBA8-4DAF0794617D@yahoo.com> <7453FF09-7361-4F16-8F18-5FA0242B002F@yahoo.com> <41ba5bb0-853c-6712-f035-9f14794737e2@pfeifer.com> Feedback-ID: 53711648:user:proton 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=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4PRFFb3bkJz4LhB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------- Original Message ------- On Wednesday, March 1st, 2023 at 12:50 AM, Gerald Pfeifer wrote: >=20 >=20 > [ Adding Lorenzo and providing a full quote ] >=20 > On Tue, 10 May 2022, Mark Millard wrote: >=20 > > [Looks like you did not CC Gerald for him to decide > > if he wanted to comment or to just send a decline to > > comment.] > >=20 > > On 2022-May-10, at 16:46, Piotr Kubaj pkubaj@anongoth.pl wrote: > >=20 > > > I fixed the first issue. > > >=20 > > > 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 sur= e > > > about the consequences). Maybe Gerald could offer some insight about > > > this issue. > >=20 > > 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. > >=20 > > But if the normal notation is via #include "libgccjit++.h" > > then it might not be that easy. > >=20 > > I will also note that, while pkg only reported the one file, > > there is also a libgccjit.h with the issue as well: > >=20 > > # 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-upda= te-links -v; fi > > @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-up= date-links -v; fi > > @comment Insert PLIST.lib here > >=20 > > # 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-upda= te-links -v; fi > > @postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-up= date-links -v; fi > > @comment Insert PLIST.lib here > >=20 > > I do not know how much use is made of libgccjit* > > under FreeBSD. > >=20 > > 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. >=20 >=20 > Lorenzo has created a fix for this which, sadly, is stuck upstream still: > https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606450.html Yes, and unfortunately the same holds for another similar patch that has be= en submitted in the following upstream bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101491 . I will keep trying to get some attention to the patches. Cheers, Lorenzo Salvadore