Questions tagged [solaris-studio]

Oracle Solaris Studio, Oracle's advanced C, C++ and Fortran development tool suite, delivers the latest in compiler optimizations, multithread performance, and powerful analysis tools for the best application performance and reliability on Oracle Solaris, Oracle Linux, and Red Hat Enterprise Linux operating systems.

Oracle Solaris Studio, Oracle's advanced C, C++ and Fortran development tool suite, delivers the latest in compiler optimizations, multithread performance, and powerful analysis tools for the best application performance and reliability on Oracle Solaris, Oracle Linux, and Red Hat Enterprise Linux operating systems.

Home: http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html

41 questions
11
votes
1 answer

C++ preprocessor removes whitespace in calls to variadic macros (Solaris Studio 12.3)

The C++ preprocessor of Oracle Solaris Studio 12.3 removes whitespace completely when expanding __VA_ARGS__. Can anybody confirm this behaviour on their system? Is it a known compiler bug? Are there any workarounds for this problem? To illustrate,…
Claudio
  • 3,089
  • 2
  • 18
  • 22
5
votes
1 answer

Is this a mangling bug in Solaris Studio?

The source (at the end of the question) will provoke what I believe is a mangling error on Solaris Studio (and not on other compilers). The error message was reformatted with new lines for clarity: "overload.cpp", line 44:…
paercebal
  • 81,378
  • 38
  • 130
  • 159
3
votes
1 answer

Solaris SunStudio 12.4 Standard Library Linking Issue

I'm trying to compile a sample from boost-asio on Solaris-10 using SunStudio 12.4. Compiling with GCC 4.9.2 works, but down the line I will be required to support both compilers, so just switching is not an option. CC -V output: CC: Sun C++ 5.13…
Maria
  • 565
  • 6
  • 20
3
votes
1 answer

Error when attempting to compile libpqxx-4.0.1 on Solaris 10 using Oracle Solaris Studio 12.3

Problem description I am unable to compile libpqxx-4.0.1 on Solaris 10 using Solaris Studio 12.3. Background The first thing I did when I needed libpqxx was to search for it in OpenCSW using /opt/csw/bin/pkgutil -a libpqxx. However, the package in…
2
votes
1 answer

jdk8u from openjdk for solaris 11 support there or not?

Here are my list of questions i want to know the answers: jdk8u built from openjdk source in Solaris 10 can be used for Solaris 11? Solaris 10: Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Assembled 23 August 2011 Solaris…
2
votes
0 answers

Openjdk8 in solaris 10:ld: fatal: symbol referencing errors

Am trying to build openjdk 8 in Solaris 10. [update 10] /etc/release: Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 23 August…
2
votes
1 answer

What causes SunCC crash in bfd_asm.c?

I'm trying to track down the cause of a SunCC compiler crash. It has been around since the early SunCC 12.x days, and it is present in the latest SunCC 12.6. The crash happens when attempting to multiply polynomials on x86 systems. The code below is…
jww
  • 97,681
  • 90
  • 411
  • 885
2
votes
1 answer

Which xarch for SHA extensions on Solaris?

Oracle released Sun Studio 12.6 recently. We have a SHA-1 and SHA-256 intrinsic based implementation (for ARM and Intel), and we want to enable the extension on Solaris i86 machines. The 12.6 manual and -xarch options is available at A.2.115.3…
jww
  • 97,681
  • 90
  • 411
  • 885
2
votes
2 answers

How to install Oracle Developer Studio 12.6 in Solaris 11.3 (Intel x86)?

I have installed Solaris 11.3 (Intel X86) from the Live DVD in a VM. Upgraded the fresh installation, no updates are pending. Added the Oracle Developer Studio publisher with the certificates as explained here. Made sure the sunpro-incorporation…
András Aszódi
  • 8,948
  • 5
  • 48
  • 51
2
votes
1 answer

object oriented features with Solaris/Oracle Fortran compiler

I have been trying to compile an O-O fortran code with the fortran compiler of the Oracle Solaris Studio 12.4 suite (the latest as far as I know). But the compiler crashes. Here is a simplified version of my problem. I define two simple types with…
Reno
  • 81
  • 3
2
votes
0 answers

sigset not found

Consider the following example: #include extern "C" { static void signalHandler(int signal) {} } int main(int, char**) { sigset (SIGTERM, signalHandler); return 0; } CC test.cpp succeeds. But CC test.cpp…
otisonoza
  • 1,334
  • 2
  • 14
  • 32
2
votes
0 answers

Building mozilla on solaris

Running 'mach build' on SunOS 11.2, configure fails in the obj-i386-pc-solaris2.11/intl/icu/target directory, claiming the C compiler can't make executables, because cc is being invoked with what appears to be a MS compiler flag, '-MD'. Even thought…
N. Hunt
  • 51
  • 7
1
vote
0 answers

I am getting linking error when compiling ICU 67.1 on Oracle Solaris 11.3 SPARC

I am trying to compile ICU 67.1 on solaris 11 and facing error when it tries to make the tools/makeconv folder Below is the error which I am getting: /opt/developerstudio12.6/bin/CC -g -O4 -xlibmil -mt -std=c++11 -o ../../bin/makeconv gencnvex.o…
1
vote
1 answer

openjdk8u build in Solaris 10: failed with error

When am building latest code from http://hg.openjdk.java.net/jdk8u/jdk8u, am getting some errors in solaris 10. Following steps from: https://hg.openjdk.java.net/jdk8u/jdk8u/raw-file/tip/README-builds.html I was successfully able to build jdk8 in…
1
vote
2 answers

Solaris 11: Install solaris developer studio: Error

I am trying to install solaris studio 12.6 in Solaris 11.4 system. I set the publisher key and certificate as shown below: pkg set-publisher -c ./oracle/pkg.oracle.com.certificate.pem -k ./oracle/pkg.oracle.com.key.pem -G "*" -g…
1
2 3