Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building boost-1.36 on freebsd-6.1-amd64
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2008-10-21 14:33:10


On Tue, Oct 21, 2008 at 1:53 PM, Alexander Sack <pisymbol_at_[hidden]> wrote:
> I'm having an issue which I'm not sure is that serious. When I
> execute the build (after some patching), I notice a couple of tests
> fail with:
>
> gcc.compile.c++
> bin.v2/libs/test/build/gcc-3.4.4/release/threading-multi/execution_monitor.o
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
> -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1
> -DNDEBUG -I"." -c -o
> "bin.v2/libs/test/build/gcc-3.4.4/release/threading-multi/execution_monitor.o"
> "libs/test/src/execution_monitor.cpp"
>
> In file included from libs/test/src/execution_monitor.cpp:16:
> ./boost/test/impl/execution_monitor.ipp: In member function `void
> boost::detail::system_signal_exception::report() const':
> ./boost/test/impl/execution_monitor.ipp:281: error: `ILL_ILLOPC'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:281: error: (Each undeclared
> identifier is reported only once for each function it appears in.)
> ./boost/test/impl/execution_monitor.ipp:286: error: `ILL_ILLOPN'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:291: error: `ILL_ILLADR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:296: error: `ILL_ILLTRP'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:301: error: `ILL_PRVOPC'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:306: error: `ILL_PRVREG'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:311: error: `ILL_COPROC'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:316: error: `ILL_BADSTK'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:371: error: `SEGV_MAPERR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:376: error: `SEGV_ACCERR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:386: error: `BUS_ADRALN'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:391: error: `BUS_ADRERR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:396: error: `BUS_OBJERR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:406: error: `CLD_EXITED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:411: error: `CLD_KILLED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:416: error: `CLD_DUMPED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:421: error: `CLD_TRAPPED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:426: error: `CLD_STOPPED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:431: error: `CLD_CONTINUED'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:441: error: `SIGPOLL'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:443: error: `POLL_IN'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:448: error: `POLL_OUT'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:453: error: `POLL_MSG'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:458: error: `POLL_ERR'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:463: error: `POLL_PRI'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp:468: error: `POLL_HUP'
> undeclared (first use this function)
> ./boost/test/impl/execution_monitor.ipp: In constructor
> `boost::detail::signal_handler::signal_handler(bool, int, bool,
> char*)':
> ./boost/test/impl/execution_monitor.ipp:626: error: `SIGPOLL'
> undeclared (first use this function)
>
> It seems my signal.h doesn't define all of these. Is this a known
> issue? Is there a workaround? The rest of the library I believe I
> have gotten to build without issue (a couple of targets fail but the
> build says that is expected)
>
> I also get at the end of my build:
>
> ...failed updating 8 targets...
> Not all Boost libraries built properly.
>
> How can I tell what 8 targets this was?
>

On a side note, it seems looking at kernel source, that FreeBSD 6
trap.c does not support these optional codes (SIGPOLL I can make SIGIO
effectively) but the rest are all optional. FreeBSD 7 added I believe
most of them (but does not use all of them).

What is the execution_monitor.ipp and how important is it in the
overall Boost build? Is it possible to get a clean build on FreeBSD
6?

Thanks!

-aps


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk