Skip to contentSkip to conversation

libbsd: disable for xtensa and blackfin

PATCH New Baruch Siach 3 participants 3 messages Apr 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbsd: disable for xtensa and blackfin

Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) implicitly enabled libbsd for the uClibc only architectures xtensa and blackfin. But libbsd does not support these architectures, since its local-elf.h header lacks the required target specific definitions.

Fixes:
http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/
http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/
http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/

Cc Yann E. MORIN <[email protected]>
Cc J?rg Krause <[email protected]>
---
 package/libbsd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libbsd/Config.in +2 -0
index f6c2e4be4b68..e80e9ea824c0 100644
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
 	# libbsd does not support those architectures (see src/local-elf.h)
 	depends on !BR2_microblaze
 	depends on !BR2_arc
+	depends on !BR2_xtensa
+	depends on !BR2_bfin
 
 config BR2_PACKAGE_LIBBSD
 	bool "libbsd"
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 libbsd: disable for xtensa and blackfin

Baruch, All,

On 2018-04-03 08:25 +0300, Baruch Siach spake thusly:

Quoted 5 lines

Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) implicitly enabled libbsd for the uClibc only architectures xtensa and blackfin. But libbsd does not support these architectures, since its local-elf.h header lacks the required target specific definitions.

Quoted 8 lines

Fixes:
http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/
http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/
http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/

Cc Yann E. MORIN <[email protected]>
Cc J?rg Krause <[email protected]>

Regards,
Yann E. MORIN.

Quoted 20 lines
---
 package/libbsd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libbsd/Config.in +2 -0
index f6c2e4be4b68..e80e9ea824c0 100644
@@ -4,6 +4,8 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
 	# libbsd does not support those architectures (see src/local-elf.h)
 	depends on !BR2_microblaze
 	depends on !BR2_arc
+	depends on !BR2_xtensa
+	depends on !BR2_bfin
 
 config BR2_PACKAGE_LIBBSD
 	bool "libbsd"
Signature · 1 line
2.16.2
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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 libbsd: disable for xtensa and blackfin

In reply to Baruch Siach
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Commit d879be30495 (package/libbsd: enable for non-glibc toolchains) implicitly enabled libbsd for the uClibc only architectures xtensa and blackfin. But libbsd does not support these architectures, since its local-elf.h header lacks the required target specific definitions.

Quoted 8 lines

Fixes:
http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/
http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/
http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/

Cc Yann E. MORIN <[email protected]>
Cc J?rg Krause <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard