Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] ushare: do not allow building in static lib situations
Date: Sun, 23 Nov 2014 19:18:04 +0100	[thread overview]
Message-ID: <20141123181804.GH11143@free.fr> (raw)
In-Reply-To: <1416764163-12826-4-git-send-email-thomas.petazzoni@free-electrons.com>

Thomas, All,

On 2014-11-23 18:36 +0100, Thomas Petazzoni spake thusly:
> The ushare configure script is a custom shell script, and it is not
> designed to understand that the library order is important when doing
> static linking.
> 
> Fixes:
> 
>   http://autobuild.buildroot.org/results/32e/32ed2a521043f929cc290145c8a651e69042e104/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

However, see below...

> ---
>  package/ushare/Config.in | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/package/ushare/Config.in b/package/ushare/Config.in
> index 981f081..7f817d2 100644
> --- a/package/ushare/Config.in
> +++ b/package/ushare/Config.in
> @@ -4,6 +4,10 @@ config BR2_PACKAGE_USHARE
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
>  	select BR2_PACKAGE_LIBUPNP
>  	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
> +	# ushare has a completely custom configure script that does
> +	# broken things with library ordering, which breaks static
> +	# linking.
> +	depends on !BR2_PREFER_STATIC_LIB
>  	help
>  	  uShare is a UPnP (TM) A/V & DLNA Media Server.
>  	  It implements the server component that provides UPnP media devices
> @@ -11,5 +15,5 @@ config BR2_PACKAGE_USHARE
>  
>  	  http://ushare.geexbox.org/
>  
> -comment "ushare needs a toolchain w/ largefile, threads"
> -	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_THREADS)
> +comment "ushare needs a toolchain w/ largefile, threads, dynamic library"
> +	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB

This line is now > 80 chars. Maybe it could be split?

Regards,
Yann E. MORIN.

> -- 
> 2.1.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-11-23 18:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 17:35 [Buildroot] [PATCH 0/5] Misc autobuilder fixes Thomas Petazzoni
2014-11-23 17:35 ` [Buildroot] [PATCH 1/5] toolchain-external: fix C++ build issues with the Blackfin toolchain Thomas Petazzoni
2014-11-23 17:54   ` Yann E. MORIN
2014-11-23 17:56     ` Thomas Petazzoni
2014-11-23 18:03       ` Yann E. MORIN
2014-11-23 17:36 ` [Buildroot] [PATCH 2/5] mpdecimal: fix build on pure static library configurations Thomas Petazzoni
2014-11-23 18:00   ` Yann E. MORIN
2014-11-23 17:36 ` [Buildroot] [PATCH 3/5] ushare: do not allow building in static lib situations Thomas Petazzoni
2014-11-23 18:18   ` Yann E. MORIN [this message]
2014-11-23 17:36 ` [Buildroot] [PATCH 4/5] radvd: switch to new patch naming convention, use Git formatted patches Thomas Petazzoni
2014-11-23 18:22   ` Yann E. MORIN
2014-11-23 17:36 ` [Buildroot] [PATCH 5/5] radvd: add a patch to fix build failure on architectures without sysctl() Thomas Petazzoni
2014-11-23 18:25   ` Yann E. MORIN
2014-11-24 21:06 ` [Buildroot] [PATCH 0/5] Misc autobuilder fixes Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141123181804.GH11143@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox