Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-12-07 Thread Alan Coopersmith
On 11/28/14 06:25 PM, Richard L. Hamilton wrote: If it’s C++, the name mangling is different; look up the options for the Sun and GNU versions of nm respectively, use each version of nm with its demangling option, and whichever has sensible output corresponds to the compiler used. Even with

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-12-07 Thread Alex Smith (K4RNT)
Wouldn't this break the binary compatibility guarantee that Solaris had been traditionally marketed on? I'm no kernel engineer, so I wouldn't know. 'With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-12-07 Thread James Carlson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/7/2014 5:26 PM, Alex Smith (K4RNT) wrote: Wouldn't this break the binary compatibility guarantee that Solaris had been traditionally marketed on? I'm no kernel engineer, so I wouldn't know. No. The guarantee has always been that *IF* your

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-12-07 Thread Alan Coopersmith
On 12/ 7/14 02:50 PM, James Carlson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/7/2014 5:26 PM, Alex Smith (K4RNT) wrote: Wouldn't this break the binary compatibility guarantee that Solaris had been traditionally marketed on? I'm no kernel engineer, so I wouldn't know. No.

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-11-29 Thread Ian Collins
Alexander Pyhalov wrote: Hello. I'd like to hear about people who now hardly depends on Sun Studio-compiled C++ libraries AND use OpenIndiana. Do you have software which can't be recompiled with GCC? Do you know commercial software which depend on the libraries? I mean the following OI

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-11-28 Thread Stefan Müller-Wilken
Hi Alexander, while not exactly in your problem class, I have a similar case: compiling httpd modules (e.g. mod_security in my case) using gcc will make httpd crash on startup. You either need Sun Studio or drop the packaged Apache and compile yourself. So this is another case where it would

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-11-28 Thread Bob Friesenhahn
On Fri, 28 Nov 2014, Tim Mooney wrote: On a tangentially related note, does anyone know of any tests that compare the performance of generated code between Studio and gcc/g++? I haven't seen one in years, so I would be interested to know how much gcc has closed the performance gap with Studio?

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-11-28 Thread Dmitry Kozhinov
Hello, I am using OI 151a9 with some server packages installed (some of them from opencsw.org), but I have no idea which libraries they depend on, or which compiler was used to compile the packages or required libraries. Just hope that OI will remain compatible/usable in the future.

Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI

2014-11-28 Thread Richard L. Hamilton
If it’s plain C, it shouldn’t matter. If it’s C++, the name mangling is different; look up the options for the Sun and GNU versions of nm respectively, use each version of nm with its demangling option, and whichever has sensible output corresponds to the compiler used. Here’s an example,