All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0
@ 2015-12-11 13:57 Jörg Krause
  2015-12-11 13:57 ` [Buildroot] [PATCH 2/3] package/boost: fix space tabs Jörg Krause
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Jörg Krause @ 2015-12-11 13:57 UTC (permalink / raw
  To: buildroot

Also:
* remove patch "gcc.jam compiler options fix" - merged upstream
* renumber patch "fix uclibc eventfd".

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 ...eventfd.patch => 0002-fix-uclibc-eventfd.patch} |  0
 .../boost/0002-gcc.jam-compiler-options-fix.patch  | 37 ----------------------
 package/boost/boost.hash                           |  6 ++--
 package/boost/boost.mk                             |  2 +-
 4 files changed, 4 insertions(+), 41 deletions(-)
 rename package/boost/{0004-fix-uclibc-eventfd.patch => 0002-fix-uclibc-eventfd.patch} (100%)
 delete mode 100644 package/boost/0002-gcc.jam-compiler-options-fix.patch

diff --git a/package/boost/0004-fix-uclibc-eventfd.patch b/package/boost/0002-fix-uclibc-eventfd.patch
similarity index 100%
rename from package/boost/0004-fix-uclibc-eventfd.patch
rename to package/boost/0002-fix-uclibc-eventfd.patch
diff --git a/package/boost/0002-gcc.jam-compiler-options-fix.patch b/package/boost/0002-gcc.jam-compiler-options-fix.patch
deleted file mode 100644
index c645250..0000000
--- a/package/boost/0002-gcc.jam-compiler-options-fix.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From a891e48ed0b647b7bf550ad1d179398b23d0726e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
-Date: Sat, 2 May 2015 13:47:54 +0200
-Subject: [PATCH] gcc.jam compiler options fix
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1].
-
-Rather then excluding all architectures not supporting these options as it is
-done in commit c0634341d9ee2c02d3a55c91dafb988afc066c49 [2], include all
-architectures that do support them.
-
-[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
-[2] https://github.com/boostorg/build/commit/c0634341d9ee2c02d3a55c91dafb988afc066c49
-
-Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
----
- src/tools/gcc.jam | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
-index db04534..fbe8ab0 100644
---- a/tools/build/src/tools/gcc.jam
-+++ b/tools/build/src/tools/gcc.jam
-@@ -451,7 +451,7 @@ rule setup-address-model ( targets * : sources * : properties * )
-         else
-         {
-             local arch = [ feature.get-values architecture : $(properties) ] ;
--            if $(arch) != arm
-+            if $(arch) = power || $(arch) = sparc || $(arch) = x86
-             {
-                 if $(model) = 32
-                 {
---
-2.3.7
diff --git a/package/boost/boost.hash b/package/boost/boost.hash
index 706eea2..356242b 100644
--- a/package/boost/boost.hash
+++ b/package/boost/boost.hash
@@ -1,3 +1,3 @@
-# From http://sourceforge.net/projects/boost/files/boost/1.58.0/
-md5	b8839650e61e9c1c0a89f371dd475546	boost_1_58_0.tar.bz2
-sha1	2fc96c1651ac6fe9859b678b165bd78dc211e881	boost_1_58_0.tar.bz2
+# From http://sourceforge.net/projects/boost/files/boost/1.59.0/
+md5	6aa9a5c6a4ca1016edd0ed1178e3cb87	boost_1_59_0.tar.bz2
+sha1	b94de47108b2cdb0f931833a7a9834c2dd3ca46e	boost_1_59_0.tar.bz2
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 6a2e925..2f23fe1 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BOOST_VERSION = 1.58.0
+BOOST_VERSION = 1.59.0
 BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2
 BOOST_SITE = http://downloads.sourceforge.net/project/boost/boost/$(BOOST_VERSION)
 BOOST_INSTALL_STAGING = YES
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 2/3] package/boost: fix space tabs
  2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
@ 2015-12-11 13:57 ` Jörg Krause
  2015-12-11 14:48   ` Vicente Olivert Riera
  2015-12-11 13:57 ` [Buildroot] [PATCH 3/3] package/boost: add library coroutine2 Jörg Krause
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Jörg Krause @ 2015-12-11 13:57 UTC (permalink / raw
  To: buildroot

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/boost/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boost/Config.in b/package/boost/Config.in
index cffaf6e..97d0802 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -75,8 +75,8 @@ config BR2_PACKAGE_BOOST_CONTEXT
 			|| BR2_powerpc || BR2_x86_64)
 
 config BR2_PACKAGE_BOOST_COROUTINE
