Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] bonnie: does not support static builds
@ 2013-12-17 11:28 spdawson at gmail.com
  2013-12-17 11:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: spdawson at gmail.com @ 2013-12-17 11:28 UTC (permalink / raw)
  To: buildroot

From: Simon Dawson <spdawson@gmail.com>

Fixes autobuild failues such as the following.

  http://autobuild.buildroot.net/results/bb9/bb9665a957e4fed25dff3e36bbf105c523dcf0a7/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/bonnie/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/bonnie/Config.in b/package/bonnie/Config.in
index 6dbd06d..a4a50f8 100644
--- a/package/bonnie/Config.in
+++ b/package/bonnie/Config.in
@@ -2,11 +2,12 @@ config BR2_PACKAGE_BONNIE
 	bool "bonnie++"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  Filesystem tester
 
 	  http://www.coker.com.au/bonnie++/
 
-comment "bonnie++ needs a toolchain w/ C++"
+comment "bonnie++ needs a toolchain w/ C++, dynamic library"
 	depends on BR2_USE_MMU
-	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_INSTALL_LIBSTDCPP	|| BR2_PREFER_STATIC_LIB
-- 
1.8.3.2

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

* [Buildroot] [PATCH] bonnie: does not support static builds
  2013-12-17 11:28 [Buildroot] [PATCH] bonnie: does not support static builds spdawson at gmail.com
@ 2013-12-17 11:41 ` Thomas Petazzoni
  2013-12-17 11:43   ` Simon Dawson
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-12-17 11:41 UTC (permalink / raw)
  To: buildroot

Simon,

On Tue, 17 Dec 2013 11:28:38 +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
> 
> Fixes autobuild failues such as the following.
> 
>   http://autobuild.buildroot.net/results/bb9/bb9665a957e4fed25dff3e36bbf105c523dcf0a7/
> 
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---
>  package/bonnie/Config.in | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/package/bonnie/Config.in b/package/bonnie/Config.in
> index 6dbd06d..a4a50f8 100644
> --- a/package/bonnie/Config.in
> +++ b/package/bonnie/Config.in
> @@ -2,11 +2,12 @@ config BR2_PACKAGE_BONNIE
>  	bool "bonnie++"
>  	depends on BR2_INSTALL_LIBSTDCPP
>  	depends on BR2_USE_MMU # fork()
> +	depends on !BR2_PREFER_STATIC_LIB
>  	help
>  	  Filesystem tester
>  
>  	  http://www.coker.com.au/bonnie++/
>  
> -comment "bonnie++ needs a toolchain w/ C++"
> +comment "bonnie++ needs a toolchain w/ C++, dynamic library"
>  	depends on BR2_USE_MMU
> -	depends on !BR2_INSTALL_LIBSTDCPP
> +	depends on !BR2_INSTALL_LIBSTDCPP	|| BR2_PREFER_STATIC_LIB

I need to test this specific case, but I don't think this is the
correct fix. If you look at the config.log file, I'm pretty sure you
will see that configure bails out because libstdc++.a does not exist.
This is a problem in the internal toolchain rework I've done, and that
I need to have a look at (make sure it generates the static version of
libstdc++).

Therefore, I don't think this patch should be applied: bonnie++, by
itself, does not require dynamic library.

Best regards,

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

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

* [Buildroot] [PATCH] bonnie: does not support static builds
  2013-12-17 11:41 ` Thomas Petazzoni
@ 2013-12-17 11:43   ` Simon Dawson
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Dawson @ 2013-12-17 11:43 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On 17 December 2013 11:41, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> I need to test this specific case, but I don't think this is the
> correct fix. If you look at the config.log file, I'm pretty sure you
> will see that configure bails out because libstdc++.a does not exist.
> This is a problem in the internal toolchain rework I've done, and that
> I need to have a look at (make sure it generates the static version of
> libstdc++).

Right.

> Therefore, I don't think this patch should be applied: bonnie++, by
> itself, does not require dynamic library.

Okay; I did wonder, to be honest. Thanks for the feedback.

Simon.

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

end of thread, other threads:[~2013-12-17 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 11:28 [Buildroot] [PATCH] bonnie: does not support static builds spdawson at gmail.com
2013-12-17 11:41 ` Thomas Petazzoni
2013-12-17 11:43   ` Simon Dawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox