My Oracle Support Banner

Oracle Solaris Studio Does Not Correctly Identify Hardware in a Non-Global Zone (Doc ID 1513215.1)

Last updated on MARCH 01, 2019

Applies to:

Oracle Solaris Studio - Version Forte Developer 6 Update 2 to 12.4 [Release 6.0 to 12]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

Oracle Solaris Studio 12.3 and earlier may fail to correctly identify the hardware in a non-global zone or in a branded zone, and fall back "generic" rather than platform specific optimization.


fpversion:

# ./fpversion
A SPARC-based CPU is available.
Kernel says main memory's clock rate is 1012.0 MHz.

Sun-4 floating-point controller version 0 found.
An UltraSPARC chip is available.

Use "-xtarget=generic -xcache=generic" code-generation option.

 

The cc driver:

# touch f.c
# cc -xO3 -native -V -# -c f.c
cc: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
### Note: NLSPATH = /opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### command line files and options (expanded):
### -c -V -xarch=generic -xcache=generic -xchip=generic -xO3 f.c
/opt/SUNWspro/prod/bin/acomp -xldscope=global -i f.c -o /tmp/acompAAA.3322.TbaqFg -r /tmp/acompBAA.3322.UbaqFg -N /tmp/iroptCAA.3322.VbaqFg -xdbggen=no%stabs+dwarf2+usedonly -V -m32 -fparam_ir -O3 -Qy -D__SunOS_5_10 -D__SUNPRO_C=0x590 -D__SVR4 -D__sun -D__SunOS -D__unix -D__sparc -D__BUILTIN_VA_ARG_INCR -D__C99FEATURES__ -Xa -D__PRAGMA_REDEFINE_EXTNAME -Dunix -Dsun -Dsparc -D__RESTRICT -xc99=%all,no%lib -D__FLT_EVAL_METHOD__=0 -I/opt/SUNWspro/prod/include/cc "-g/opt/SUNWspro/prod/bin/cc -xO3 -native -V -c " -fsimple=0 -D__SUN_PREFETCH -destination_ir=iropt
acomp: Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11
"f.c", line 1: warning: empty translation unit
/opt/SUNWspro/prod/bin/iropt -F -o /tmp/iroptDAA.3322.WbaqFg -N/tmp/iroptCAA.3322.VbaqFg -is /tmp/acompAAA.3322.TbaqFg /tmp/acompBAA.3322.UbaqFg -xarch=generic -m32 -xcache=generic -xchip=generic -fsimple=0 -xprefetch=auto,explicit -xprefetch_level=1 -xvector=no -xbuiltin=%none -V -O3 -I -Qy
iropt: Sun Compiler Common 12 SunOS_sparc Patch 124861-21 2011/02/22
/opt/SUNWspro/prod/bin/cg -xcode=abs32 -fsimple=0 -V -xthreadvar=no%dynamic -O3 -Qy -comdat -xmemalign=8i -xprefetch=auto,explicit -xprefetch_level=1 -xvector=no -xarch=generic -xcache=generic -xchip=generic -oo f.o -is /tmp/acompAAA.3322.TbaqFg -ir /tmp/iroptDAA.3322.WbaqFg -xbuiltin=%none
cg: Sun Compiler Common 12 SunOS_sparc Patch 124861-21 2011/02/22
#

 

Changes

Non-global zones and branded zones do not have the same level of access to the hardware as the global zone.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.