-        bool "boost-coroutine"
-        depends on BR2_PACKAGE_BOOST_CONTEXT
+	bool "boost-coroutine"
+	depends on BR2_PACKAGE_BOOST_CONTEXT
 
 config BR2_PACKAGE_BOOST_DATE_TIME
 	bool "boost-date_time"
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
  2015-12-11 13:57 ` [Buildroot] [PATCH 2/3] package/boost: fix space tabs Jörg Krause
@ 2015-12-11 13:57 ` Jörg Krause
  2015-12-11 15:08   ` Vicente Olivert Riera
  2015-12-11 14:45 ` [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Vicente Olivert Riera
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Jörg Krause @ 2015-12-11 13:57 UTC (permalink / raw
  To: buildroot

Coroutine2 is a new (C++14) library added in boost 1.59.0. We also add
coroutine2 to the '--without-libraries' configuration flag for the host
variant.

Build successfully tested with Arago ARMv5 2011.09 - a gcc v4.5.3 toolchain.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/boost/Config.in | 4 ++++
 package/boost/boost.mk  | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/package/boost/Config.in b/package/boost/Config.in
index 97d0802..83f6871 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -78,6 +78,10 @@ config BR2_PACKAGE_BOOST_COROUTINE
 	bool "boost-coroutine"
 	depends on BR2_PACKAGE_BOOST_CONTEXT
 
+config BR2_PACKAGE_BOOST_COROUTINE2
+	bool "boost-coroutine2"
+	depends on BR2_PACKAGE_BOOST_CONTEXT
+
 config BR2_PACKAGE_BOOST_DATE_TIME
 	bool "boost-date_time"
 
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 2f23fe1..0161d68 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -16,15 +16,16 @@ HOST_BOOST_DEPENDENCIES =
 # keep host variant as minimal as possible
 HOST_BOOST_FLAGS = --without-icu \
 	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
-	coroutine date_time exception filesystem graph graph_parallel \
-	iostreams locale log math mpi program_options python random regex \
-	serialization signals system test thread timer wave)
+	coroutine coroutine2 date_time exception filesystem graph \
+	graph_parallel iostreams locale log math mpi program_options python \
+	random regex serialization signals system test thread timer wave)
 
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE2),,coroutine2)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem)
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0
  2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
  2015-12-11 13:57 ` [Buildroot] [PATCH 2/3] package/boost: fix space tabs Jörg Krause
  2015-12-11 13:57 ` [Buildroot] [PATCH 3/3] package/boost: add library coroutine2 Jörg Krause
@ 2015-12-11 14:45 ` Vicente Olivert Riera
  2015-12-12 12:54 ` Thomas Petazzoni
  2015-12-13 21:28 ` Thomas Petazzoni
  4 siblings, 0 replies; 14+ messages in thread
From: Vicente Olivert Riera @ 2015-12-11 14:45 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

On 11/12/15 13:57, J?rg Krause wrote:
> Also:
> * remove patch "gcc.jam compiler options fix" - merged upstream
> * renumber patch "fix uclibc eventfd".
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Build test for MIPS architecture:

$ file output/target/usr/lib/libboost_atomic.so.1.59.0
output/target/usr/lib/libboost_atomic.so.1.59.0: ELF 32-bit LSB shared
object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, stripped

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 2/3] package/boost: fix space tabs
  2015-12-11 13:57 ` [Buildroot] [PATCH 2/3] package/boost: fix space tabs Jörg Krause
@ 2015-12-11 14:48   ` Vicente Olivert Riera
  0 siblings, 0 replies; 14+ messages in thread
From: Vicente Olivert Riera @ 2015-12-11 14:48 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

On 11/12/15 13:57, J?rg Krause wrote:
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 13:57 ` [Buildroot] [PATCH 3/3] package/boost: add library coroutine2 Jörg Krause
@ 2015-12-11 15:08   ` Vicente Olivert Riera
  2015-12-11 15:30     ` Thomas Petazzoni
  0 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2015-12-11 15:08 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

