Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2016 00:43:06 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Andreas Tobler <andreast@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r416339 - head/lang/gcc5-aux/files
Message-ID:  <98f0eac7-3559-81fd-29cd-bd234cec6b6b@marino.st>
In-Reply-To: <201606032131.u53LV4K3009774@repo.freebsd.org>
References:  <201606032131.u53LV4K3009774@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/3/2016 11:31 PM, Andreas Tobler wrote:
> Author: andreast (src committer)
> Date: Fri Jun  3 21:31:04 2016
> New Revision: 416339
> URL: https://svnweb.freebsd.org/changeset/ports/416339
>
> Log:
>   Skip armv6hf support and move it into armv6.
>
> Added:
>   head/lang/gcc5-aux/files/patch-armv6-hf-support   (contents, props changed)
>
> Added: head/lang/gcc5-aux/files/patch-armv6-hf-support
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/lang/gcc5-aux/files/patch-armv6-hf-support	Fri Jun  3 21:31:04 2016	(r416339)
> @@ -0,0 +1,18 @@
> +--- UTC
> +--- gcc/config.gcc.orig	2016-05-25 22:53:15.930993000 +0200
> ++++ gcc/config.gcc	2016-05-25 22:54:06.087115000 +0200
> +@@ -1026,11 +1026,9 @@
> + 	case $target in
> + 	armv6*-*-freebsd*)
> + 	    tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
> +-	    ;;
> +-	esac
> +-	case $target in
> +-	arm*hf-*-freebsd*)
> +-	    tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
> ++	    if test $fbsd_major -ge 11; then
> ++		tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
> ++	    fi
> + 	    ;;
> + 	esac
> + 	with_tls=${with_tls:-gnu}
>

These aren't going to work.
I don't use regular patches, at all.  They can interfere with the 
generated diff-* aggregate patches.  Any new patch should be pulled into 
there.

But what are these patches really for?  Ada doesn't build on ARM due to 
the lack of a bootstrap compiler and interest.  Should we just set 
ONLY_FOR_ARCH because without Ada, people should probably use the stock 
lang/gcc* ports.

John





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98f0eac7-3559-81fd-29cd-bd234cec6b6b>