[portability] nistp224 and hash127 problems on Linux/i686
Laurent Bercot <[email protected]> Thu, 19 Dec 2002 03:42:28 +0100
| Newsgroups | gmane.comp.lib.hash127,gmane.org.djb.miscellaneous |
|---|---|
| Message-ID | <[email protected]> |
Greetings, Problem: current GNU "uname" commands show "i686" instead of "i386" as the processor family. Impact: print-cc.sh and print-opt.sh do not detect the correct systype on these systems when the 'auto' settings are used, and produce compiler settings that make incorrect code. This happens in both the nistp224 and the hash127 packages. Workaround: examine print-cc.sh and print-opt.sh, and set conf-cc and conf-opt specifically. Proposed fix: - document the current behaviour - update print-cc.sh and print-opt.sh to take it into account ; maybe exit with an error if the auto settings are used and no known systype can be found. I have run into trouble compiling nistp224 and hash127 out-of-the-box on an Alpha (21164) running FreeBSD-4.6-STABLE, too; but I don't know that platform well (either hardware or software) and I will investigate before submitting a more complete report. -- Ska