I was trying to test your patch and I have noticed that despite of
having coroutine2 selected...

BR2_PACKAGE_BOOST_COROUTINE2=y

...there isn't any libboost_coroutine2.so file installed on target. Is
that normal?

Regards,

Vincent.

On 11/12/15 13:57, J?rg Krause wrote:
> Coroutine2 is a new (C++14) library added in boost 1.59.0. We also add
> coroutine2 to the '--without-libraries' configuration flag for the host
> variant.
> 
> Build successfully tested with Arago ARMv5 2011.09 - a gcc v4.5.3 toolchain.
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
>  package/boost/Config.in | 4 ++++
>  package/boost/boost.mk  | 7 ++++---
>  2 files changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/package/boost/Config.in b/package/boost/Config.in
> index 97d0802..83f6871 100644
> --- a/package/boost/Config.in
> +++ b/package/boost/Config.in
> @@ -78,6 +78,10 @@ config BR2_PACKAGE_BOOST_COROUTINE
>  	bool "boost-coroutine"
>  	depends on BR2_PACKAGE_BOOST_CONTEXT
>  
> +config BR2_PACKAGE_BOOST_COROUTINE2
> +	bool "boost-coroutine2"
> +	depends on BR2_PACKAGE_BOOST_CONTEXT
> +
>  config BR2_PACKAGE_BOOST_DATE_TIME
>  	bool "boost-date_time"
>  
> diff --git a/package/boost/boost.mk b/package/boost/boost.mk
> index 2f23fe1..0161d68 100644
> --- a/package/boost/boost.mk
> +++ b/package/boost/boost.mk
> @@ -16,15 +16,16 @@ HOST_BOOST_DEPENDENCIES =
>  # keep host variant as minimal as possible
>  HOST_BOOST_FLAGS = --without-icu \
>  	--without-libraries=$(subst $(space),$(comma),atomic chrono context \
> -	coroutine date_time exception filesystem graph graph_parallel \
> -	iostreams locale log math mpi program_options python random regex \
> -	serialization signals system test thread timer wave)
> +	coroutine coroutine2 date_time exception filesystem graph \
> +	graph_parallel iostreams locale log math mpi program_options python \
> +	random regex serialization signals system test thread timer wave)
>  
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine)
> +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE2),,coroutine2)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception)
>  BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem)
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 15:08   ` Vicente Olivert Riera
@ 2015-12-11 15:30     ` Thomas Petazzoni
  2015-12-11 15:36       ` Vicente Olivert Riera
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2015-12-11 15:30 UTC (permalink / raw
  To: buildroot

Vicente,

On Fri, 11 Dec 2015 15:08:26 +0000, Vicente Olivert Riera wrote:

> I was trying to test your patch and I have noticed that despite of
> having coroutine2 selected...
> 
> BR2_PACKAGE_BOOST_COROUTINE2=y
> 
> ...there isn't any libboost_coroutine2.so file installed on target. Is
> that normal?

The vast majority of Boost "libraries" are not libraries in the .so
sense, but purely header based libraries, i.e just a bunch of .h with
very complicated C++ code.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 15:30     ` Thomas Petazzoni
@ 2015-12-11 15:36       ` Vicente Olivert Riera
  2015-12-11 15:46         ` Jörg Krause
  0 siblings, 1 reply; 14+ messages in thread
