|
Bugzilla – Full Text Bug Listing |
| Summary: | hash test failure for gcc-4.4.3 64-bit | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | core | Assignee: | Peter Barnes <pdbarnes> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs, tommaso.pecorella |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
I'm trying to reproduce the bug, however I can point out one interesting fact. default Hash64 produced 79d53e04, expected a750412079d53e04 It was expecting a 64-bit hash and it got a 32-bit long number. I don't know if this can help in the debugging. I tested it with g++ 4.4-7 on a 64-bit virtual machine (LinuxMint 13) and the tests are ok. I'm not totally sure on what's the g++ compiler on Ubuntu 10.04.3, also because it's impossible to download it anymore. Or to install the necessary packages on a fresh machine... workaround pushed in changeset: 896bedb7b79b to disable the tests in question when gcc-4.4.x is in use. Leaving open because Peter may continue to look at it. Peter fixed this in changeset 9b6d0037b360 |
On Ubuntu 10.04.3, 64 bit, test suite hash fails as of changeset 69d9828c473d ./waf -d optimized configure --enable-static --enable-examples --enable-tests --disable-python Here is the diagnostic: FAIL: Test Suite "hash" (0.000) FAIL: Test Suite "DefaultHash: " (0.000) Details: Message: default Hash64 produced 79d53e04, expected a750412079d53e04 Condition: hash (actual) == hashRef (limit) Actual: 2044018180 Limit: 12056207810209594884 File: ../src/core/test/hash-test-suite.cc Line: 98 this may be a 32- to 64-bit cast problem.