
The approach that I took was to re-build gcc so that it creates v9 executables by default (use --with-cpu=v9). Current versions of gcc already default to v9 so they work as-is. --ges
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Peter Dimov Sent: Wednesday, April 02, 2008 5:26 PM To: boost-devel Subject: [boost] shared_ptr 1.35.0 problem on SPARC
Joe Gottman reports in:
http://svn.boost.org/trac/boost/ticket/1758
that 1.35.0 fails to build with gcc 3.4 on SPARC Solaris. The problem is that there is no way to autodetect whether the V9 instruction set has been selected in 32 bit mode, because GCC only defines __sparcv8 for compatibility reasons.
Since most (all?) SPARCs where Boost runs are UltraSPARCs, which do support V9, we can fix this by making the V9 instruction set default.
<clip>