From: Vicente Olivert Riera @ 2015-12-11 15:36 UTC (permalink / raw
  To: buildroot

Hi Thomas,

On 11/12/15 15:30, Thomas Petazzoni wrote:
> Vicente,
> 
> On Fri, 11 Dec 2015 15:08:26 +0000, Vicente Olivert Riera wrote:
> 
>> I was trying to test your patch and I have noticed that despite of
>> having coroutine2 selected...
>>
>> BR2_PACKAGE_BOOST_COROUTINE2=y
>>
>> ...there isn't any libboost_coroutine2.so file installed on target. Is
>> that normal?
> 
> The vast majority of Boost "libraries" are not libraries in the .so
> sense, but purely header based libraries, i.e just a bunch of .h with
> very complicated C++ code.

But there is a libboost_coroutine.so library, that's why I asked. Is it
expected to have a lib for coroutine and not for coroutine2? That's my
doubt.

Regards,

Vincent.

> 
> Thomas
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 15:36       ` Vicente Olivert Riera
@ 2015-12-11 15:46         ` Jörg Krause
  2015-12-11 16:00           ` Jörg Krause
  0 siblings, 1 reply; 14+ messages in thread
From: Jörg Krause @ 2015-12-11 15:46 UTC (permalink / raw
  To: buildroot

Hi Vicente,
Hi Thomas,

On Fr, 2015-12-11 at 15:36 +0000, Vicente Olivert Riera wrote:
> Hi Thomas,
> 
> On 11/12/15 15:30, Thomas Petazzoni wrote:
> > Vicente,
> > 
> > On Fri, 11 Dec 2015 15:08:26 +0000, Vicente Olivert Riera wrote:
> > 
> > > I was trying to test your patch and I have noticed that despite
> > > of
> > > having coroutine2 selected...
> > > 
> > > BR2_PACKAGE_BOOST_COROUTINE2=y
> > > 
> > > ...there isn't any libboost_coroutine2.so file installed on
> > > target. Is
> > > that normal?
> > 
> > The vast majority of Boost "libraries" are not libraries in the .so
> > sense, but purely header based libraries, i.e just a bunch of .h
> > with
> > very complicated C++ code.
> 
> But there is a libboost_coroutine.so library, that's why I asked. Is
> it
> expected to have a lib for coroutine and not for coroutine2? That's
> my
> doubt.

The Jamfile for coroutine contains:

lib boost_coroutine
????: detail/coroutine_context.cpp
??????exceptions.cpp
??????stack_traits_sources
????: <link>shared:<library>../../context/build//boost_context
??????<link>shared:<library>../../system/build//boost_system
??????<link>shared:<library>../../thread/build//boost_thread
????;

While the Jamfile for coroutine2 contains:

lib boost_coroutine2
????: 
????: <link>shared:<library>../../context/build//boost_context
????;

So, coroutine has some sources to link with, while coroutine2 does not.
Also, look at the config.hpp in coroutine2:

    #if (defined(BOOST_ALL_DYN_LINK) ||
    defined(BOOST_COROUTINES2_DYN_LINK) ) && !
    defined(BOOST_COROUTINES2_STATIC_LINK)
    # if defined(BOOST_COROUTINES2_SOURCE)
    #??define BOOST_COROUTINES2_DECL BOOST_SYMBOL_EXPORT
    #??define BOOST_COROUTINES2_BUILD_DLL
    # else
    #??define BOOST_COROUTINES2_DECL BOOST_SYMBOL_IMPORT
    # endif
    #endif

    #if ! defined(BOOST_COROUTINES2_DECL)
    # define BOOST_COROUTINES2_DECL
    #endif

    #if ! defined(BOOST_COROUTINES2_SOURCE) && !
    defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES2_NO_LIB)
    # define BOOST_LIB_NAME boost_coroutine
    # if defined(BOOST_ALL_DYN_LINK) ||
    defined(BOOST_COROUTINES2_DYN_LINK)
    #??define BOOST_DYN_LINK
    # endif
    # include <boost/config/auto_link.hpp>
    #endif

For coroutine a library name is defined, for coroutine2 not.

J?rg

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 15:46         ` Jörg Krause
@ 2015-12-11 16:00           ` Jörg Krause
  2015-12-11 16:18             ` Vicente Olivert Riera
  0 siblings, 1 reply; 14+ messages in thread
From: Jörg Krause @ 2015-12-11 16:00 UTC (permalink / raw
  To: buildroot

On Fr, 2015-12-11 at 16:46 +0100, J?rg Krause wrote:
> Hi Vicente,
> Hi Thomas,
> 
> Also, look at the config.hpp in coroutine2:
> 
> ????#if (defined(BOOST_ALL_DYN_LINK) ||
> ????defined(BOOST_COROUTINES2_DYN_LINK) ) && !
> ????defined(BOOST_COROUTINES2_STATIC_LINK)
> ????# if defined(BOOST_COROUTINES2_SOURCE)
> ????#??define BOOST_COROUTINES2_DECL BOOST_SYMBOL_EXPORT
> ????#??define BOOST_COROUTINES2_BUILD_DLL
> ????# else
> ????#??define BOOST_COROUTINES2_DECL BOOST_SYMBOL_IMPORT
> ????# endif
> ????#endif
> 
> ????#if ! defined(BOOST_COROUTINES2_DECL)
> ????# define BOOST_COROUTINES2_DECL
> ????#endif
> 
> ????#if ! defined(BOOST_COROUTINES2_SOURCE) && !
> ????defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES2_NO_LIB)
> ????# define BOOST_LIB_NAME boost_coroutine
> ????# if defined(BOOST_ALL_DYN_LINK) ||
> ????defined(BOOST_COROUTINES2_DYN_LINK)
> ????#??define BOOST_DYN_LINK
> ????# endif
> ????# include <boost/config/auto_link.hpp>
> ????#endif
> 
> For coroutine a library name is defined, for coroutine2 not.

