From: Kirill A. Korinsky Subject: Re: lang/gcc/11, lang/gcc/15: add dlang support To: ports@openbsd.org Date: Fri, 27 Feb 2026 16:58:00 +0100 On Fri, 27 Feb 2026 16:34:39 +0100, Stuart Henderson wrote: > > On 2026/02/27 15:56, Kirill A. Korinsky wrote: > > - https://kirill.korins.ky/pub/distfiles/adastrap-aarch64-11.2.0-1.tar.xz > > - https://kirill.korins.ky/pub/distfiles/adastrap-amd64-11.2.0-7.tar.xz > > - https://kirill.korins.ky/pub/distfiles/bootstrap-aarch64-15.2.0-0.tar.xz > > - https://kirill.korins.ky/pub/distfiles/bootstrap-amd64-15.2.0-0.tar.xz > > - https://kirill.korins.ky/pub/distfiles/bootstrap-sparc64-15.2.0-0.tar.xz > > mirrored to my site which is in the set at SITES.strap > > would you mind renaming the new ones to 'gcc-bootstrap-XX' so it's a bit > more clear from the filename in the mirror directory please? (adastrap > wasn't really clear either, but at least it gives a better clue than > just 'bootstrap' :) > > I have links in place for the above ones to gcc-bootstrap-XX so they'll > be fetchable. > > (no point renaming the ones which didn't change, we can do those as they > get regenerated..) > Done, touched only gcc/15 because gcc/11 matches old naming. So, my local changes are: Index: Makefile =================================================================== RCS file: /cvs/ports/lang/gcc/15/Makefile,v diff -u -p -r1.20 Makefile --- Makefile 28 Jan 2026 23:29:44 -0000 1.20 +++ Makefile 27 Feb 2026 15:56:16 -0000 @@ -5,7 +5,7 @@ ONLY_FOR_ARCHS = aarch64 alpha amd64 arm powerpc powerpc64 riscv64 sparc64 ONLY_FOR_ARCHS-ada = amd64 mips64 powerpc # i386 -ONLY_FOR_ARCHS-dlang = # aarch64 amd64 # needs gdc from gcc-9+ +ONLY_FOR_ARCHS-dlang = aarch64 amd64 sparc64 # needs gdc from gcc-9+ DPB_PROPERTIES = parallel @@ -23,16 +23,17 @@ GCC_PKGSPEC = >=15,<16 REVISION = 5 REVISION-ada = 6 REVISION-f95 = 6 +REVISION-dlang = 6 -# aarch64 bootstrap contains only gdc -ADASTRAP-aarch64 = adastrap-aarch64-11.2.0-0.tar.xz -ADASTRAP-amd64 = adastrap-amd64-11.2.0-5.tar.xz -ADASTRAP-arm = adastrap-arm-4.9.4-0.tar.xz -ADASTRAP-hppa = adastrap-hppa-8.3.0-1.tar.xz -ADASTRAP-i386 = adastrap-i386-11.2.0-4.tar.xz -ADASTRAP-mips64 = adastrap-mips64-8.4.0-5.tar.xz -ADASTRAP-powerpc = adastrap-powerpc-11.2.0-4.tar.xz -ADASTRAP-sparc64 = adastrap-sparc64-6.5.0-0.tar.xz +# aarch64 and sparc64 bootstrap contain only gdc +BOOTSTRAP-aarch64 = gcc-bootstrap-aarch64-15.2.0-0.tar.xz +BOOTSTRAP-amd64 = gcc-bootstrap-amd64-15.2.0-0.tar.xz +BOOTSTRAP-arm = adastrap-arm-4.9.4-0.tar.xz +BOOTSTRAP-hppa = adastrap-hppa-8.3.0-1.tar.xz +BOOTSTRAP-i386 = adastrap-i386-11.2.0-4.tar.xz +BOOTSTRAP-mips64 = adastrap-mips64-8.4.0-5.tar.xz +BOOTSTRAP-powerpc = adastrap-powerpc-11.2.0-4.tar.xz +BOOTSTRAP-sparc64 = gcc-bootstrap-sparc64-15.2.0-0.tar.xz PKGNAME-main = gcc-${FULL_PKGVERSION} PKGSPEC-main = gcc-${GCC_PKGSPEC} @@ -72,7 +73,7 @@ MULTI_PACKAGES = -main -libs -f95 -objc DISTNAME = gcc-${FULL_VERSION} DISTFILES = ${DISTNAME}.tar.xz .for _arch in ${ONLY_FOR_ARCHS-ada} ${ONLY_FOR_ARCHS-dlang} -SUPDISTFILES.strap += ${ADASTRAP-${_arch}} +SUPDISTFILES.strap += ${BOOTSTRAP-${_arch}} .endfor EXTRACT_ONLY = ${DISTFILES} @@ -99,8 +100,8 @@ TEST_DEPENDS += devel/dejagnu \ LANGS = c,c++,fortran,objc .if ${BUILD_PACKAGES:M-ada} || ${BUILD_PACKAGES:M-dlang} -DISTFILES.strap += ${ADASTRAP-${MACHINE_ARCH}} -EXTRACT_ONLY += ${ADASTRAP-${MACHINE_ARCH}} +DISTFILES.strap += ${BOOTSTRAP-${MACHINE_ARCH}} +EXTRACT_ONLY += ${BOOTSTRAP-${MACHINE_ARCH}} CC = ${WRKDIR}/bin/egcc CXX = ${WRKDIR}/bin/eg++ GDC = ${WRKDIR}/bin/egdc @@ -334,4 +335,4 @@ bootstrap: ${GCC_PACKAGE} ${GXX_PACKAGE} done cd ${WRKDIR}/prepare && tar cf - bootstrap | \ ${_PBUILD} xz -T0 | \ - ${_PFETCH} tee ${FULLDISTDIR}/bootstrap-${MACHINE_ARCH}-${PKGNAME}.tar.xz > /dev/null + ${_PFETCH} tee ${FULLDISTDIR}/${BOOTSTRAP-${MACHINE_ARCH}} > /dev/null Index: distinfo =================================================================== RCS file: /cvs/ports/lang/gcc/15/distinfo,v diff -u -p -r1.8 distinfo --- distinfo 28 Jan 2026 23:29:44 -0000 1.8 +++ distinfo 27 Feb 2026 15:56:16 -0000 @@ -1,8 +1,12 @@ -SHA256 (gcc/adastrap-amd64-11.2.0-5.tar.xz) = xv2mjPXOBPnrbP98RlbKmbNgE3iP8MHBrShaipe/YNI= SHA256 (gcc/adastrap-mips64-8.4.0-5.tar.xz) = Rfwenft0B3hxydQ3mqkkbFN40maQ73Jl4fgTFn1eNKQ= SHA256 (gcc/adastrap-powerpc-11.2.0-4.tar.xz) = 9KgiD7tqhcrCd8oTds/iVrmo9LXBNEAJQ+DdplytMuU= SHA256 (gcc/gcc-15.2.0.tar.xz) = Q4/ZloJrDIJIWinaA6ctcdbjVBqD7HAt9Ccfb+Al0k4= -SIZE (gcc/adastrap-amd64-11.2.0-5.tar.xz) = 78100312 +SHA256 (gcc/gcc-bootstrap-aarch64-15.2.0-0.tar.xz) = NhAJRkqIUoIKuJhHRjYMEOOvNJPI7wg1IL1EDP9tlWg= +SHA256 (gcc/gcc-bootstrap-amd64-15.2.0-0.tar.xz) = Z6q9NwVk+agjjNjo8A9zAsaRBsOxZnlJFtOrj/aCqqA= +SHA256 (gcc/gcc-bootstrap-sparc64-15.2.0-0.tar.xz) = j2E+24i3GX2F33CexKRGrVQgvAKXRGq1L/x9ltfTQ1w= SIZE (gcc/adastrap-mips64-8.4.0-5.tar.xz) = 49877060 SIZE (gcc/adastrap-powerpc-11.2.0-4.tar.xz) = 70164724 SIZE (gcc/gcc-15.2.0.tar.xz) = 101056276 +SIZE (gcc/gcc-bootstrap-aarch64-15.2.0-0.tar.xz) = 94831884 +SIZE (gcc/gcc-bootstrap-amd64-15.2.0-0.tar.xz) = 135226668 +SIZE (gcc/gcc-bootstrap-sparc64-15.2.0-0.tar.xz) = 78396664 -- wbr, Kirill