Modify

Ticket #7105 (closed Bugs: fixed)

Opened 5 years ago

Last modified 11 months ago

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

Attachments

Change History

comment:1 Changed 5 years ago by steven_watanabe

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

comment:2 Changed 5 years ago by steven_watanabe

  • Status changed from new to closed
  • Resolution set to fixed

(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 Changed 4 years ago by apauzies

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

comment:4 Changed 4 years ago by viboes

Could you show the errors you see after 81000?

comment:5 Changed 4 years ago by steven_watanabe

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

comment:6 Changed 3 years ago by Arfrever.FTA@…

Why it is still not merged?

comment:7 Changed 11 months ago by nomorgan@…

Still not merged ?

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

comment:8 follow-up: ↓ 9 Changed 11 months ago by anonymous

Sorry, it was merged.

comment:9 in reply to: ↑ 8 Changed 11 months ago by nomorgan@…

Replying to anonymous:

Sorry, it was merged.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.