Skip to contentSkip to conversation

package/libbsd: further reduce the set of supported archs

PATCH New Yann E. MORIN 3 participants 4 messages Aug 19, 2013 – Aug 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libbsd: further reduce the set of supported archs

From: "Yann E. MORIN" <[email protected]>

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.

---
 package/libbsd/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/libbsd/Config.in +2 -2
index 1fa9497..bae5700 100644
@@ -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
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 package/libbsd: further reduce the set of supported archs

Quoted 9 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

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)

Quoted 12 lines
---
 package/libbsd/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/libbsd/Config.in +0 -0
index 1fa9497..bae5700 100644

package/libbsd/Config.in config BR2_PACKAGE_LIBBSD · line 4

Quoted 3 lines
package/libbsd/Config.in +0 -0
@@ -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.

Quoted 3 lines
package/libbsd/Config.in +1 -1
-	depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || 
 BR2_x86_64 )
+	depends on ( BR2_i386 || BR2_x86_64 )

[...]

Signature · 3 lines
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
#2 lore raw

PATCH 1/1 package/libbsd: further reduce the set of supported archs

J?r?me, All,

On 2013-08-20 10:59 +0200, J?r?me Pouiller spake thusly:

Quoted 6 lines · Yann E. MORIN
Quoted 5 lines

From: "Yann E. MORIN" <[email protected]>

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

Quoted 8 lines
Quoted 3 lines

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
Quoted 1 line

(In add, we may bump to 0.6.0)

Yes, maybe.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 package/libbsd: further reduce the set of supported archs

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 5 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

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

Quoted 7 lines

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.

Applied, thanks.

Thomas

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