pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

- GCC for bare metal Riscv64 ELF environment with newlib



Module Name:	pkgsrc-wip
Committed By:	berte <behzaterte%pm.me@localhost>
Pushed By:	behzaterte
Date:		Tue Mar 28 14:54:19 2023 +0200
Changeset:	c1941da64833204d4b95ea4517d51aff3293099f

Added Files:
	riscv64-none-elf-binutils/DESCR
	riscv64-none-elf-binutils/Makefile
	riscv64-none-elf-binutils/PLIST
	riscv64-none-elf-binutils/distinfo
	riscv64-none-elf-gcc/DESCR
	riscv64-none-elf-gcc/Makefile
	riscv64-none-elf-gcc/PLIST
	riscv64-none-elf-gcc/TODO
	riscv64-none-elf-gcc/distinfo

Log Message:
- GCC for bare metal Riscv64 ELF environment with newlib

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c1941da64833204d4b95ea4517d51aff3293099f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 riscv64-none-elf-binutils/DESCR    |  1 +
 riscv64-none-elf-binutils/Makefile | 42 +++++++++++++++++
 riscv64-none-elf-binutils/PLIST    | 92 ++++++++++++++++++++++++++++++++++++++
 riscv64-none-elf-binutils/distinfo |  5 +++
 riscv64-none-elf-gcc/DESCR         |  1 +
 riscv64-none-elf-gcc/Makefile      | 88 ++++++++++++++++++++++++++++++++++++
 riscv64-none-elf-gcc/PLIST         |  4 ++
 riscv64-none-elf-gcc/TODO          | 55 +++++++++++++++++++++++
 riscv64-none-elf-gcc/distinfo      |  8 ++++
 9 files changed, 296 insertions(+)

