[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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to