Date: Sun, 24 Dec 2017 20:41:07 -0800 From: Mark Millard <markmi@dsl-only.net> To: FreeBSD Ports <freebsd-ports@freebsd.org> Cc: jbeich@FreeBSD.org, gecko@FreeBSD.org Subject: security/nss vs. TARGET_ARCH=powerpc : error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true Message-ID: <A06BC214-5620-427E-8825-636B600FCD9F@dsl-only.net>
next in thread | raw e-mail | index | archive | help
[I experiment with using clang as the system
compiler on/for powerpc (and powerpc64).]
Just an FYI. . .
When I attempted to build updated ( -r457194 ) ports
in poudriere in my clang-based (32-bit) powerpc
environment, security/nss failed with:
pqg.c:345:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (addend < MP_DIGIT_MAX) {
~~~~~~ ^ ~~~~~~~~~~~~
1 error generated.
( security/nss is an indirect build item,
not something I listed to build directly.)
This was under head -r326075 where world was
cross built with system clang. (kernel fails
to link various things when system clang is
used so was built via gcc 4.2.1 .)
I do not know if other 32 bit contexts have
similar issues.
===
Mark Millard
markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A06BC214-5620-427E-8825-636B600FCD9F>
