svn commit: r504811 - head/net/tcpkali

Jan Beich jbeich at FreeBSD.org
Fri Jun 21 22:20:16 UTC 2019


Jan Beich <jbeich at FreeBSD.org> writes:

> Mark Linimon <linimon at 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.


More information about the svn-ports-all mailing list