Sorry, I got this wrong.

What I really meant is that there would be no library name
boost_coroutine2, but one named boost_coroutine, but only in case it is
built. Since coroutine2 is just a bunch of header files as Thomas
explained, no shared library named boost_coroutine is built at all.

J?rg

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 3/3] package/boost: add library coroutine2
  2015-12-11 16:00           ` Jörg Krause
@ 2015-12-11 16:18             ` Vicente Olivert Riera
  0 siblings, 0 replies; 14+ messages in thread
From: Vicente Olivert Riera @ 2015-12-11 16:18 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

On 11/12/15 16:00, J?rg Krause wrote:
> On Fr, 2015-12-11 at 16:46 +0100, J?rg Krause wrote:
>> Hi Vicente,
>> Hi Thomas,
>>
>> Also, look at the config.hpp in coroutine2:
>>
>>     #if (defined(BOOST_ALL_DYN_LINK) ||
>>     defined(BOOST_COROUTINES2_DYN_LINK) ) && !
>>     defined(BOOST_COROUTINES2_STATIC_LINK)
>>     # if defined(BOOST_COROUTINES2_SOURCE)
>>     #  define BOOST_COROUTINES2_DECL BOOST_SYMBOL_EXPORT
>>     #  define BOOST_COROUTINES2_BUILD_DLL
>>     # else
>>     #  define BOOST_COROUTINES2_DECL BOOST_SYMBOL_IMPORT
>>     # endif
>>     #endif
>>
>>     #if ! defined(BOOST_COROUTINES2_DECL)
>>     # define BOOST_COROUTINES2_DECL
>>     #endif
>>
>>     #if ! defined(BOOST_COROUTINES2_SOURCE) && !
>>     defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES2_NO_LIB)
>>     # define BOOST_LIB_NAME boost_coroutine
>>     # if defined(BOOST_ALL_DYN_LINK) ||
>>     defined(BOOST_COROUTINES2_DYN_LINK)
>>     #  define BOOST_DYN_LINK
>>     # endif
>>     # include <boost/config/auto_link.hpp>
>>     #endif
>>
>> For coroutine a library name is defined, for coroutine2 not.
> 
> Sorry, I got this wrong.
> 
> What I really meant is that there would be no library name
> boost_coroutine2, but one named boost_coroutine, but only in case it is
> built. Since coroutine2 is just a bunch of header files as Thomas
> explained, no shared library named boost_coroutine is built at all.
> 
> J?rg
> 

understood, thanks for the clarification. Here you have my...

Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

