svn commit: r568012 - head/net/tightvnc
Gerald Pfeifer
gerald at pfeifer.com
Fri Mar 12 22:07:53 UTC 2021
On Wed, 10 Mar 2021, Piotr Kubaj wrote:
> Author: pkubaj Date: Wed Mar 10 16:03:06 2021 New Revision: 568012 URL:
> https://svnweb.freebsd.org/changeset/ports/568012
>
> Log:
> net/tightvnc: fix build on powerpc64* and probably also on aarch64 and riscv64
>
> Clang can't build this, use GCC:
> In file included from ./cfbmskbits.h:39:
> ../hw/xfree86/common/compiler.h:437:8: error: invalid output constraint '=a' in asm
> "=a" (ret) :
> +.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*} || ${ARCH} == riscv64
> +USE_GCC= any
> +.endif
Do you intentionally focus on USE_GCC=any? On riscv64 this is always
equivalent to USE_GCC=yes, and even on powerpc - do we want to use the
the age old GCC 4.2 in base *and*, more importantly, use different
compilers on 11.x and 13.x?
USE_GCC=yes avoids all of this and provides more consistency and fewer
test escapes.
Gerald
More information about the svn-ports-head
mailing list