# HG changeset patch # User Alan Coopersmith # Date 1312138473 25200 # Node ID d321497d1679797448629ad2b7417602598c76f8 # Parent d5cee2f2a900ce08ba6c6b1b574c6a037a816d3c 7071400 X gate needs to workaround -xregs=no%appl bug 7030022 in Studio 12.1 compilers diff -r d5cee2f2a900 -r d321497d1679 open-src/common/Makefile.init --- a/open-src/common/Makefile.init Fri Jul 29 19:52:23 2011 -0700 +++ b/open-src/common/Makefile.init Sun Jul 31 11:54:33 2011 -0700 @@ -119,7 +119,10 @@ ARCH64_FLAGS_i386_suncc = -m64 -xarch=sse2 -D__amd64__ # SPARC ABI requires system libraries not use application registers -ARCH_LIB_FLAGS_sparc_suncc = -xregs=no%appl +# The normal/documented flag for this is -xregs=no%appl, but for now, +# we use "-Qoption cg -xregs=no%appl" to workaround bug 7030022 in +# the Studio 12.1 compilers that fails to honor the normal option. +ARCH_LIB_FLAGS_sparc_suncc = -Qoption cg -xregs=no%appl ARCH_LIB_FLAGS_i386_suncc = ## GNU Compilers