First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 155138
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gilles Dartiguelongue <eva@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 155138 depends on: Show dependency tree
Bug 155138 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-14 07:00 0000
Latest version in portage is 0.9.3 which is hard masked. I have bumped this
ebuild localy to test aide-0.12. 

I tested mhash-0.9.7.1 with aide-0.10 (to cover some algorithms on a large
range of input) and it works well.

------- Comment #1 From Robin Johnson 2006-11-15 00:33:33 0000 -------
On x86 (athlon-xp), and amd64 (core 2 duo), the testsuite passes fine.
However, on ppc64-32ul, I get two test failures:
...
testing SHA1 ...
testing HAVAL256   -- TEST FAILED: HAVAL256 "abcdefghijklmnopqrstuvwxyz"
got "4002E86400000002FFE8A8D04000ABB00000000000000000000000000000093C"
but expected "72FAD4BDE1DA8C8332FB60561A780E7F504F21547B98686824FC33FC796AFA76"
FAIL: hash_test.sh
...
Checking fragmentation capabilities of HAVAL256: Failed
...

I've filed a bug upstream in the meantime:
https://sourceforge.net/tracker/index.php?func=detail&aid=1596844&group_id=4286&atid=104286

------- Comment #2 From Robin Johnson 2007-01-04 00:38:17 0000 -------
no response from upstream on that ppc64 breakage.

------- Comment #3 From Gilles Dartiguelongue 2007-01-11 12:46:28 0000 -------
This other bug on ultrasparc looks similar :

http://sourceforge.net/tracker/index.php?func=detail&aid=1525585&group_id=4286&atid=104286

Robbin, did you try compiling with just -O2 in your CFLAGS ?

------- Comment #4 From Robin Johnson 2007-01-11 18:52:56 0000 -------
My normal CFLAGS on ppc64-32ul are:
CFLAGS="-Os -mtune=970 -mcpu=970 -mabi=altivec -maltivec -pipe
-Wstrict-aliasing"
The error (4002E86400000002FFEB15C04000ABB00000000000000000000000000000093C) 
is identical when I use:
CFLAGS="-O3"
CFLAGS="-Os"
CFLAGS="-O2"
CFLAGS="-O1"

If I use
CFLAGS="-O0", I still get an incorrect result, but a different one:
00000004000000004001F04C4002E86400000002FFAAB5C04000ABB000000000

Given that you say sparc has a similar failure, the source of the error MUST be
bit operations that don't take into account endianness of the machine.

------- Comment #5 From Samuli Suominen 2007-03-20 17:06:26 0000 -------
mhash-0.9.8.1 is released, needs to be tested.

------- Comment #6 From Robin Johnson 2007-03-28 03:38:37 0000 -------
in cvs now.
passes on my all my hardware.

First Last Prev Next    No search results available      Search page      Enter new bug