From nobody Wed Feb 07 20:53:39 2024 X-Original-To: dev-commits-ports-all@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 4TVXQb1Drmz5B3yp; Wed, 7 Feb 2024 20:53:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVXQZ5FyGz4CfY; Wed, 7 Feb 2024 20:53:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTPS id XksbrEcjcGAIJXovOrXxvq; Wed, 07 Feb 2024 20:53:42 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id XovMrpVyh9Cr4XovNrGUd5; Wed, 07 Feb 2024 20:53:42 +0000 X-Authority-Analysis: v=2.4 cv=etl8zZpX c=1 sm=1 tr=0 ts=65c3edd6 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=k7vzHIieQBIA:10 a=wdBCWTejAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=-PbmnKNHn8a3ye3AwT8A:9 a=CjuIK1q_8ugA:10 a=3lzj22Ai-c0A:10 a=E6RPhFkzuBHyj9NHzc04:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 283A596E; Wed, 7 Feb 2024 12:53:40 -0800 (PST) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 0641330A; Wed, 7 Feb 2024 12:53:40 -0800 (PST) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Lorenzo Salvadore cc: Cy Schubert , Lorenzo Salvadore , ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, "brooks@freebsd.org" Subject: Re: git: 41870b7b7d04 - main - lang/gcc{12,13}: Switch back to standard bootstrap In-reply-to: References: <20240207154248.5C4701ED@slippy.cwsent.com> Comments: In-reply-to Lorenzo Salvadore message dated "Wed, 07 Feb 2024 20:48:29 +0000." List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 07 Feb 2024 12:53:39 -0800 Message-Id: <20240207205340.0641330A@slippy.cwsent.com> X-CMAE-Envelope: MS4xfJwiMRd0UW1aWIT/oUImzRNC1gNl+7BJTgssmKD9lmSuJlmEK248TJVdfhl+i2Tfwk4r2T7CwVaBSVLRSxN1LQ/waetMrE/kTPVtFTFXqZoQE1O0ELqj aOyVgGC4hYN1B9JJcogTeBibFtfFclVpppRrGQRXo4MIqfWP7ZOiJwSHf6cAqHAGfwIzKArIMHZX/1XpHbimCdwunYMsfts4T9Qj0meGRjjdlUrwZxmwDOq2 Vj8i4jtIQGRSmT5CbEUriXrAcpL9fgz6mo/kw8l6F141IQkAKNG3B+L+cff7oNdXKRSQb8h/0ovjAuWz14GoyJ75jpEtv9d9Cw/ZItbUUMaP4daFYO9zSsfs h+MMAn4McGaeDG0EdBTnDgBZKQXjTL/wzw2b17yZejk/+P22m7sjpVkpOU0gWZTxXAO7cP/O X-Rspamd-Queue-Id: 4TVXQZ5FyGz4CfY X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] In message , Lorenzo Salvado re writes: > On Wednesday, February 7th, 2024 at 21:44, Lorenzo Salvadore enzosalvadore.it> wrote: > > >=20 > >=20 > > On Wednesday, February 7th, 2024 at 16:42, Cy Schubert Cy.Schubert@cschub= > ert.com wrote: > >=20 > > > Cy Schubert writes: > > >=20 > > > > In message 202402030957.4139vE0G052950@gitrepo.freebsd.org, Lorenzo S= > alvado > > > > re > > > > writes: > > > >=20 > > > > > The branch main has been updated by salvadore: > > > > >=20 > > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D41870b7b7d042523cf= > f7d8fe3abd > > > > > e2 > > > > > 4f5a394804 > > > > >=20 > > > > > commit 41870b7b7d042523cff7d8fe3abde24f5a394804 > > > > > Author: Lorenzo Salvadore salvadore@FreeBSD.org > > > > > AuthorDate: 2023-11-07 10:59:49 +0000 > > > > > Commit: Lorenzo Salvadore salvadore@FreeBSD.org > > > > > CommitDate: 2024-02-03 09:57:04 +0000 > > > > >=20 > > > > > lang/gcc{12,13}: Switch back to standard bootstrap > > > > >=20 > > > > > Switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as def= > ault > > > > > option instead of LTO_BOOTSTRAP, forwarding the changes already com= > mite > > > > > d > > > > > in the devel ports (commits daf12c76bd531335f58e7602afd3bc8da8fc5c3= > 3, > > > > > 872d61f8ead10a6d935117876cf60057a46770ff, and > > > > > da4cb11216a7ed594d5dc453deb4693b48c3c7e9) and in lang/gcc11 (commit > > > > > 3e0fc5e7607d30400bfb3d5a7b3d1b77e1a6699a) > > > > >=20 > > > > > Users wanting to use LTO_BOOTSTRAP can still enable the option manu= > ally > > > > > . > > > > >=20 > > > > > PR: 273397 > > > > > Tested by: exp-run (antoine) > > > > > --- > > > > > lang/gcc12/Makefile | 8 ++++---- > > > > > lang/gcc13/Makefile | 8 ++++---- > > > > > 2 files changed, 8 insertions(+), 8 deletions(-) > > > > >=20 > > > > > diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile > > > > > index f7a1f1c239ca..6b84bc733f67 100644 > > > > > --- a/lang/gcc12/Makefile > > > > > +++ b/lang/gcc12/Makefile > > > > > @@ -1,6 +1,6 @@ > > > > > PORTNAME=3D gcc > > > > > PORTVERSION=3D 12.2.0 > > > > > -PORTREVISION=3D 8 > > > > > +PORTREVISION=3D 9 > > > > > CATEGORIES=3D lang > > > > > MASTER_SITES=3D GCC > > > > > PKGNAMESUFFIX=3D ${SUFFIX} > > > > > @@ -37,9 +37,9 @@ CFLAGS:=3D ${CFLAGS:N-mretpoline} > > > > > CXXFLAGS:=3D ${CXXFLAGS:N-mretpoline} > > > > >=20 > > > > > OPTIONS_DEFINE=3D GRAPHITE > > > > > -OPTIONS_DEFAULT_aarch64=3DLTO_BOOTSTRAP > > > > > -OPTIONS_DEFAULT_amd64=3D LTO_BOOTSTRAP > > > > > -OPTIONS_DEFAULT_i386=3D LTO_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_aarch64=3DSTANDARD_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_amd64=3D STANDARD_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_i386=3D STANDARD_BOOTSTRAP > > > > > OPTIONS_DEFAULT_powerpc=3DLTO_BOOTSTRAP > > > > > OPTIONS_DEFAULT_powerpc64=3D LTO_BOOTSTRAP > > > > > OPTIONS_DEFAULT_powerpc64le=3D LTO_BOOTSTRAP > > > > > diff --git a/lang/gcc13/Makefile b/lang/gcc13/Makefile > > > > > index bdefea649447..4edd71bb7c29 100644 > > > > > --- a/lang/gcc13/Makefile > > > > > +++ b/lang/gcc13/Makefile > > > > > @@ -1,6 +1,6 @@ > > > > > PORTNAME=3D gcc > > > > > PORTVERSION=3D 13.2.0 > > > > > -PORTREVISION=3D 3 > > > > > +PORTREVISION=3D 4 > > > > > CATEGORIES=3D lang > > > > > MASTER_SITES=3D GCC > > > > > PKGNAMESUFFIX=3D ${SUFFIX} > > > > > @@ -38,9 +38,9 @@ CFLAGS:=3D ${CFLAGS:N-mretpoline} > > > > > CXXFLAGS:=3D ${CXXFLAGS:N-mretpoline} > > > > >=20 > > > > > OPTIONS_DEFINE=3D GRAPHITE > > > > > -OPTIONS_DEFAULT_aarch64=3DLTO_BOOTSTRAP > > > > > -OPTIONS_DEFAULT_amd64=3D LTO_BOOTSTRAP > > > > > -OPTIONS_DEFAULT_i386=3D LTO_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_aarch64=3DSTANDARD_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_amd64=3D STANDARD_BOOTSTRAP > > > > > +OPTIONS_DEFAULT_i386=3D STANDARD_BOOTSTRAP > > > > > OPTIONS_DEFAULT_powerpc64=3DLTO_BOOTSTRAP > > > > > OPTIONS_DEFAULT_powerpc64le=3DLTO_BOOTSTRAP > > > > > OPTIONS_RADIO=3D BOOTSTRAP > > > >=20 > > > > This has caused ./configure to fail on 15-CURRENT. Switching back to = > LTO circ > > > > umvents > > > > the regression. > > > >=20 > > > > checking for x86_64-portbld-freebsd15.0-gcc... /wrkdirs/usr/ports/lan= > g/gcc12/ > > > > work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12/work/.build/./= > gcc/ -B/ > > > > usr/local/x86_64-portbld-freebsd15.0/bin/ -B/usr/local/x86_64-portbld= > -freebsd > > > > 15.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd15.0/include -isy= > stem /us > > > > r/local/x86_64-portbld-freebsd15.0/sys-include -fno-checking -m32 > > > > checking whether the C compiler works... no > > > > configure: error: in `/wrkdirs/usr/ports/lang/gcc12/work/.build/x86_6= > 4-portbl d-freebsd15.0/32/libgomp': configure: error: C compiler cannot cre= > ate executables See` config.log' for more details > > > > gmake[3]: *** [Makefile:23238: configure-stage1-target-libgomp] Error= > 1 > > > > gmake[3]: Leaving directory '/wrkdirs/usr/ports/lang/gcc12/work/.buil= > d' > > > > gmake[2]: *** [Makefile:25580: stage1-bubble] Error 2 > > > > gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/gcc12/work/.buil= > d' > > > > gmake[1]: *** [Makefile:25928: bootstrap-lean] Error 2 > > > > gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/gcc12/work/.buil= > d' > > > > =3D=3D=3D> Compilation failed unexpectedly. > > > > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fa= > ilure to > > > > the maintainer. > > > > *** Error code 1 > > > >=20 > > > > Stop. > > > > make: stopped in /usr/ports/lang/gcc12 > > > > =3D>> Cleaning up wrkdir > > > > =3D=3D=3D> Cleaning for gcc12-12.3.0 > > > >=20 > > > > Unfortunately there is no config.log file in wrkdir to inspect. > > >=20 > > > I misdiagnosed the issue. It's -m32. Probably specific to 15-CURRENT. W= > ill > > > test on a 14-REL VM if it behaves the same there. > > >=20 > > > Sorry for the spam. > >=20 > >=20 > > Thanks. > >=20 > > I confirm that, as far as I know, the issue is CURRENT-specific: I have r= > eceived > > pkg-fallout only about CURRENT and many exp-runs confirmed that the patch= > works > > on RELEASEs. > >=20 > > I will work on it as soon as possibile, but unfortunately I have even hig= > her > > priorities (finishing the GCC_DEFAULT update which is taking forever and > > fixing lang/gcc14-devel port). > >=20 > > Cheers, > >=20 > > Lorenzo Salvadore > > Please mind however that > https://cgit.freebsd.org/src/commit/?id=3D49d684369c6682eebca325c55a6c96b7c= > 03f5aeb > probably has already fixed the issue. > > Thanks Brooks, > > Lorenzo Salvadore I think it has. Just waiting for buildworld to complete. The param.h version bump has forced an llvm rebuild. Just need to be patient. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0