$ find output/staging/usr/include/boost/coroutine2/ -type f
output/staging/usr/include/boost/coroutine2/detail/pull_coroutine.ipp
output/staging/usr/include/boost/coroutine2/detail/pull_control_block.hpp
output/staging/usr/include/boost/coroutine2/detail/push_control_block.hpp
...

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0
  2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
                   ` (2 preceding siblings ...)
  2015-12-11 14:45 ` [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Vicente Olivert Riera
@ 2015-12-12 12:54 ` Thomas Petazzoni
  2015-12-13 21:28 ` Thomas Petazzoni
  4 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2015-12-12 12:54 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

On Fri, 11 Dec 2015 14:57:57 +0100, J?rg Krause wrote:
> Also:
> * remove patch "gcc.jam compiler options fix" - merged upstream
> * renumber patch "fix uclibc eventfd".
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
>  ...eventfd.patch => 0002-fix-uclibc-eventfd.patch} |  0
>  .../boost/0002-gcc.jam-compiler-options-fix.patch  | 37 ----------------------
>  package/boost/boost.hash                           |  6 ++--
>  package/boost/boost.mk                             |  2 +-
>  4 files changed, 4 insertions(+), 41 deletions(-)
>  rename package/boost/{0004-fix-uclibc-eventfd.patch => 0002-fix-uclibc-eventfd.patch} (100%)
>  delete mode 100644 package/boost/0002-gcc.jam-compiler-options-fix.patch

All three patches merged, thanks! And thanks to Vicente for the
review/testing.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0
  2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
                   ` (3 preceding siblings ...)
  2015-12-12 12:54 ` Thomas Petazzoni
@ 2015-12-13 21:28 ` Thomas Petazzoni
  2015-12-14 12:31   ` Jörg Krause
  4 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2015-12-13 21:28 UTC (permalink / raw
  To: buildroot

Dear J?rg Krause,

On Fri, 11 Dec 2015 14:57:57 +0100, J?rg Krause wrote:
> Also:
> * remove patch "gcc.jam compiler options fix" - merged upstream
> * renumber patch "fix uclibc eventfd".
> 
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>

I am not sure if it is related to the version bump or not, but boost is
causing some build issues:

   http://autobuild.buildroot.org/?reason=boost-1.59.0

Could you have a look ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0
  2015-12-13 21:28 ` Thomas Petazzoni
@ 2015-12-14 12:31   ` Jörg Krause
  0 siblings, 0 replies; 14+ messages in thread
From: Jörg Krause @ 2015-12-14 12:31 UTC (permalink / raw
  To: buildroot

Dear Thomas,

On So, 2015-12-13 at 22:28 +0100, Thomas Petazzoni wrote:
> Dear J?rg Krause,
> 
> On Fri, 11 Dec 2015 14:57:57 +0100, J?rg Krause wrote:
> > Also:
> > * remove patch "gcc.jam compiler options fix" - merged upstream
> > * renumber patch "fix uclibc eventfd".
> > 
> > Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> 
> I am not sure if it is related to the version bump or not, but boost
> is
> causing some build issues:
> 
> ???http://autobuild.buildroot.org/?reason=boost-1.59.0
> 
> Could you have a look ?

Actually, I already had two days ago :-)

From [1]:
<fenv.h> exists, but does not define FE_DIVBYZERO and co. Is this true
for all uclibc-based toolchains or is it dependent of the architecture?

[1]?http://lists.busybox.net/pipermail/buildroot/2015-December/146851.h
tml

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-12-14 12:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 13:57 [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Jörg Krause
2015-12-11 13:57 ` [Buildroot] [PATCH 2/3] package/boost: fix space tabs Jörg Krause
2015-12-11 14:48   ` Vicente Olivert Riera
2015-12-11 13:57 ` [Buildroot] [PATCH 3/3] package/boost: add library coroutine2 Jörg Krause
2015-12-11 15:08   ` Vicente Olivert Riera
2015-12-11 15:30     ` Thomas Petazzoni
2015-12-11 15:36       ` Vicente Olivert Riera
2015-12-11 15:46         ` Jörg Krause
2015-12-11 16:00           ` Jörg Krause
2015-12-11 16:18             ` Vicente Olivert Riera
2015-12-11 14:45 ` [Buildroot] [PATCH 1/3] package/boost: bump to version 1.59.0 Vicente Olivert Riera
2015-12-12 12:54 ` Thomas Petazzoni
2015-12-13 21:28 ` Thomas Petazzoni
2015-12-14 12:31   ` Jörg Krause

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.