OpenSolaris

You are not signed in. Sign in or register.

Heads-Up: snv_24 x86 assembler can't build ON

Date: Fri, 30 Sep 2005 12:46:22 -0400
From: Bill Sommerfeld <sommerfeld at sun dot com>
To: on-all at sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Heads-Up: snv_24 x86 assembler can't build ON

If you maintain a public or private x86 build machine, or maintain x86
assembly code in the ON gate you should read this note.

New in the snv_24 WOS is an revised x86 assembler which contains the
implementation of the compiler/assembler-x86 RFE:

6290635 x864 compiler fails to mark binaries with instructions used

The assembler is packaged as part of the "SUNWsprot" package, which is
not part of ON; bfu will not update it but a fresh install of snv_24 or
an upgrade to snv_24 will surely pick it up.

Until further notice you should avoid using the snv_24 or newer version
of the assembler; reverting /usr/ccs/bin/as to a copy from an older WOS
seems to be sufficient to avoid this problem.

The new assembler can be identified with "what" as:
        RELEASE VERSION SunOS 5.11 snv_24  09/23/2005

while snv_23 and earlier contained:
        RELEASE VERSION SunOS 5.10.1 snv_14  04/25/2005

Symptoms:

If you use this assembler to build ON, the resulting BFU archives may
spew errors on boot including:

WARNING: Module verification failed for /kernel/crypto/des.
WARNING: des _init: crypto_register_provider() failed (0x50)

and: 

snmpd[100532]: libpkcs11: Cannot load PKCS#11
library /usr/lib/security/pkcs11_softtoken_extra.so.  dlerror: ld.so.1:
snmpd: fatal: /usr/lib/security/pkcs11_softtoken_extra.so: hardware
capability unsupported: 0x1000  [ SSE2 ]. See cryptoadm(1M). Skipping
this plug-in.

Unfortunately, the new capability marking is overly conservative; SSE2
instructions may be present but not used if the SSE2 extension isn't
available.  Bug 6330877 has been filed to track this specific failure;
it is possible that there may be others lurking within ON.  See the bug
for additional details.