#51543 closed defect (fixed)
nss @3.23: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true
Reported by: | dgonyier (Dwaine Gonyier) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | powerpc haspatch | Cc: | ballapete (Peter "Pete" Dyballa), ryandesign (Ryan Carsten Schmidt) |
Port: | nss |
Description (last modified by mf2k (Frank Schima))
$ uname -mprsv Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh powerpc
Attachments (1)
Change History (7)
Changed 8 years ago by dgonyier (Dwaine Gonyier)
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | powerpc added |
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
The log says:
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) {
This sounds like a bug on nss code. Could you report it to the developers of nss?
comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ballapete added |
---|---|
Keywords: | haspatch added |
Summary: | Unable to build nss on OSX Leopard / PPC → nss @3.23: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true |
Duplicate #51709 proposes a patch. If this problem remains with the latest version of nss, we need to communicate with the developers to see if that's an appropriate fix.
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This problem may only have been occurring for you because you were using clang on PowerPC, which is known not to work. See #55473. That problem has been fixed; MacPorts will no longer try to use clang on PowerPC.
It also might only have been appearing because you were building with -Werror
. The nss port was changed to no longer use -Werror
.
nss 3.42 builds fine for me on 32-bit Tiger PowerPC. If you are still seeing this problem with that version or later, please reopen this ticket.
comment:6 Changed 6 years ago by dgonyier (Dwaine Gonyier)
I was able to port install nss 3.42 on Leopard PowerPC. Looks like port pulled down a pre-built package. Seems to be OK now.
port log nss