Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 00:20:10 +0200
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: r504811 - head/net/tcpkali
Message-ID:  <blyq-mvhh-wny@FreeBSD.org>
In-Reply-To: <d0j6-pr1u-wny@FreeBSD.org> (Jan Beich's message of "Fri, 21 Jun 2019 23:27:41 %2B0200")
References:  <201906212006.x5LK6ITT066843@repo.freebsd.org> <d0j6-pr1u-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> Mark Linimon <linimon@FreeBSD.org> writes:
>
>> -.include <bsd.port.mk>
>> +.include <bsd.port.pre.mk>
>> +
>> +.if ${CHOSEN_COMPILER_TYPE} == gcc
>> +BROKEN=		src/tcpkali_atomic.h unconditionally includes x86 assembler
>> +.endif
>
> lang/gcc8 on powerpc64 does support __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4,
> so maybe try USES=compiler:c11 instead. GCC 4.2 on amd64 does define
> __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 but not __SIZEOF_SIZE_T__. As the

Nevermind, except USES=compiler:c11 may still help. I've made too many
mistakes in my testing and analysis e.g., SIZEOF_SIZE_T is defined
by autoconf, GCC 4.2 amd64 doesn't define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.



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