diffs:
diff --git a/riscv64-none-elf-binutils/DESCR b/riscv64-none-elf-binutils/DESCR
new file mode 100644
index 0000000000..5aa526dc0a
--- /dev/null
+++ b/riscv64-none-elf-binutils/DESCR
@@ -0,0 +1 @@
+Cross binutils for bare metal Riscv64 ELF environment.
diff --git a/riscv64-none-elf-binutils/Makefile b/riscv64-none-elf-binutils/Makefile
new file mode 100644
index 0000000000..99fb3452a1
--- /dev/null
+++ b/riscv64-none-elf-binutils/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+DISTNAME=	binutils-2.39
+PKGNAME=	cross-riscv64-none-elf-${DISTNAME}
+PKGREVISION=	1
+CATEGORIES=	cross
+MASTER_SITES=	${MASTER_SITE_GNU:=binutils/}
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	port-riscv64%NetBSD.org@localhost
+HOMEPAGE=	# empty
+COMMENT=	Cross binutils for bare metal Riscv64 ELF
+LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
+
+USE_LIBTOOL=		yes
+USE_TOOLS+=		gmake makeinfo
+GNU_CONFIGURE=		yes
+GNU_CONFIGURE_STRICT=	no # several sub-configures know --enable-nls
+
+RISCV64ELF_PREFIX=	${PREFIX}/cross-riscv64-none-elf
+
+OBJDIR=			../build
+CONFIGURE_DIRS=		${OBJDIR}
+CONFIGURE_SCRIPT=	${WRKSRC}/configure
+GNU_CONFIGURE_PREFIX=	${RISCV64ELF_PREFIX}
+
+CONFIGURE_ARGS+=	--target=riscv64-none-elf
+CONFIGURE_ARGS+=	--with-arch=rv64imafdc
+CONFIGURE_ARGS+=	--with-abi=lp64d
+CONFIGURE_ARGS+=	--disable-gdb
+CONFIGURE_ARGS+=	--with-guile=no
+CONFIGURE_ARGS+=	--disable-sim
+CONFIGURE_ARGS+=	--enable-tls
+CONFIGURE_ARGS+=	--disable-intl
+CONFIGURE_ARGS+=	--disable-werror
+CONFIGURE_ARGS+=	--disable-nls
+INFO_FILES=		yes
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/riscv64-none-elf-binutils/PLIST b/riscv64-none-elf-binutils/PLIST
new file mode 100644
index 0000000000..8a19ef0c09
--- /dev/null
+++ b/riscv64-none-elf-binutils/PLIST
@@ -0,0 +1,92 @@
+@comment $NetBSD$
+cross-riscv64-none-elf/bin/riscv64-none-elf-addr2line
+cross-riscv64-none-elf/bin/riscv64-none-elf-ar
+cross-riscv64-none-elf/bin/riscv64-none-elf-as
+cross-riscv64-none-elf/bin/riscv64-none-elf-c++filt
+cross-riscv64-none-elf/bin/riscv64-none-elf-elfedit
+cross-riscv64-none-elf/bin/riscv64-none-elf-gprof
+cross-riscv64-none-elf/bin/riscv64-none-elf-ld
+cross-riscv64-none-elf/bin/riscv64-none-elf-ld.bfd
+cross-riscv64-none-elf/bin/riscv64-none-elf-nm
+cross-riscv64-none-elf/bin/riscv64-none-elf-objcopy
+cross-riscv64-none-elf/bin/riscv64-none-elf-objdump
+cross-riscv64-none-elf/bin/riscv64-none-elf-ranlib
+cross-riscv64-none-elf/bin/riscv64-none-elf-readelf
+cross-riscv64-none-elf/bin/riscv64-none-elf-size
+cross-riscv64-none-elf/bin/riscv64-none-elf-strings
+cross-riscv64-none-elf/bin/riscv64-none-elf-strip
+cross-riscv64-none-elf/info/as.info
+cross-riscv64-none-elf/info/bfd.info
+cross-riscv64-none-elf/info/binutils.info
+cross-riscv64-none-elf/info/ctf-spec.info
+cross-riscv64-none-elf/info/gprof.info
+cross-riscv64-none-elf/info/ld.info
+cross-riscv64-none-elf/lib/bfd-plugins/libdep.so
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-addr2line.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-ar.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-as.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-c++filt.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-dlltool.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-elfedit.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-gprof.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-ld.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-nm.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-objcopy.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-objdump.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-ranlib.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-readelf.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-size.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-strings.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-strip.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-windmc.1
+cross-riscv64-none-elf/man/man1/riscv64-none-elf-windres.1
+cross-riscv64-none-elf/riscv64-none-elf/bin/ar
+cross-riscv64-none-elf/riscv64-none-elf/bin/as
+cross-riscv64-none-elf/riscv64-none-elf/bin/ld
+cross-riscv64-none-elf/riscv64-none-elf/bin/ld.bfd
+cross-riscv64-none-elf/riscv64-none-elf/bin/nm
+cross-riscv64-none-elf/riscv64-none-elf/bin/objcopy
+cross-riscv64-none-elf/riscv64-none-elf/bin/objdump
+cross-riscv64-none-elf/riscv64-none-elf/bin/ranlib
+cross-riscv64-none-elf/riscv64-none-elf/bin/readelf
+cross-riscv64-none-elf/riscv64-none-elf/bin/strip
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.x
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xbn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xc
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xce
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xr
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xu
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xw
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32briscv.xwe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.x
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xbn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xc
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xce
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xr
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xu
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xw
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf32lriscv.xwe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.x
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xbn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xc
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xce
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xr
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xu
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xw
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64briscv.xwe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.x
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xbn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xc
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xce
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xe
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xn
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xr
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xu
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xw
+cross-riscv64-none-elf/riscv64-none-elf/lib/ldscripts/elf64lriscv.xwe
diff --git a/riscv64-none-elf-binutils/distinfo b/riscv64-none-elf-binutils/distinfo
new file mode 100644
index 0000000000..acd63da4eb
--- /dev/null
+++ b/riscv64-none-elf-binutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (binutils-2.39.tar.bz2) = 79c9e003be8c3793764b1a79ac04ce9de89425360f6e7c9573d10fe92c6149b1
+SHA512 (binutils-2.39.tar.bz2) = faa592dd48fc715901ad704ac96dbd34b1792c51e77c7a92a387964b0700703c74be07de45cc4751945c8c0674368c73dc17bbc563d1d2cd235b5ebd8c6e7efb
+Size (binutils-2.39.tar.bz2) = 36782148 bytes
diff --git a/riscv64-none-elf-gcc/DESCR b/riscv64-none-elf-gcc/DESCR
new file mode 100644
index 0000000000..9663c7417c
--- /dev/null
+++ b/riscv64-none-elf-gcc/DESCR
@@ -0,0 +1 @@
+GCC for bare metal Riscv64 ELF environment with newlib.
diff --git a/riscv64-none-elf-gcc/Makefile b/riscv64-none-elf-gcc/Makefile
new file mode 100644
index 0000000000..01260ed4e0
--- /dev/null
+++ b/riscv64-none-elf-gcc/Makefile
@@ -0,0 +1,88 @@
+# $NetBSD$
+
+DISTNAME=		gcc-12.2.0
+PKGNAME=		cross-riscv64-none-elf-${DISTNAME}
+PKGREVISION=		5
+CATEGORIES=		cross
+NEWLIBVER=		4.3.0.20230120
+MASTER_SITES=		${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/}
+EXTRACT_SUFX=		.tar.xz
+DISTFILES=		${DEFAULT_DISTFILES} \
+			newlib-${NEWLIBVER}.tar.gz
+SITES.newlib-${NEWLIBVER}.tar.gz=	https://www.sourceware.org/pub/newlib/
+
+MAINTAINER=		port-riscv%NetBSD.org@localhost
+HOMEPAGE=		# none
+COMMENT=		GCC for bare metal Riscv64
+LICENSE=		gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
+
+EXTRACT_USING=		bsdtar
+
+# for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549
+# use makeinfo from pkgsrc/devel/gtexinfo.
+TOOL_DEPENDS+=          gtexinfo>=5.1:../../devel/gtexinfo
+TOOLS_USE_PKGSRC.makeinfo= yes
+
+DEPENDS+=		cross-riscv64-none-elf-binutils-[0-9]*:../../cross/riscv64-none-elf-binutils
+
+USE_LANGUAGES+=		c c++
+
+RISCV64ELF_PREFIX=	${PREFIX}/cross-riscv64-none-elf
+OBJDIR=			../build
+CONFIGURE_DIRS=		${OBJDIR}
+CONFIGURE_SCRIPT=	${WRKSRC}/configure
+
+CONFIG_SHELL=		${TOOLS_PATH.bash}
+WRAPPER_SHELL=		${TOOLS_PATH.bash}
+USE_TOOLS+=		bash gmake gsed makeinfo perl
+
+GNU_CONFIGURE=		yes
+GNU_CONFIGURE_STRICT=	no # has sub-configures
+CHECK_PORTABILITY_SKIP+=	contrib/*
+CHECK_PORTABILITY_SKIP+=	gcc/config/nvptx/gen-opt.sh
+CHECK_PORTABILITY_SKIP+=        gcc/configure
+
+GNU_CONFIGURE_PREFIX=	${RISCV64ELF_PREFIX}
+
+CONFIGURE_ARGS+=	--target=riscv64-none-elf
+CONFIGURE_ARGS+=	--with-arch=rv64imafdc
+CONFIGURE_ARGS+=	--with-abi=lp64d
+CONFIGURE_ARGS+=	--enable-languages=c,c++
+CONFIGURE_ARGS+=	--enable-tls
+CONFIGURE_ARGS+=	--with-newlib
+CONFIGURE_ARGS+=	--without-isl
+CONFIGURE_ARGS+=	--disable-multilib
+CONFIGURE_ARGS+=	--disable-werror
+CONFIGURE_ARGS+=	--disable-shared
+CONFIGURE_ARGS+=	--disable-threads
+CONFIGURE_ARGS+=	--disable-libatomic
+CONFIGURE_ARGS+=	--disable-libmudflap
+CONFIGURE_ARGS+=	--disable-libssp
+CONFIGURE_ARGS+=	--disable-libquadmath
+CONFIGURE_ARGS+=	--disable-libgomp
+CONFIGURE_ARGS+=	--disable-libstdcxx-pch
+CONFIGURE_ARGS+=	--disable-nls
+
+CONFIGURE_ARGS+=	--disable-bootstrap
+
+INFO_FILES=		yes
+
+PLIST_VARS+=		libcpp
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
+PLIST.libcpp=	yes
+.endif
+
+post-extract:
+	${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib
+	${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../math/mpcomplex/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/riscv64-none-elf-gcc/PLIST b/riscv64-none-elf-gcc/PLIST
new file mode 100644
index 0000000000..cf8b8836f1
--- /dev/null
+++ b/riscv64-none-elf-gcc/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/pkg/bin/bmake package"
+@comment TODO: 2. run "/usr/pkg/bin/bmake print-PLIST"
diff --git a/riscv64-none-elf-gcc/TODO b/riscv64-none-elf-gcc/TODO
new file mode 100644
index 0000000000..1ed45e1272
--- /dev/null
+++ b/riscv64-none-elf-gcc/TODO
@@ -0,0 +1,55 @@
+### Root cause ###
+$CC is empty, so it can't understand the command passed to it and breaks the build with an error message.
+
+### Reproduciable ###
+YES
+
+### Reproducible scenario ##
+- Initiate the compilation process by running the make command in the folder. 
+
+### Shell outputs  ###
+
+configuring in riscv64-none-elf/libgcc
+configure: creating cache ./config.cache
+checking build system type... x86_64--netbsd
+checking host system type... riscv64-none-elf
+checking for --enable-version-specific-runtime-libs... no
+checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
+checking for gawk... /usr/bin/awk
+checking for riscv64-none-elf-ar... riscv64-none-elf-ar
+checking for riscv64-none-elf-lipo... riscv64-none-elf-lipo
+checking for riscv64-none-elf-nm... /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/nm
+checking for riscv64-none-elf-ranlib... riscv64-none-elf-ranlib
+checking for riscv64-none-elf-strip... riscv64-none-elf-strip
+checking whether ln -s works... yes
+checking for riscv64-none-elf-gcc... /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/xgcc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/ -nostdinc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/ -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/targ-include -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-12.2.0/newlib/libc/include -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/riscv64 -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/libnosys -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-12.2.0/libgloss/riscv64 -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/bin/ -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/lib/ -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/include -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/sys-include
+checking for suffix of object files... configure: error: in `/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgcc':
+configure: error: cannot compute suffix of object files: cannot compile
+See `config.log' for more details
+gmake[1]: *** [Makefile:13951: configure-target-libgcc] Error 1
+gmake[1]: Leaving directory '/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build'
+gmake: *** [Makefile:1027: all] Error 2
+*** Error code 2
+
+Stop.
+make[1]: stopped in /usr/pkgsrc/cross/riscv64-none-elf-gcc
+*** Error code 1
+
+Stop.
+make: stopped in /usr/pkgsrc/cross/riscv64-none-elf-gcc
+
+
+### Detail error message ###
+
+configure:3550: $? = 1
+configure:3539: /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/xgcc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/ -nostdinc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/ -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/targ-include -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/newlib/libc/include -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/riscv64 -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/libnosys -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/libgloss/riscv64 -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/bin/ -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/lib/ -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/include -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/sys-include    -qversion >&5
+xgcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
+xgcc: fatal error: no input files
+compilation terminated.
+configure:3550: $? = 1
+configure:3566: /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/xgcc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/ -nostdinc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/ -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/targ-include -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/newlib/libc/include -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/riscv64 -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/libnosys -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/libgloss/riscv64 -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/bin/ -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/lib/ -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/include -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/sys-include    -o conftest -g -O2   conftest.c  >&5
+exec: -march=rv64gc: not found
+configure:3569: $? = 1
+configure:3782: checking for suffix of object files
+configure:3804: /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/xgcc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/./gcc/ -nostdinc -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/ -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/newlib/targ-include -isystem /usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/newlib/libc/include -B/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/riscv64 -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/build/riscv64-none-elf/libgloss/libnosys -L/usr/pkgsrc/cross/riscv64-none-elf-gcc/work/gcc-10.4.0/libgloss/riscv64 -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/bin/ -B/usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/lib/ -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/include -isystem /usr/pkg/cross-riscv64-none-elf/riscv64-none-elf/sys-include    -c -g -O2  conftest.c >&5
+exec: -march=rv64gc: not found
diff --git a/riscv64-none-elf-gcc/distinfo b/riscv64-none-elf-gcc/distinfo
new file mode 100644
index 0000000000..5ab00bce3a
--- /dev/null
+++ b/riscv64-none-elf-gcc/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+BLAKE2s (gcc-12.2.0.tar.xz) = aca782fc46f75c32dc223ba8715cb46001658574431235822ce4e68361c58305
+SHA512 (gcc-12.2.0.tar.xz) = e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
+Size (gcc-12.2.0.tar.xz) = 84645292 bytes
+BLAKE2s (newlib-4.3.0.20230120.tar.gz) = 968219962893eac031420e21126ffec27a81fbe1b9c5105cae8fdb1ee8f4020b
+SHA512 (newlib-4.3.0.20230120.tar.gz) = 4a06309d36c2255fef8fc8f2d133cafa850f1ed2eddfb27b5d45f5d16af69e0fca829a0b4c9b34af4ed3a28c6fcc929761e0ee823a4229f35c2853d432b5e7ef
+Size (newlib-4.3.0.20230120.tar.gz) = 8832922 bytes


Home | Main Index | Thread Index | Old Index