Boost logo

Boost :

Subject: Re: [boost] Boost build broken on the trunk
From: Daniela Engert (dani_at_[hidden])
Date: 2013-05-10 12:01:42


Hi Andrey!

Am 10.05.2013 14:32, schrieb Andrey Semashev:
> On Friday 10 May 2013 08:14:45 Edward Diener wrote:
>> After getting the latest Boost from the trunk, and after running
>> bootstrap I try '.\b2 install --prefix=c:\programming\bin' and get:
>
> [snip]
>
>> This is on Windows but the same thing occurs on my Linux distros.
>>
[snip]
> I have committed 84222, which should fix the problem, could you try again?

I threw my build script against trunk revision 84225 with both
BOOST_LOG_USE_WINNT6_API and BOOST_LOG_USE_COMPILER_TLS defined. It
failed due to two errors reported by my compilers. After applying the
following patches in libs/log/src

Index: named_scope.cpp
===================================================================
--- named_scope.cpp (revision 84223)
+++ named_scope.cpp (working copy)
@@ -196,8 +196,8 @@

  #if defined(BOOST_LOG_USE_COMPILER_TLS)
  //! Cached pointer to the thread-specific scope stack
-BOOST_LOG_TLS named_scope::implementation::scope_list*
-named_scope::implementation::pScopesCache = NULL;
+BOOST_LOG_TLS named_scope::impl::scope_list*
+named_scope::impl::pScopesCache = NULL;
  #endif // defined(BOOST_LOG_USE_COMPILER_TLS)

Index: thread_id.cpp
===================================================================
--- thread_id.cpp (revision 84223)
+++ thread_id.cpp (working copy)
@@ -125,7 +125,7 @@

  struct id_storage
  {
- aligned_storage< thread::id, alignment_of< thread::id >::value
>::type m_storage;
+ aligned_storage< sizeof(thread::id), alignment_of< thread::id
>::value >::type m_storage;
      bool m_initialized;
  };

all 16 configurations (vc10/vc11 x 32/64 x debug/release x
static/dynamic) were built. I didn't dig too deep into the changes but
they probably resemble what you had in mind.

Ciao,
    Dani


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