> OK, lacking any responces to my first question, and
> in digging a little deeper...why is /usr/sfw/bin/gcc
> being called to compile this code?  
>
> I thought the Sun Studio 11 compilers were used.
> Does this mean I have something configured
>  incorrectly?

Most of the code is compiled twice, both with Sun Studio 11 and with gcc.
It keeps the objects produced by Sun Studio; gcc is used as some
kind of lint, to make sure the code remains buildable with gcc.

By setting the environment variable CW_NO_SHADOW you
can skip the "gcc shadow compilation".

Note that some parts of onnv need gcc (e.g. usr/src/grub).


I'm not sure why you got that segmentation fault.  Somewhere in
the source tree you should find core files - what does 
"pstack core" report on these cores?  If you repeat the 
compilation attempt, does it crash for the same source file?
With the same stack backtrace?

In case it doesn't crash for the same file, with the same backtrace:
it could be a hardware problems, e.g. bad memory...
--
This message posted from opensolaris.org

Reply via email to