Boost logo

Boost :

From: Schrader, Glenn (gschrad_at_[hidden])
Date: 2008-04-03 13:05:57


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_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> 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>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk