nistp224 fails on ppro/linux with gcc-3.x
Laurent Bercot <[email protected]> Tue, 29 Jul 2003 14:43:07 +0200
| Newsgroups | gmane.org.djb.miscellaneous |
|---|---|
| Message-ID | <[email protected]> |
Greetings, The nistp224 library fails on ppro/linux when compiled with gcc-3.x. Platforms tested: Pentium III and Pentium IV, linux-2.4.20 conf-opt was set to "auto" or "ppro" conf-cc was set to "auto" or "gcc -O1 -malign-double" Assembler: GNU assembler 2.11.93.0.2 or GNU assembler 2.14.90.0.5 The results were the same in all cases: - the build works fine if gcc is gcc-2.95.3 ; the tests are passed without any trouble. - if gcc is one of gcc-3.0, gcc-3.2 or gcc-3.3.1, then rts fails: cmp rts rts.exp fails with: "rts rts.exp differ: char 46, line 2" rts starts with: --- nistp224 generates public keys correctly cmp: EOF on - (a series of "cmp: EOF on -" follows) Manually running the first test in rts.tests gives: $ cat ../SECRET.alice ../STANDARD.base | ../nistp224 $ echo $? 100 which means that the nistp224(xe,x,e) call returns 0. So there seems to be something in opt-ppro* that gcc-3.x fails to compile properly. -- Ska