* [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
@ 2013-11-21 9:42 Jean-Claude Monnin
2013-12-20 13:55 ` Jean-Claude Monnin
0 siblings, 1 reply; 9+ messages in thread
From: Jean-Claude Monnin @ 2013-11-21 9:42 UTC (permalink / raw)
To: ptxdist
Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
Help text is updated with description from project page with respect to C++11.
Menu options for new libraries are added (atomic, coroutine, log).
Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
---
rules/boost.in | 30 +++++++++++++++++++++++++-----
rules/boost.make | 7 +++++--
2 files changed, 30 insertions(+), 7 deletions(-)
diff --git a/rules/boost.in b/rules/boost.in
index 522182a..9194dd5 100644
--- a/rules/boost.in
+++ b/rules/boost.in
@@ -23,9 +23,9 @@ menuconfig BOOST
The boost team aims to establish "existing practice" and provide
reference implementations so that Boost libraries are suitable for
eventual standardization. Ten Boost libraries are already included in
- the C++ Standards Committee's Library Technical Report ( TR1) as a step
- toward becoming part of a future C++ Standard. More Boost libraries are
- proposed for the upcoming TR2.
+ the C++ Standards Committee's Library Technical Report ( TR1) and in
+ the new C++11 Standard. C++11 also includes several more Boost libraries
+ in addition to those from TR1. More Boost libraries are proposed for TR2.
For details see the project homepage:
@@ -63,6 +63,13 @@ config BOOST_INST_MT_RED
comment "Boost Libraries"
+config BOOST_ATOMIC
+ bool
+ select BOOST_SYSTEM
+ prompt "atomic"
+ help
+ Boost atomic library
+
config BOOST_CHRONO
bool
select BOOST_SYSTEM
@@ -76,6 +83,13 @@ config BOOST_CONTEXT
help
Boost context library
+config BOOST_COROUTINE
+ bool
+ select BOOST_CONTEXT
+ prompt "coroutine"
+ help
+ Boost coroutine library
+
config BOOST_DATE_TIME
bool
prompt "date_time"
@@ -119,7 +133,13 @@ config BOOST_LOCALE
select BOOST_SYSTEM
prompt "locale"
help
- Boost iostream library
+ Boost locale library
+
+config BOOST_LOG
+ bool
+ prompt "log"
+ help
+ Boost log library
config BOOST_MATH
bool
@@ -143,7 +163,7 @@ config BOOST_RANDOM
bool
prompt "random"
help
- Boost iostream library
+ Boost random library
config BOOST_REGEX
bool
diff --git a/rules/boost.make b/rules/boost.make
index b5f43fd..7e97d5c 100644
--- a/rules/boost.make
+++ b/rules/boost.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_BOOST) += boost
#
# Paths and names
#
-BOOST_VERSION := 1_51_0
-BOOST_MD5 := 4b6bd483b692fd138aef84ed2c8eb679
+BOOST_VERSION := 1_55_0
+BOOST_MD5 := d6eef4b4cacb2183f2bf265a5a03a354
BOOST := boost_$(BOOST_VERSION)
BOOST_SUFFIX := tar.bz2
BOOST_URL := $(call ptx/mirror, SF, boost/$(BOOST).$(BOOST_SUFFIX))
@@ -72,8 +72,10 @@ JAM_INSTALL_OPT := \
# this
BOOST_LIBRARIES-y := date_time
+BOOST_LIBRARIES-$(PTXCONF_BOOST_ATOMIC) += atomic
BOOST_LIBRARIES-$(PTXCONF_BOOST_CHRONO) += chrono
BOOST_LIBRARIES-$(PTXCONF_BOOST_CONTEXT) += context
+BOOST_LIBRARIES-$(PTXCONF_BOOST_COROUTINE) += coroutine
BOOST_LIBRARIES-$(PTXCONF_BOOST_DATE_TIME) += date_time
BOOST_LIBRARIES-$(PTXCONF_BOOST_EXCEPTION) += exception
BOOST_LIBRARIES-$(PTXCONF_BOOST_FILESYSTEM) += filesystem
@@ -81,6 +83,7 @@ BOOST_LIBRARIES-$(PTXCONF_BOOST_GRAPH) += graph
BOOST_LIBRARIES-$(PTXCONF_BOOST_GRAPH_PARALLEL) += graph_parallel
BOOST_LIBRARIES-$(PTXCONF_BOOST_IOSTREAMS) += iostreams
BOOST_LIBRARIES-$(PTXCONF_BOOST_LOCALE) += locale
+BOOST_LIBRARIES-$(PTXCONF_BOOST_LOG) += log
BOOST_LIBRARIES-$(PTXCONF_BOOST_MATH) += math
BOOST_LIBRARIES-$(PTXCONF_BOOST_MPI) += mpi
BOOST_LIBRARIES-$(PTXCONF_BOOST_PROGRAM_OPTIONS)+= program_options
--
1.8.3.2
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2013-11-21 9:42 [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0 Jean-Claude Monnin
@ 2013-12-20 13:55 ` Jean-Claude Monnin
2014-02-03 8:13 ` Michael Olbrich
0 siblings, 1 reply; 9+ messages in thread
From: Jean-Claude Monnin @ 2013-12-20 13:55 UTC (permalink / raw)
To: ptxdist
Hi everyone,
On 21 Nov 2013, at 10:42, Jean-Claude Monnin <jc_monnin@emailplus.org> wrote:
> Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
> Help text is updated with description from project page with respect to C++11.
> Menu options for new libraries are added (atomic, coroutine, log).
>
> Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
> ---
> rules/boost.in | 30 +++++++++++++++++++++++++-----
> rules/boost.make | 7 +++++--
> 2 files changed, 30 insertions(+), 7 deletions(-)
I saw that the version bump was not part of PTXdist 2013.12.0. Obviously it's not a problem to keep the patched file local to my project, but I was wondering about the reasons. Are there some issues with my patch or boost version 1.55.0?
Regards,
Jean-Claude
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2013-12-20 13:55 ` Jean-Claude Monnin
@ 2014-02-03 8:13 ` Michael Olbrich
2014-03-07 8:54 ` Alexander Dahl
0 siblings, 1 reply; 9+ messages in thread
From: Michael Olbrich @ 2014-02-03 8:13 UTC (permalink / raw)
To: ptxdist
On Fri, Dec 20, 2013 at 02:55:27PM +0100, Jean-Claude Monnin wrote:
> Hi everyone,
>
> On 21 Nov 2013, at 10:42, Jean-Claude Monnin <jc_monnin@emailplus.org> wrote:
> > Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
> > Help text is updated with description from project page with respect to C++11.
> > Menu options for new libraries are added (atomic, coroutine, log).
> >
> > Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
> > ---
> > rules/boost.in | 30 +++++++++++++++++++++++++-----
> > rules/boost.make | 7 +++++--
> > 2 files changed, 30 insertions(+), 7 deletions(-)
>
> I saw that the version bump was not part of PTXdist 2013.12.0. Obviously it's
> not a problem to keep the patched file local to my project, but I was
> wondering about the reasons. Are there some issues with my patch or boost
> version 1.55.0?
It just got lost. I've applied it now.
Michael
> Regards,
> Jean-Claude
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-02-03 8:13 ` Michael Olbrich
@ 2014-03-07 8:54 ` Alexander Dahl
2014-03-07 9:54 ` Michael Olbrich
2014-03-07 10:13 ` Jean-Claude Monnin
0 siblings, 2 replies; 9+ messages in thread
From: Alexander Dahl @ 2014-03-07 8:54 UTC (permalink / raw)
To: ptxdist
Hei hei,
Am 2014-02-03 09:13, schrieb Michael Olbrich:
> On Fri, Dec 20, 2013 at 02:55:27PM +0100, Jean-Claude Monnin wrote:
>> Hi everyone,
>>
>> On 21 Nov 2013, at 10:42, Jean-Claude Monnin <jc_monnin@emailplus.org> wrote:
>> > Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
>> > Help text is updated with description from project page with respect to C++11.
>> > Menu options for new libraries are added (atomic, coroutine, log).
>> >
>> > Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
>> > ---
>> > rules/boost.in | 30 +++++++++++++++++++++++++-----
>> > rules/boost.make | 7 +++++--
>> > 2 files changed, 30 insertions(+), 7 deletions(-)
>>
>> I saw that the version bump was not part of PTXdist 2013.12.0. Obviously it's
>> not a problem to keep the patched file local to my project, but I was
>> wondering about the reasons. Are there some issues with my patch or boost
>> version 1.55.0?
>
> It just got lost. I've applied it now.
Sorry for digging in old mails. We came across a dependency problem with
the new boost libraries. We have selected chrono, filesystem,
serialization, system, thread and timer. After compiling stuff with
boost 1.55 executing stuff on the target failed because atomic was
missing on the target. To me it seems some boost library depends on
atomic which is not reflected in the boost.in rule. Does anyone know
which one and could fix this?
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-03-07 8:54 ` Alexander Dahl
@ 2014-03-07 9:54 ` Michael Olbrich
2014-03-07 10:12 ` Alexander Dahl
2014-03-07 10:13 ` Jean-Claude Monnin
1 sibling, 1 reply; 9+ messages in thread
From: Michael Olbrich @ 2014-03-07 9:54 UTC (permalink / raw)
To: ptxdist
On Fri, Mar 07, 2014 at 09:54:37AM +0100, Alexander Dahl wrote:
> Am 2014-02-03 09:13, schrieb Michael Olbrich:
> > On Fri, Dec 20, 2013 at 02:55:27PM +0100, Jean-Claude Monnin wrote:
> >> On 21 Nov 2013, at 10:42, Jean-Claude Monnin <jc_monnin@emailplus.org> wrote:
> >> > Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
> >> > Help text is updated with description from project page with respect to C++11.
> >> > Menu options for new libraries are added (atomic, coroutine, log).
> >> >
> >> > Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
> >> > ---
> >> > rules/boost.in | 30 +++++++++++++++++++++++++-----
> >> > rules/boost.make | 7 +++++--
> >> > 2 files changed, 30 insertions(+), 7 deletions(-)
> >>
> >> I saw that the version bump was not part of PTXdist 2013.12.0. Obviously it's
> >> not a problem to keep the patched file local to my project, but I was
> >> wondering about the reasons. Are there some issues with my patch or boost
> >> version 1.55.0?
> >
> > It just got lost. I've applied it now.
>
> Sorry for digging in old mails. We came across a dependency problem with
> the new boost libraries. We have selected chrono, filesystem,
> serialization, system, thread and timer. After compiling stuff with
> boost 1.55 executing stuff on the target failed because atomic was
> missing on the target. To me it seems some boost library depends on
> atomic which is not reflected in the boost.in rule. Does anyone know
> which one and could fix this?
What exactly is the error you get? None of the libraries seem to be linked
to the atomic boost library. Is that a runtime error?
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-03-07 9:54 ` Michael Olbrich
@ 2014-03-07 10:12 ` Alexander Dahl
2014-03-21 9:06 ` Michael Olbrich
0 siblings, 1 reply; 9+ messages in thread
From: Alexander Dahl @ 2014-03-07 10:12 UTC (permalink / raw)
To: ptxdist
Hei hei,
Am 2014-03-07 10:54, schrieb Michael Olbrich:
> On Fri, Mar 07, 2014 at 09:54:37AM +0100, Alexander Dahl wrote:
>> Sorry for digging in old mails. We came across a dependency problem with
>> the new boost libraries. We have selected chrono, filesystem,
>> serialization, system, thread and timer. After compiling stuff with
>> boost 1.55 executing stuff on the target failed because atomic was
>> missing on the target. To me it seems some boost library depends on
>> atomic which is not reflected in the boost.in rule. Does anyone know
>> which one and could fix this?
>
> What exactly is the error you get? None of the libraries seem to be linked
> to the atomic boost library. Is that a runtime error?
It is:
error while loading shared libraries: libboost_atomic-mt.so.1.55.0:
cannot open shared object file: No such file or directory
According to ldd libboost_thread-mt.so.1.55.0 is the only one on my
target linking against libboost_atomic-mt.so.1.55.0.
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-03-07 10:12 ` Alexander Dahl
@ 2014-03-21 9:06 ` Michael Olbrich
2014-03-21 9:30 ` Alexander Dahl
0 siblings, 1 reply; 9+ messages in thread
From: Michael Olbrich @ 2014-03-21 9:06 UTC (permalink / raw)
To: ptxdist
On Fri, Mar 07, 2014 at 11:12:50AM +0100, Alexander Dahl wrote:
> Am 2014-03-07 10:54, schrieb Michael Olbrich:
> > On Fri, Mar 07, 2014 at 09:54:37AM +0100, Alexander Dahl wrote:
> >> Sorry for digging in old mails. We came across a dependency problem with
> >> the new boost libraries. We have selected chrono, filesystem,
> >> serialization, system, thread and timer. After compiling stuff with
> >> boost 1.55 executing stuff on the target failed because atomic was
> >> missing on the target. To me it seems some boost library depends on
> >> atomic which is not reflected in the boost.in rule. Does anyone know
> >> which one and could fix this?
> >
> > What exactly is the error you get? None of the libraries seem to be linked
> > to the atomic boost library. Is that a runtime error?
>
> It is:
>
> error while loading shared libraries: libboost_atomic-mt.so.1.55.0:
> cannot open shared object file: No such file or directory
>
> According to ldd libboost_thread-mt.so.1.55.0 is the only one on my
> target linking against libboost_atomic-mt.so.1.55.0.
Hmm, I didn't see that here. Maybe this is ARMv5 or something like that?
I'd speculate that libboost_atomic is needed when the CPU has no atomic
instructions.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-03-21 9:06 ` Michael Olbrich
@ 2014-03-21 9:30 ` Alexander Dahl
0 siblings, 0 replies; 9+ messages in thread
From: Alexander Dahl @ 2014-03-21 9:30 UTC (permalink / raw)
To: ptxdist
Hei hei,
Am 2014-03-21 10:06, schrieb Michael Olbrich:
> On Fri, Mar 07, 2014 at 11:12:50AM +0100, Alexander Dahl wrote:
>> Am 2014-03-07 10:54, schrieb Michael Olbrich:
>> > What exactly is the error you get? None of the libraries seem to be linked
>> > to the atomic boost library. Is that a runtime error?
>>
>> It is:
>>
>> error while loading shared libraries: libboost_atomic-mt.so.1.55.0:
>> cannot open shared object file: No such file or directory
>>
>> According to ldd libboost_thread-mt.so.1.55.0 is the only one on my
>> target linking against libboost_atomic-mt.so.1.55.0.
>
> Hmm, I didn't see that here. Maybe this is ARMv5 or something like that?
> I'd speculate that libboost_atomic is needed when the CPU has no atomic
> instructions.
The target is indeed ARMv5, but I didn't dig into Boost code for this.
Greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0
2014-03-07 8:54 ` Alexander Dahl
2014-03-07 9:54 ` Michael Olbrich
@ 2014-03-07 10:13 ` Jean-Claude Monnin
1 sibling, 0 replies; 9+ messages in thread
From: Jean-Claude Monnin @ 2014-03-07 10:13 UTC (permalink / raw)
To: ptxdist
On 07 Mar 2014, at 09:54, Alexander Dahl <post@lespocky.de> wrote:
> Am 2014-02-03 09:13, schrieb Michael Olbrich:
>> On Fri, Dec 20, 2013 at 02:55:27PM +0100, Jean-Claude Monnin wrote:
>>> Hi everyone,
>>>
>>> On 21 Nov 2013, at 10:42, Jean-Claude Monnin <jc_monnin@emailplus.org> wrote:
>>>> Boost realease notes: http://www.boost.org/users/history/version_1_55_0.html
>>>> Help text is updated with description from project page with respect to C++11.
>>>> Menu options for new libraries are added (atomic, coroutine, log).
>>>>
>>>> Signed-off-by: Jean-Claude Monnin <jc_monnin@emailplus.org>
>>>> ---
>>>> rules/boost.in | 30 +++++++++++++++++++++++++-----
>>>> rules/boost.make | 7 +++++--
>>>> 2 files changed, 30 insertions(+), 7 deletions(-)
>>>
>>> I saw that the version bump was not part of PTXdist 2013.12.0. Obviously it's
>>> not a problem to keep the patched file local to my project, but I was
>>> wondering about the reasons. Are there some issues with my patch or boost
>>> version 1.55.0?
>>
>> It just got lost. I've applied it now.
>
> Sorry for digging in old mails. We came across a dependency problem with
> the new boost libraries. We have selected chrono, filesystem,
> serialization, system, thread and timer. After compiling stuff with
> boost 1.55 executing stuff on the target failed because atomic was
> missing on the target. To me it seems some boost library depends on
> atomic which is not reflected in the boost.in rule. Does anyone know
> which one and could fix this?
I could be boost thread. I just saw following in the doc:
http://www.boost.org/doc/libs/1_55_0/doc/html/thread/build.html#thread.build.configuration.move0
It looks like boost thread depends on atomic on posix. Before submitting the patch I tested the compile, but haven't tested the use of boost thread (I don't use this part in my projects). I cannot investigate and test this right now, but it seems that boost thread should probably add a dependency to boost atomic.
Jean-Claude
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-03-21 9:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21 9:42 [ptxdist] [PATCH] boost: version bump 1.51.0 -> 1.55.0 Jean-Claude Monnin
2013-12-20 13:55 ` Jean-Claude Monnin
2014-02-03 8:13 ` Michael Olbrich
2014-03-07 8:54 ` Alexander Dahl
2014-03-07 9:54 ` Michael Olbrich
2014-03-07 10:12 ` Alexander Dahl
2014-03-21 9:06 ` Michael Olbrich
2014-03-21 9:30 ` Alexander Dahl
2014-03-07 10:13 ` Jean-Claude Monnin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox