|
|
Flag day: compiler switch to Sun Studio 11
Date: Thu, 24 Aug 2006 16:24:07 +0100
From: Peter Dennis - Solaris Sustaining Engineering <peter.dennis at sun dot com>
To: on-all at sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Flag day: compiler switch to Sun Studio 11
With the second attempt at the putback for
6311077 Enabling ON compilation with Sun Studio 11 (Venus)
the compilers used by ON have changed to Sun Studio 11 + patches
(aka venus).
The previous heads up about ctf errors still applies - see
http://onnv.sfbay/links/flagdays/pages/2006072601.html for
details. The best course of action if you do receive ctf
errors is to perform a make clobber and then rebuild.
If you are a build machine maintainer the build tools (SUNWonbld)
will need to be updated in order to pick up the new compiler
wrapper (cw version 1.20).
The best way to do this is:
# pkgrm SUNWonbld
# pkgadd -d /net/onnv.sfbay/export/gate/public/packages/`uname -p` SUNWonbld
If you encounter the following error message:
cw: error: mapping failed at or near arg '-W2,-xwrap_int'
the compiler wrapper on the build system has not been updated. Use
the -t option within your nightly env file until the wrapper is
updated on the build system.
If you encounter the following error message:
compiler(iropt) error: invalid flag -xwrap_int
the compiler that is being used is not the correct version. The correct
one is the /ws/onnv-tools/SUNWspro/SS11 or a local copy. To verify
that a local copy is correct run the following:
<your path here>/SUNWspro/SS11/prod/bin/fbe -V
For sparc based systems it will report:
fbe: Sun Compiler Common 11 Patch 120760-09 2006/08/16
For x86:
as: Sun Compiler Common 11 Patch 120759-08 2006/08/08
[plus a usage comment]
Details on the compiler are in my previous flag day message:
http://onnv.sfbay/links/flagdays/pages/2006082101.html
If you find other errors and/or have questions please contact
me and cc gk at onnv dot eng dot sun dot com.
Thanks
pete
|