[erlang-questions] Can't build on new Sun T2?

Per Hedeland <>
Fri Oct 5 22:56:05 CEST 2007

Tim Bray <> wrote:
>By the way, I went and tried the build again on a different sparc  
>running an (I think) more recent OpenSolaris, and in the erlang build  
>output I saw a lot of "Solaris 2.11" instead of "Solaris 2.10" (!?!)  

Yeah, "11" is the version number Sun has assigned to at least recent
versions of "OpenSolaris" (shouldn't you know that?:-) -

sun> uname -sripv
SunOS 5.11 snv_55b i386 i86pc

- though I guess since 2.7 or thereabouts, the "2." should be dropped
from the "Solaris version" - i.e. it's "Solaris 11".

>and anyhow, it built and runs fine.  So the problem may just go away  
>in the fullness of time.  -Tim

As Mikael wrote, it's a matter of how your gcc toolchain was built -
OpenSolaris comes with a lot of pre-built GNU and other 3rd-party SW,
and apparently it's done right from the POV of HiPE:

sun> gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds1/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77 --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

- whereas if you built and installed gcc yourself, I assume you could
end up either way, i.e. using the Sun assembler or the GNU one, and this
problem may not go away.


More information about the erlang-questions mailing list