Thursday May 11, 2006 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 |
Posted by smg on May 11, 2006 at 02:58 PM MSD #
Posted by Michael van der Westhuizen on May 11, 2006 at 04:32 PM MSD #
Posted by Erwin van Eijk on May 12, 2006 at 05:52 PM MSD #
Posted by Paul Floyd on May 14, 2006 at 07:40 PM MSD #
Posted by Marc on May 14, 2006 at 09:22 PM MSD #
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 24, 2006 at 05:22 AM MSD #