Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs
@ 2013-08-19 22:35 Yann E. MORIN
  2013-08-20  8:59 ` Jérôme Pouiller
  2013-08-23  4:58 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-08-19 22:35 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Support for a,out on ARM will be dropped in Linux 3.11 (and is already
missing in the -rc).

m68k is marked BROKEN in Buildroot, so it is never ever tested.

The x86 familly is the only one left with support for a.out, now.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libbsd/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
index 1fa9497..bae5700 100644
--- a/package/libbsd/Config.in
+++ b/package/libbsd/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBBSD
 	bool "libbsd"
 	# libbsd requires a.out.h, which is only available for those
 	# architectures: arm, m68k, x86 (and alpha, but we don't care.)
-	depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+	depends on ( BR2_i386 || BR2_x86_64 )
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  This library provides useful functions commonly found on BSD
@@ -14,5 +14,5 @@ config BR2_PACKAGE_LIBBSD
 	  http://libbsd.freedesktop.org/
 
 comment "libbsd requires a toolchain with thread support"
-	depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+	depends on ( BR2_i386 || BR2_x86_64 )
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
1.8.1.2

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

* [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs
  2013-08-19 22:35 [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs Yann E. MORIN
@ 2013-08-20  8:59 ` Jérôme Pouiller
  2013-08-20 10:30   ` Yann E. MORIN
  2013-08-23  4:58 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Jérôme Pouiller @ 2013-08-20  8:59 UTC (permalink / raw)
  To: buildroot

On 2013-08-20 00:35, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> Support for a,out on ARM will be dropped in Linux 3.11 (and is 
> already
> missing in the -rc).
>
> m68k is marked BROKEN in Buildroot, so it is never ever tested.
>
> The x86 familly is the only one left with support for a.out, now.
Hmm...  It looks like support for a.out may be removed using
-D__NO_A_OUT_SUPPORT. Although, a.out.h is always included, even with
this flag.

We may patch the code instead of disable architectures?

(In add, we may bump to 0.6.0)

> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/libbsd/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
> index 1fa9497..bae5700 100644
> --- a/package/libbsd/Config.in
> +++ b/package/libbsd/Config.in
> @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBBSD
>  	bool "libbsd"
>  	# libbsd requires a.out.h, which is only available for those
>  	# architectures: arm, m68k, x86 (and alpha, but we don't care.)
You may also update comment.

> -	depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || 
> BR2_x86_64 )
> +	depends on ( BR2_i386 || BR2_x86_64 )
[...]


-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

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

* [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs
  2013-08-20  8:59 ` Jérôme Pouiller
@ 2013-08-20 10:30   ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-08-20 10:30 UTC (permalink / raw)
  To: buildroot

J?r?me, All,

On 2013-08-20 10:59 +0200, J?r?me Pouiller spake thusly:
> On 2013-08-20 00:35, Yann E. MORIN wrote:
> >From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >
> >Support for a,out on ARM will be dropped in Linux 3.11 (and is already
> >missing in the -rc).
> >
> >m68k is marked BROKEN in Buildroot, so it is never ever tested.
> >
> >The x86 familly is the only one left with support for a.out, now.
> Hmm...  It looks like support for a.out may be removed using
> -D__NO_A_OUT_SUPPORT. Although, a.out.h is always included, even with
> this flag.
> 
> We may patch the code instead of disable architectures?

See the discussion with Thomas, starting with my analysis here:
    http://lists.busybox.net/pipermail/buildroot/2013-August/076659.html
and with Thomas' answer here:
    http://lists.busybox.net/pipermail/buildroot/2013-August/076661.html

> (In add, we may bump to 0.6.0)

Yes, maybe.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs
  2013-08-19 22:35 [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs Yann E. MORIN
  2013-08-20  8:59 ` Jérôme Pouiller
@ 2013-08-23  4:58 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-08-23  4:58 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Tue, 20 Aug 2013 00:35:33 +0200, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> Support for a,out on ARM will be dropped in Linux 3.11 (and is already
> missing in the -rc).
> 
> m68k is marked BROKEN in Buildroot, so it is never ever tested.
> 
> The x86 familly is the only one left with support for a.out, now.
> 
> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2013-08-23  4:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-19 22:35 [Buildroot] [PATCH] package/libbsd: further reduce the set of supported archs Yann E. MORIN
2013-08-20  8:59 ` Jérôme Pouiller
2013-08-20 10:30   ` Yann E. MORIN
2013-08-23  4:58 ` Thomas Petazzoni

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