[erlang-questions] R11B-1 on Solaris 10
Peter-Henry Mander
erlang-questions@REDACTED
Wed Oct 25 10:46:05 CEST 2006
Hi Mikael,
This is the output of isalist, optisa and psrinfo:
[510] isalist
amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
[511] optisa isalist
(no output)
[512] psrinfo
0 on-line since 10/04/2006 11:59:37
1 on-line since 10/04/2006 11:59:40
2 on-line since 10/04/2006 11:59:42
3 on-line since 10/04/2006 11:59:44
4 on-line since 10/04/2006 11:59:46
5 on-line since 10/04/2006 11:59:48
6 on-line since 10/04/2006 11:59:50
7 on-line since 10/04/2006 11:59:52
[513] uname -a
SunOS elastigirl 5.10 Generic_118844-26 i86pc i386 i86pc
[514] uname -m
i86pc
It does look as if Sun broke uname.
The error reported is:
configure: error: cannot build smp enabled emulator since hardware platform (x86 wordsize=8) is not supported
Maybe a fix would be to asume that wordsize=8 on x86 indicates AMD x86_94 or Intel EMT-64 CPU if the OS is Solaris?
Pete.
on Wed Oct 25 09:39:52 CEST 2006, Mikael Pettersson wrote:
I see that Solaris' `man uname` describes -p as preferred over -m, but
they fail to mention that uname -p is functionally inferior to -m.
In any case, what does `uname -a`, `isalist`, and `optisa `isalist``
report on Solaris 10 on AMD64?
erts/configure.in uses `uname -m` not `uname -p`, so unless Sun has
broken uname, it should report 64-bit capability.
As a last resort (if Sun indeed broke uname), we can add a test in
erts/configure.in to check for 64-bit capability via the C compiler.
More information about the erlang-questions
mailing list