|
|
Flag Day: compiler switch to Sun Studio 11 (aka venus)
Date: Tue, 25 Jul 2006 21:56:10 +0100
From: Pete Dennis <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 (aka venus)
With my 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).
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).
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-07 2006/06/28
For x86:
as: Sun Compiler Common 11 Patch 120759-06 2006/06/07
[plus a usage comment]
Details on the compiler are in my previous flag day message:
http://onnv.sfbay/links/flagdays/pages/2006071901.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
|