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
1
vote
1 answer

Solaris 12.3 C++ compiler out of memory

I have a swig generated C++ code file of 24MB, nearly 5,00,000 lines of code. I am able to compile it when set the compiler Optimization level to xO0,but fails as soon as i add any other C++ compiler flags(like xprofile ...). I am using Solaris…
1
vote
0 answers

Install Solaris Studio failed

ALL, I successfully installed Oracle Solaris on the VirtualBox as a gues, then updated it and installed the vbox guest additions. Now I'm trying to install Solaris Studio there: root@solaris:~# beadm list BE Active Mountpoint Space Policy…
Igor
  • 5,620
  • 11
  • 51
  • 103
1
vote
1 answer

Cannot use xercesc with new c+11 flags in Solaris' newest compiler

Using xerces-c-3.1.1 and SolarisStudio12.5Beta-solaris-x86-bin (on Solaris 10). ./configure CXX=CC CC=cc CXXFLAGS="-std=c++11" gmake gmake check results in 37 core dumps and the error messages terminate called after throwing an instance of…
didiz
  • 1,069
  • 13
  • 26
1
vote
0 answers

Multiple libgcc_s libraries when linking on Solaris with studio 12.5

I'm trying to move to Developer Studio 12.5 and enable the C++11 options. My software links openssl using the Oracle provided library in /usr/sfw. This appears to depend on an older libgcc_s.so than the one now used for the C++ 11 STL. So I get the…
okapi
  • 1,340
  • 9
  • 17
1
vote
1 answer

What causes SunCC crash in g3mangler.cc when using `-std=XXX`?

I'm trying to determine what is causing SunCC 5.11 - 5.13 to die with ../lnk/g3mangler.cc, line 825 (message from SunCC 5.13). Here's what it looks like during a compile. The machine is a 4th gen Core i5, so its got the features which correspond to…
jww
  • 97,681
  • 90
  • 411
  • 885
1
vote
0 answers

java solaris studio performance analyzer - HW counters are temporarily unavailable

I'm using java solaris studio performance analyzer mainly to get use of the hardware counters. But every time I try and use them I get this error: HW counters are temporarily unavailable; they may be in use for system profiling This is an example…
Dan
  • 9,681
  • 14
  • 55
  • 70
1
vote
1 answer

How to suppress Solaris lint warning in C in the code

I need to be able to suppress lint warnings on specific lines of C code, and I would like to do this with in-line directives. This is for a very large body of legacy code that I am porting to 64 bit, and I'd much rather put the directives in the…
John Moore
  • 332
  • 2
  • 14
1
vote
2 answers

Invalid addition of constness? Error: Cannot use char** to initialize const char**

Solaris Studio is generating the most puzzling of error messages. 158 char* inbufptr = buffer; 159 char* outbufptr = outbuf; 160 161 const char** inbufptrpos = &inbufptr; And the error message is: line 161: Error: Cannot use char** to initialize…
Beginner
  • 5,277
  • 6
  • 34
  • 71
1
vote
1 answer

How to build a compiler-independent C++ library (for Solaris Studio and gcc)?

I would like to extend my library, which currently compiles only using gcc, to be used by Solaris Studio as well. My idea is to do the following: Write wrapper functions in C, which expose the relevant parts of the interface with extern C linkage.…
Beginner
  • 5,277
  • 6
  • 34
  • 71
1
vote
2 answers

where to find CC for solaris 8?

I need to compile openssl on solaris 8 sparc, the compilation is broke due to missing 'cc' compiler. I wasn't able to find any working link for Sun cc, all I found are broken links to Sun Solaris Studio. [update] I found something looks like…
15412s
  • 3,298
  • 5
  • 28
  • 38
0
votes
0 answers

Undefined first referenced symbol in file (ld: fatal: symbol referencing errors)

I have these 3 functions Which I converted it into templatized version to make it more generic. #ifndef __CPPMARSH_H__ #define __CPPMARSH_H__ template void cppListFromWire(void *&src,listT &dest, factorywv); void…
Puneeth
  • 419
  • 1
  • 6
  • 18
0
votes
1 answer

Narrowing conversion of 'int' value to 'short' is not allowed here

Recently I upgraded my SourcePro to 2021 Version and during RCB setup when it prompts me to select C++ dialect, I selected the only option available i.e. C++14. After the setup I started compiling Tuxedo code and currently facing the following…
Puneeth
  • 419
  • 1
  • 6
  • 18
0
votes
1 answer

Local repository for Oracle Solaris 11.3

https://www.oracle.com/solaris/solaris11/downloads/local-repository-downloads.html In the above link, i can see only local repository files for 11.4. Where can i download it for Solaris 11.3? Or 11.4 itself will support for 11.3 also? I need to…
0
votes
0 answers

openjdk: jdk8u build error in Solaris 11 X86

When i try to build openjdk 8u 64-bit from https://hg.openjdk.java.net/jdk8u/jdk8u/ in Solaris 11 X86: Error: configure: Resolving CC (as /opt/developerstudio12.6/bin/cc) failed, using /opt/developerstudio12.6/bin/cc directly. checking resolved…
0
votes
0 answers

Oracle Developer Studio 12.6 Fortran compiler: ieee_arithmetic_semantics: assertion `0' failed

On Linux (Ubuntu 16.04, kernel 4.4.0-186-generic), I used the Fortran compiler sunf95 from Oracle Developer Studio 12.6 to compile the following Fortran code: program testieee use ieee_arithmetic, only : is_nan => ieee_is_nan implicit none …
Nuno
  • 256
  • 1
  • 11