diff mbox

package/libbsd: further reduce the set of supported archs

Message ID 1376951733-31803-1-git-send-email-yann.morin.1998@free.fr
State Accepted
Headers show

Commit Message

Yann E. MORIN Aug. 19, 2013, 10:35 p.m. UTC
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(-)

Comments

Jérôme Pouiller Aug. 20, 2013, 8:59 a.m. UTC | #1
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 )
[...]
Yann E. MORIN Aug. 20, 2013, 10:30 a.m. UTC | #2
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.
Thomas Petazzoni Aug. 23, 2013, 4:58 a.m. UTC | #3
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
diff mbox

Patch

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