Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: lang/gcc/16: new port (version 16.1.0)
To:
ports@openbsd.org
Date:
Mon, 18 May 2026 15:40:07 +0200

Download raw body.

Thread
On Mon, 18 May 2026 14:10:38 +0200,
Stuart Henderson <stu@spacehopper.org> wrote:
> 
> > I think we should import it as is but not link to the build, what should
> > make works on actualize PLIST much simpler and distributed.
> 
> Ah yes, that does make sense. In that case, please add a commented-out
> line to ../Makefile so that it's clear that it was done on purpose.
> I'm ok with doing that.
> 
> Maybe add a list of archs that were checked to a comment in 16/Makefile?
> 

I think we can use list of bootstraps as a proof where it was tested?

Also, I think the right step is move *-bootstrap to Makefile.inc like that,
but I don't like it because it looks ugly, and I not sure that reformat file
is good idea.

Index: Makefile.inc
===================================================================
RCS file: /home/cvs/ports/lang/gcc/Makefile.inc,v
diff -u -p -r1.23 Makefile.inc
--- Makefile.inc	12 Dec 2025 18:19:46 -0000	1.23
+++ Makefile.inc	18 May 2026 13:37:42 -0000
@@ -16,6 +16,7 @@ COMMENT-objc=	${COM}: obj C compiler
 COMMENT-ada=	${COM}: Ada compiler
 COMMENT-go=	${COM}: Go compiler
 COMMENT-dlang=	${COM}: D compiler
+COMMENT-bootstrap=	${COM}: binary bootstrap
 
 PKGNAME?=	gcc-${FULL_PKGVERSION}
 PKGNAME-libs?=	gcc-libs-${FULL_PKGVERSION}
@@ -26,6 +27,7 @@ PKGNAME-objc?=	gobjc-${FULL_PKGVERSION}
 PKGNAME-ada?=	gnat-${FULL_PKGVERSION}
 PKGNAME-go?=	gccgo-${FULL_PKGVERSION}
 PKGNAME-dlang?=	gdc-${FULL_PKGVERSION}
+PKGNAME-bootstrap?=	gcc-bootstrap-${FULL_PKGVERSION}
 
 DESCR-main ?=	${PORTSDIR}/lang/gcc/DESCR
 DESCR-libs ?=	${PORTSDIR}/lang/gcc/DESCR-libs
@@ -36,6 +38,7 @@ DESCR-objc ?=	${PORTSDIR}/lang/gcc/DESCR
 DESCR-ada ?=	${PORTSDIR}/lang/gcc/DESCR-ada
 DESCR-go ?=	${PORTSDIR}/lang/gcc/DESCR-go
 DESCR-dlang ?=	${PORTSDIR}/lang/gcc/DESCR-dlang
+DESCR-bootstrap ?=	${PORTSDIR}/lang/gcc/DESCR-bootstrap
 
 HOMEPAGE?=	https://gcc.gnu.org/
 


-- 
wbr, Kirill