Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
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, showing that the Sun compiler was used. They hopefully used the same compiler for everything, since compiled C++ is incompatible between the two. This was on Solaris 10, but the principle should hold. it (Sun nm gives sensible results, therefore it was built with the Sun C++ compiler): nm -C /opt/csw/bdb48/lib/libdb_cxx-4.8.so |grep MultipleRecnoDataBuilder [2375] |185876| 168|FUNC |GLOB |0|11 |bool DbMultipleRecnoDataBuilder::append(unsigned,void*,unsigned) [__1cbADbMultipleRecnoDataBuilderGappend6MIpvI_b_] [2811] |186044| 136|FUNC |GLOB |0|11 |bool DbMultipleRecnoDataBuilder::reserve(unsigned,void*&,unsigned) [__1cbADbMultipleRecnoDataBuilderHreserve6MIrpvI_b_] [1677] |185832|44|FUNC |GLOB |0|11 |DbMultipleRecnoDataBuilder::DbMultipleRecnoDataBuilder(Dbt&) [__1cbADbMultipleRecnoDataBuilder2t6MrnDDbt__v_] [3549] |185832|44|FUNC |GLOB |0|11 |DbMultipleRecnoDataBuilder::DbMultipleRecnoDataBuilder #Nvariant 1(Dbt&) [__1cbADbMultipleRecnoDataBuilder2t5B6MrnDDbt__v_] not it (didn’t succeed in demangling it): gnm --demangle /opt/csw/bdb48/lib/libdb_cxx-4.8.so |grep MultipleRecnoDataBuilder 0002d5e8 T __1cbADbMultipleRecnoDataBuilder2t5B6MrnDDbt__v_ 0002d5e8 T __1cbADbMultipleRecnoDataBuilder2t6MrnDDbt__v_ 0002d614 T __1cbADbMultipleRecnoDataBuilderGappend6MIpvI_b_ 0002d6bc T __1cbADbMultipleRecnoDataBuilderHreserve6MIrpvI_b_ On Nov 28, 2014, at 5:04 PM, Dmitry Kozhinov wrote: > 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. > > Regards, > Dmitry. > P.S. I am not using Hipster version. > >> 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? > > > ___ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss > ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
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. Regards, Dmitry. P.S. I am not using Hipster version. 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? ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
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? For the large part and for C code, I would say that the difference is small in most cases for x86-64. I see a small lead in floating point performance using the Studio compiler, and a small lead with integer performance using GCC. However, either one might come out in the lead for any given test case. When it comes to SPARC code, the Studio compiler is clearly in the lead. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
In regard to: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++...: Hello. I'd like to hear about people who now hardly depends on Sun Studio-compiled C++ libraries AND use OpenIndiana. I'm on 151a9 and have some locally compiled packages (mostly GNOME bits that aren't part of the OS or that are old in the OS version) that were compiled with Studio C++ and linked against the OS versions of a few of those. It is not a problem for me to rebuild, though, so don't let me stop you from proceeding with your plans. I do think it might be nice to provide the existing Studio-compiled C++ libraries in some kind of a "compat" package, but I also understand that there's a limited amount of time available and there are higher priority tasks than keeping those libraries around for backward compatibility. 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? Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Workspace Switcher in oi_151a9
The Workspace Switcher 2.30.2 (to switch between virtual desktops) provided in oi_151a9 differs from the included help documentation. The help documentation says that the number of columns can be adjusted but the preferences documentation only allows adjusting the number of rows. The help documentation also says that each virtual desktop can be named. If I increase the number of rows, the number of virtual desktops does not increase (there are four), but space is allocated for the extra row in the switcher. In Solaris 10, I enjoy the ability to create as many virtual desktops as I like (I am using 9) and the ability to name those desktops so that each desktop can be used to support a named activity. The switcher in OI 151a9 does not provide a way to name each virtual desktop. Does the Workspace Switcher Preferences dialog actually reflect what the Workspace Switcher is capable of doing? Is this simplistic preferences dialog some sort of bug? Is there a way to make the OI desktop more usable by replacing/bypassing this preferences dialog? Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
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 be beneficial/necessary to move on to using gcc instead of Sun Studio... Cheers Stefan -Ursprüngliche Nachricht- Von: Alexander Pyhalov [mailto:a...@rsu.ru] Gesendet: Freitag, 28. November 2014 09:54 An: Discussion list for OpenIndiana Betreff: [OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI 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 packages: database/postgres/library/c++/libpqxx library/c++/glibmm library/c++/libxml++ library/c++/net6 library/c++/obby library/c++/sigcpp library/c++/stdcxx library/desktop/c++/cairomm library/desktop/c++/gtkmm library/desktop/c++/mm-common library/desktop/c++/pangomm I'd like to drop them and replace by g++-compiled (incompatible) versions. Who will be affected? If there are some specific libraries of interest, we can discuss ways to move them to alternative locations (e.g. /usr/CC/). If you need them, do you need just binaries (*.so* files) or actually compile software using these libraries and Sun Studio? For example, we could just preserve the contents of these packages in some public place or deliver some renamed packages, if it's really needed. But I'd like to avoid the later option. I don't speak about system/library/c++/sunpro, this one will be preserved. -- Best regards, Alexander Pyhalov, system administrator of Southern Federal University IT department ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss Acando GmbH, Millerntorplatz 1, 20359 Hamburg, Germany | Geschäftsführer: Guido Ahle | Amtsgericht Hamburg, HRB 76048 | Ust.Ident-Nr.:DE208833022 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] use cases of Sun Studio-compiled C++ libraries on OI
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 packages: database/postgres/library/c++/libpqxx library/c++/glibmm library/c++/libxml++ library/c++/net6 library/c++/obby library/c++/sigcpp library/c++/stdcxx library/desktop/c++/cairomm library/desktop/c++/gtkmm library/desktop/c++/mm-common library/desktop/c++/pangomm I'd like to drop them and replace by g++-compiled (incompatible) versions. Who will be affected? If there are some specific libraries of interest, we can discuss ways to move them to alternative locations (e.g. /usr/CC/). If you need them, do you need just binaries (*.so* files) or actually compile software using these libraries and Sun Studio? For example, we could just preserve the contents of these packages in some public place or deliver some renamed packages, if it's really needed. But I'd like to avoid the later option. I don't speak about system/library/c++/sunpro, this one will be preserved. -- Best regards, Alexander Pyhalov, system administrator of Southern Federal University IT department ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss