
lolsson@comhem.se wrote:
Hello!
I'm having problems building boost 1.35 on a solaris machine with gcc 3.4.2. Pretty early on I get:
gcc.compile.c++bin.v2/libs/test/build/gcc-3.4.2/release/threading-multi/debug.o /usr/ccs/bin/as: "/var/tmp//ccLNzYoL.s", line 3775: error: cannot use v8plus instructions in a non-v8plus target binary /usr/ccs/bin/as: "/var/tmp//ccLNzYoL.s", line 3815: error: cannot use v8plus instructions in a non-v8plus target binary .....
This is a known bug: http://svn.boost.org/trac/boost/ticket/1758. You can either build with instruction-set = v9 (which causes changes in your makefile similar to the one's you suggested), or you can #define BOOST_SP_DISABLE_THREADS , which causes you to avoid the .hpp file that is giving you the problem. Joe Gottman