Index: head/devel/aarch64-gcc/Makefile =================================================================== --- head/devel/aarch64-gcc/Makefile (revision 439594) +++ head/devel/aarch64-gcc/Makefile (revision 439595) @@ -1,8 +1,10 @@ # $FreeBSD$ PKGNAMEPREFIX= aarch64- PLIST= ${.CURDIR}/pkg-plist +BROKEN_aarch64= configure: error: cannot compute suffix of object files: cannot compile + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile" Index: head/devel/aarch64-none-elf-gcc/Makefile =================================================================== --- head/devel/aarch64-none-elf-gcc/Makefile (revision 439594) +++ head/devel/aarch64-none-elf-gcc/Makefile (revision 439595) @@ -1,19 +1,23 @@ # $FreeBSD$ PKGNAMEPREFIX= aarch64-none-elf- COMMENT= GNU Compiler Collection for bare metal arm cross-development GCC_TARGET= aarch64-none-elf PLIST= ${.CURDIR}/pkg-plist # U-Boot requires libgcc, crossbuild and install it along with the compiler. ALL_TARGET= all-gcc all-target-libgcc INSTALL_TARGET= install-gcc install-target-libgcc +BROKEN_aarch64= fails to package +BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile +BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile" # The following is required for clang to bootstrap gcc. .if ${COMPILER_TYPE} == clang MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512 .endif Index: head/devel/amd64-gcc/Makefile =================================================================== --- head/devel/amd64-gcc/Makefile (revision 439594) +++ head/devel/amd64-gcc/Makefile (revision 439595) @@ -1,13 +1,17 @@ # $FreeBSD$ PKGNAMEPREFIX= amd64- PLIST= ${.CURDIR}/pkg-plist MASTERDIR= ${.CURDIR}/../powerpc64-gcc GCC_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} BU_PREFIX= x86_64-${OPSYS:tl} FREEBSD_EXTENSION= yes +BROKEN_aarch64= error: invalid output constraint '=a' in asm +BROKEN_armv6= fails to package +BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile +BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile BROKEN_powerpc64= Does not build .include "${MASTERDIR}/Makefile" Index: head/devel/arm-none-eabi-gcc/Makefile =================================================================== --- head/devel/arm-none-eabi-gcc/Makefile (revision 439594) +++ head/devel/arm-none-eabi-gcc/Makefile (revision 439595) @@ -1,23 +1,27 @@ # $FreeBSD$ PKGNAMEPREFIX= arm-none-eabi- COMMENT= GNU Compiler Collection for bare metal arm cross-development GCC_TARGET= arm-none-eabi PLIST= ${.CURDIR}/pkg-plist # U-Boot requires libgcc, crossbuild and install it along with the compiler. ALL_TARGET= all-gcc all-target-libgcc INSTALL_TARGET= install-gcc install-target-libgcc # libstdcxx won't build, but we don't need it or multiple float-abi libs. CONFIGURE_ARGS= --disable-libstdcxx \ --disable-multilib +BROKEN_aarch64= fails to package +BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile +BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile" # The following is required for clang to bootstrap gcc. .if ${COMPILER_TYPE} == clang MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512 .endif Index: head/devel/arm-none-eabi-gcc492/Makefile =================================================================== --- head/devel/arm-none-eabi-gcc492/Makefile (revision 439594) +++ head/devel/arm-none-eabi-gcc492/Makefile (revision 439595) @@ -1,71 +1,76 @@ # $FreeBSD$ PORTNAME= gcc PORTVERSION= 4.9.2 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= arm-none-eabi- PKGNAMESUFFIX= 492 MAINTAINER= ian@FreeBSD.org COMMENT= GNU Compiler Collection for bare metal arm cross-development LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc BUILD_DEPENDS= ${BU_PREFIX}-as:devel/${PKGNAMEPREFIX}binutils RUN_DEPENDS= ${BU_PREFIX}-as:devel/${PKGNAMEPREFIX}binutils USES= compiler gmake iconv libtool makeinfo tar:bzip2 PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ OPSYS=${OPSYS:tl} \ GCC_TARGET=${GCC_TARGET} GCC_TARGET= arm-none-eabi BU_PREFIX?= ${GCC_TARGET} GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes # libstdcxx won't build, but we don't need it or multiple float-abi libs. CONFIGURE_ARGS= --target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ --without-headers \ --with-gmp=${LOCALBASE} \ --with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \ --with-system-zlib \ --with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \ --with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld \ --disable-libstdcxx \ --disable-multilib PLIST= ${.CURDIR}/pkg-plist # U-Boot requires libgcc, crossbuild and install it along with the compiler. ALL_TARGET= all-gcc all-target-libgcc INSTALL_TARGET= install-gcc install-target-libgcc .include CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} post-install: @if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \ ${MV} ${STAGEDIR}${PREFIX}/bin/cpp \ ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-cpp ; \ fi .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov @${RM} ${STAGEDIR}${PREFIX}/bin/$f @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1.gz .endfor @${RM} ${STAGEDIR}${PREFIX}/info/* @${RM} ${STAGEDIR}${PREFIX}/man/man7/* # The following is required for clang to bootstrap gcc. .if ${COMPILER_TYPE} == clang MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512 .endif +BROKEN_aarch64= fails to package +BROKEN_armv6= error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'? +BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile +BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile + .include Index: head/devel/mips-gcc/Makefile =================================================================== --- head/devel/mips-gcc/Makefile (revision 439594) +++ head/devel/mips-gcc/Makefile (revision 439595) @@ -1,8 +1,10 @@ # $FreeBSD$ PKGNAMEPREFIX= mips- PLIST= ${.CURDIR}/pkg-plist +BROKEN_aarch64= fails to package + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile" Index: head/devel/mips64-gcc/Makefile =================================================================== --- head/devel/mips64-gcc/Makefile (revision 439594) +++ head/devel/mips64-gcc/Makefile (revision 439595) @@ -1,8 +1,11 @@ # $FreeBSD$ PKGNAMEPREFIX= mips64- PLIST= ${.CURDIR}/pkg-plist +BROKEN_aarch64= fails to package +BROKEN_mips64= fails to package + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile" Index: head/devel/powerpc64-gcc/Makefile =================================================================== --- head/devel/powerpc64-gcc/Makefile (revision 439594) +++ head/devel/powerpc64-gcc/Makefile (revision 439595) @@ -1,89 +1,93 @@ # $FreeBSD$ PORTNAME= gcc PORTVERSION= 6.3.0 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= powerpc64- MAINTAINER= bapt@FreeBSD.org COMMENT= Cross GNU Compiler Collection for ${PKGNAMEPREFIX:C/-//g} LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi CONFIGURE_ENV= gcc_gxx_include_dir="/usr/include/c++/v1" USES= gmake iconv libtool tar:bzip2 makeinfo compiler PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ OPSYS=${OPSYS:tl} \ GCC_TARGET=${GCC_TARGET} \ GCC_VERSION=${PORTVERSION} LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc BUILD_DEPENDS= ${BU_PREFIX}-as:devel/${PKGNAMEPREFIX}binutils RUN_DEPENDS= ${BU_PREFIX}-as:devel/${PKGNAMEPREFIX}binutils .if empty(GCC_TARGET) # We are building for a FreeBSD target GCC_TARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} BU_PREFIX?= ${PKGNAMEPREFIX}${OPSYS:tl} EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions .else BU_PREFIX?= ${GCC_TARGET} .if defined(FREEBSD_EXTENSION) EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions .endif .endif TARGETARCH=${PKGNAMEPREFIX:C/-//g} GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \ --without-headers \ --with-gmp=${LOCALBASE} \ --with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \ --with-system-zlib \ --with-gcc-include-dir=/usr/include/c++/v1/ \ --with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \ --with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld ALL_TARGET?= all-gcc INSTALL_TARGET?= install-gcc .include .include post-patch: @${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \ ${WRKSRC}//gcc/cp/g++spec.c .if ${TARGETARCH} == "amd64" CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} .endif .if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64" . if ${COMPILER_TYPE} == clang MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 . endif .endif post-install: @if [ -f ${STAGEDIR}${PREFIX}/bin/cpp ] ; then \ mv ${STAGEDIR}${PREFIX}/bin/cpp \ ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-cpp ; \ fi .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-tool @${RM} ${STAGEDIR}${PREFIX}/bin/$f @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1 @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1.gz .endfor @${RM} ${STAGEDIR}${PREFIX}/info/* @${RM} ${STAGEDIR}${PREFIX}/man/man7/* +# This port and all its slave ports fail on aarch64 -- but not all +# the same way. Provide this definition for the master. +BROKEN_aarch64?= fails to package + .include Index: head/devel/riscv64-gcc/Makefile =================================================================== --- head/devel/riscv64-gcc/Makefile (revision 439594) +++ head/devel/riscv64-gcc/Makefile (revision 439595) @@ -1,66 +1,68 @@ # $FreeBSD$ PORTNAME= gcc PORTVERSION= 6.1.0 CATEGORIES= devel PKGNAMEPREFIX= riscv64- MAINTAINER= lwhsu@FreeBSD.org COMMENT= Cross GNU Compiler Collection for ${PKGNAMEPREFIX:C/-//g} LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi BUILD_DEPENDS= ${PKGNAMEPREFIX}binutils>0:devel/${PKGNAMEPREFIX}binutils RUN_DEPENDS= ${PKGNAMEPREFIX}binutils>0:devel/${PKGNAMEPREFIX}binutils LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc USE_GITHUB= yes GH_ACCOUNT= freebsd-riscv GH_PROJECT= riscv-gcc GH_TAGNAME= 095b1d6 USES= iconv gmake libtool makeinfo GCC_TARGET= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes CONFIGURE_ARGS= --target=${GCC_TARGET} \ --with-sysroot=/ \ --without-newlib \ --without-headers \ --with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \ --with-system-zlib \ --with-as=${LOCALBASE}/bin/${PKGNAMEPREFIX}freebsd-as \ --with-ld=${LOCALBASE}/bin/${PKGNAMEPREFIX}freebsd-ld \ --disable-werror \ --disable-shared \ --enable-threads \ --enable-tls \ --enable-languages=c,c++ \ --with-gmp=${LOCALBASE} \ --with-mpfr=${LOCALBASE} \ --with-mpc=${LOCALBASE} \ --disable-libatomic \ --disable-libmudflap \ --disable-libssp \ --disable-libquadmath \ --disable-libgomp \ --disable-nls \ --disable-bootstrap \ --disable-multilib ALL_TARGET= inhibit-libc=true all-gcc INSTALL_TARGET= inhibit-libc=true install-gcc PLIST_SUB= GCC_TARGET=${GCC_TARGET} \ GCC_VERSION=${PORTVERSION} post-install: @if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then ${RM} -r ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi @${RM} ${STAGEDIR}${PREFIX}/man/man7/* +BROKEN_aarch64= fails to package + .include Index: head/devel/sparc64-gcc/Makefile =================================================================== --- head/devel/sparc64-gcc/Makefile (revision 439594) +++ head/devel/sparc64-gcc/Makefile (revision 439595) @@ -1,8 +1,10 @@ # $FreeBSD$ PKGNAMEPREFIX= sparc64- PLIST= ${.CURDIR}/pkg-plist +BROKEN_aarch64= fails to package + MASTERDIR= ${.CURDIR}/../powerpc64-gcc .include "${MASTERDIR}/Makefile"