Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jan 2018 06:06:34 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mark Linimon <linimon@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r457351 - in head: audio/zita-convolver audio/zita-convolver/files biology/phyml games/trigger-rally games/trigger-rally/files
Message-ID:  <incg-evxh-wny@FreeBSD.org>
In-Reply-To: <201712270736.vBR7a6l0062082@repo.freebsd.org> (Mark Linimon's message of "Wed, 27 Dec 2017 07:36:05 %2B0000 (UTC)")
References:  <201712270736.vBR7a6l0062082@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon <linimon@FreeBSD.org> writes:

> Author: linimon
> Date: Wed Dec 27 07:36:05 2017
> New Revision: 457351
> URL: https://svnweb.freebsd.org/changeset/ports/457351
>
> Log:
>   Disable the extra flag "-march=native" on arm to fix builds.
>   
>   Approved by:	portmgr (tier-2 blanket)
>   Obtained from:	lonesome.com -exp run

Why limit the fixes to Tier2 archs? -march=native is not allowed outside
of MANUAL_PACKAGE_BUILD even for i386/amd64 to avoid a random package
cluster machine being the lowest common denominator for CPU support.
-mtune=native on arm *probably* has the same implications as
-march=native on x86.

> -BROKEN_aarch64=		fails to compile: c++: the clang compiler does not support '-march=native'
> -BROKEN_armv6=		fails to compile: c++: the clang compiler does not support '-march=native'
> -BROKEN_armv7=		fails to compile: c++: the clang compiler does not support '-march=native'
> +#BROKEN_aarch64=		fails to compile: c++: the clang compiler does not support '-march=native'
> +#BROKEN_armv6=		fails to compile: c++: the clang compiler does not support '-march=native'
> +#BROKEN_armv7=		fails to compile: c++: the clang compiler does not support '-march=native'

What's the intent here?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?incg-evxh-wny>