nistp224 problem on FreeBSD/Alpha (was: [portability] nistp224 and hash127 problems on Linux/i686)
Laurent Bercot <[email protected]> Thu, 19 Dec 2002 04:36:32 +0100
| Newsgroups | gmane.org.djb.miscellaneous,gmane.comp.lib.hash127 |
|---|---|
| Message-ID | <[email protected]> |
> Problem: current GNU "uname" commands show "i686" instead of "i386"
> as the processor family.
Forget about that, find-systype.sh is supposed to handle it
correctly ; a bug in my development tools got in the way. nistp224 and
hash127 now compile flawlessly by default on my x86 boxes. Sorry.
Nevertheless, I still have a question about the Alpha. The default
optimization setting for that platform seems to be "sparc". Is it
correct ?
For nistp224: with conf-cc and conf-opt left 'auto', the build seems
to produce incorrect code. Here are the sysdeps:
--- cut ---
nistp224 0.75
2.95.4
freebsd-4.6-stable-:alpha-:-:-:-
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec gcc -fomit-frame-pointer -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qu
al -Wcast-align -Wwrite-strings -O1 -mcpu=21164 -c ${1+"$@"}
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
exec gcc -s -static -o "$main" "$main".o ${1+"$@"}
/* sysdep: -gethrtime */
/* sysdep: -rdtsc */
/* sysdep: +rpcc */
/* sysdep: -rdtick */
/* sysdep: -fnmadd */
rts rts.exp differ: char 1881, line 79
--- cut ---
I then tried idea53 and (you never know) idea64, for conf-opt: same
error, same place. What should I do ?
Thanks,
--
Ska