Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#7105 closed Bugs (fixed)

not possible to build boost with property "threading=single"

Reported by: Dieter.Stach@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.50.0 Severity: Problem
Keywords: Cc:

Description

got bjam error on build platform linux ( e.g redhat5)

<pre> ./bjam variant=debug link=static threading=single

Building the Boost C++ Libraries.

Performing configuration checks

  • has_icu builds : no

warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam

  • iconv (libc) : yes
  • icu : no
  • icu (lib64) : no
  • gcc visibility : yes
  • long double support : yes

warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. /build/boost_1_50_0/tools/build/v2/build/virtual-target.jam:1079: in virtual-target.register-actual-name from module virtual-target error: Duplicate name of actual target: <pstage/lib>libboost_system.a error: previous virtual target { common%common.copy-libboost_system.a.STATIC_LIB { gcc%gcc.archive-libboost_system.a.STATIC_LIB { gcc%gcc.compile.c++-error_code.o.OBJ { error_code.cpp.CPP } } } } error: created from ./stage-proper error: another virtual target { common%common.copy-libboost_system.a.STATIC_LIB { gcc%gcc.archive-libboost_system.a.STATIC_LIB { gcc%gcc.compile.c++-error_code.o.OBJ { error_code.cpp.CPP } } } } error: created from ./stage-proper error: added properties: <threading>single <warnings>all error: removed properties: <threading>multi <warnings>on /build/boost_1_50_0/tools/build/v2/build/virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@3325 /build/boost_1_50_0/tools/build/v2/build/virtual-target.jam:135: in object(file-target)@3325.actualize from module object(file-target)@3325 /build/boost_1_50_0/tools/build/v2/build-system.jam:749: in load from module build-system /build/boost_1_50_0/tools/build/v2/kernel/modules.jam:283: in import from module modules /build/boost_1_50_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module /build/boost_1_50_0/boost-build.jam:17: in module scope from module </pre>

o Does work up to version Boost 1.49.0

Change History (9)

comment:1 by Steven Watanabe, 10 years ago

I'm guessing that it'll work if you pass --without-thread. I'll see what I can do.

comment:2 by Steven Watanabe, 10 years ago

Resolution: fixed
Status: newclosed

(In [81000]) Make sure that b2 threading=single works by skipping Boost.Thread and all the libraries that depend on it. Fixes #7105.

comment:3 by apauzies, 10 years ago

version 1.53.0: --without-thread works, threading=single doesn't.

comment:4 by viboes, 10 years ago

Could you show the errors you see after 81000?

comment:5 by Steven Watanabe, 10 years ago

[81000] hasn't been merged to the release branch. I'm going to do a full merge of Boost.Build soon.

comment:6 by Arfrever.FTA@…, 8 years ago

Why it is still not merged?

comment:7 by nomorgan@…, 6 years ago

Still not merged ?

Seems to be linked to https://svn.boost.org/trac/boost/ticket/8841

comment:8 by anonymous, 6 years ago

Sorry, it was merged.

in reply to:  8 comment:9 by nomorgan@…, 6 years ago

Replying to anonymous:

Sorry, it was merged.

Note: See TracTickets for help on using tickets.