Patch for Sun Studio 11

Patches for Sun Studio 11 (121017-02/121018-02) have been released.

As I mentioned early I plan to fix all bugs in the C++ compiler frontend related to Boost 1.32.0. Some of changes in Boost source code have been integrated in the current library source tree already. Next I will switch to the latest Boost version. My primary goal is to fix as many as possible bugs in the compiler so I prefer remove Sun C++ related workarounds from Boost source code, get the error, fix it etc. I will send my changes of Boost source code to the Boost developers community on more regular basis than now.

Boost is a nice library but it is not the only useful C++ library. I'm interested to make a list of C++ libraries and/or applications which are incompatible with Sun C++ compiler now but necessary to Sun C++ community. So any links, suggestions or anything else will be very appreciated.

And as usually fresh Boost tests results.

  Studio 11 Studio 10
Pass 776 766
Warn 159 164
Fail 6 11
Comments:

Hi Simon, really nice progress there. You're not doing anything similar with sgcc ?

Posted by smg on May 11, 2006 at 07:58 AM MSD #

Hi Simon, Thanks for all your hard work, it is very appreciated. Michael

Posted by Michael van der Westhuizen on May 11, 2006 at 09:32 AM MSD #

Wow, this is really impressive. And I'm overly enjoyed today.

Posted by Erwin van Eijk on May 12, 2006 at 10:52 AM MSD #

Here's a list of the 3rd party libraries that I use/am interested in. Qt, Qwt, Blitz - all now OK with the latest patch. Loki (the library descibed in Alexei Alexandrescu's book on template programming) won't compile. And on the subject of templates, some of the examples in Vandevoord/Josuttis book on templates won't compile either.

Posted by Paul Floyd on May 14, 2006 at 12:40 PM MSD #

It is a bit early to make such a list, maybe once patch -03 is out. gmpxx is an example: some of the errors in the testsuite are due to bugs in the code (see my message on gmp-bugs last thursday), but the rest are overloading and partial specialization problems probably caused by sun studio, but maybe already patched in your internal releases. And other libraries fail because of bugs that were already reported (for instance with testcases on forum.sun.com) so it does not look very useful to go investigate again before those are fixed in a publically available version of the compiler. By the way, thanks for keeping us informed in this blog.

Posted by Marc on May 14, 2006 at 02:22 PM MSD #

Hi Simon, thank you for this great site and work.

I try to build boost 1.32.0 on an AMD64 machine. Compiling and linking works perfect. If I start my program I get the following error:

-bash-3.00$ test/BmUtil/Log/test
ld.so.1: test: Schwerer Fehler: Verschiebungsfehler: R_AMD64_32: Datei build/debug/lib/amd64/libboost_thread-sw-mt-d.so:
Symbol (unbekannt): Wert 0xfffffd7fff2f0000 passt nicht
Killed (Abgebrochen)

I have compiled it with "<instruction-set>athlon64" to get an 64-bit version.

-bash-3.00$ ldd
build/debug/lib/amd64/libboost_thread-sw-mt-d.so
librt.so.1 => /lib/64/librt.so.1
libstlport.so.1 => /opt/SUNWspro/lib/stlport4/amd64/libstlport.so.1
libaio.so.1 => /lib/64/libaio.so.1
libmd5.so.1 => /lib/64/libmd5.so.1
libc.so.1 => /lib/64/libc.so.1
libCrun.so.1 => /usr/lib/64/libCrun.so.1
libm.so.2 => /lib/64/libm.so.2

I think in the patch a "-KPIC" is missing at "<instruction-set>athlon64".

Am I right?

If I add this flag to your patch it works (for me).

Best regards,
Markus

Posted by Markus Bernhardt on July 23, 2006 at 10:22 PM MSD #

Post a Comment:
  • HTML Syntax: NOT allowed
About

atanasyan

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today