Boost logo

Boost :

Subject: [boost] Boost trunk on Solaris 10 sparc
From: Matchek (maciej_at_[hidden])
Date: 2012-03-01 18:52:44


Hello,

I've made an attempt to build Boost from subversion trunk on Solaris
10 on sparc, with gcc-4.6.2. The build didn't succeed, and I'll be
looking into ways to make it pass. I've recorded the build in log file
which includes all the setup:

http://buildfarm.opencsw.org/~maciej/boost-2012-02-29-09-51.log

Some highlights:

error: No best alternative for libs/context/build/asm_context_sources

var/tmp//ccU7e2QF.s: Assembler messages:
/var/tmp//ccU7e2QF.s:401: Error: Architecture mismatch on "cas".
/var/tmp//ccU7e2QF.s:401: (Requires v9|v9a|v9b; requested architecture is v8.)

/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/include-fixed/sys/feature_tests.h:341:2:
error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
applications and pre-2001 POSIX applications"
In file included from
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../include/c++/4.6.2/bits/postypes.h:42:0,
                 from
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../include/c++/4.6.2/iosfwd:42,
                 from
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../include/c++/4.6.2/ios:39,
                 from
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../include/c++/4.6.2/ostream:40,
                 from
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/../../../../include/c++/4.6.2/iterator:64,
                 from ./boost/next_prior.hpp:15,
                 from ./boost/utility.hpp:17,
                 from ./boost/python/instance_holder.hpp:10,
                 from ./boost/python/object/pointer_holder.hpp:14,
                 from ./boost/python/to_python_indirect.hpp:10,
                 from ./boost/python/converter/arg_to_python.hpp:10,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object/enum_base.hpp:8,
                 from libs/python/src/object/enum.cpp:6:

There were a couple of other errors, they are in the log file.

What the current status of Solaris builds? Is there anyone else
building Boost on Solaris 10? Are any of the problems that are in the
log file know and possible to work around?

Maciej


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