Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] libiio: Disable IIOD on Blackfin
@ 2016-08-29 15:54 Peter Korsgaard
  2016-08-29 16:04 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2016-08-29 15:54 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=53996bee433f09a91b12aa53b2be0f7d22c0acbe
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

IIOD uses accept4, which is not yet available on Blackfin.

Fixes:
 http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/

[Peter: hide other toolchain comment on bfin]
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/libiio/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/libiio/Config.in b/package/libiio/Config.in
index 69269e0..2e7a76d 100644
--- a/package/libiio/Config.in
+++ b/package/libiio/Config.in
@@ -53,12 +53,17 @@ config BR2_PACKAGE_LIBIIO_IIOD
 	bool "IIO Daemon"
 	select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_bfin
 	default y
 	help
 	  Install the IIO Daemon.
 
 comment "IIO Daemon needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_bfin
+
+comment "IIO Daemon is not yet available on Blackfin"
+	depends on BR2_bfin
 
 config BR2_PACKAGE_LIBIIO_TESTS
 	bool "Install test programs"

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

* [Buildroot] [git commit] libiio: Disable IIOD on Blackfin
  2016-08-29 15:54 [Buildroot] [git commit] libiio: Disable IIOD on Blackfin Peter Korsgaard
@ 2016-08-29 16:04 ` Thomas Petazzoni
  2016-08-29 20:59   ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-08-29 16:04 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 29 Aug 2016 17:54:07 +0200, Peter Korsgaard wrote:
> commit: https://git.buildroot.net/buildroot/commit/?id=53996bee433f09a91b12aa53b2be0f7d22c0acbe
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> IIOD uses accept4, which is not yet available on Blackfin.
> 
> Fixes:
>  http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/
> 
> [Peter: hide other toolchain comment on bfin]
> Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Most likely this is wrong. The failure happens with the old Blackfin
toolchain from ADI. Was it tested to also happen with the new Blackfin
toolchain, that uses recent kernel headers and recent uClibc-ng ?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] [git commit] libiio: Disable IIOD on Blackfin
  2016-08-29 16:04 ` Thomas Petazzoni
@ 2016-08-29 20:59   ` Peter Korsgaard
  2016-08-29 21:02     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2016-08-29 20:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Mon, 29 Aug 2016 17:54:07 +0200, Peter Korsgaard wrote:
 >> commit: https://git.buildroot.net/buildroot/commit/?id=53996bee433f09a91b12aa53b2be0f7d22c0acbe
 >> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
 >> 
 >> IIOD uses accept4, which is not yet available on Blackfin.
 >> 
 >> Fixes:
 >> http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/
 >> 
 >> [Peter: hide other toolchain comment on bfin]
 >> Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
 >> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

 > Most likely this is wrong. The failure happens with the old Blackfin
 > toolchain from ADI. Was it tested to also happen with the new Blackfin
 > toolchain, that uses recent kernel headers and recent uClibc-ng ?

Yes, I did a build with gcc 6.x and checked the 4.7.2 kernel
headers. The accept4 syscall doesn't seem to be wired up on bfin.

-- 
Venlig hilsen,
Peter Korsgaard 

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

* [Buildroot] [git commit] libiio: Disable IIOD on Blackfin
  2016-08-29 20:59   ` Peter Korsgaard
@ 2016-08-29 21:02     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-08-29 21:02 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 29 Aug 2016 22:59:53 +0200, Peter Korsgaard wrote:

>  > Most likely this is wrong. The failure happens with the old Blackfin
>  > toolchain from ADI. Was it tested to also happen with the new Blackfin
>  > toolchain, that uses recent kernel headers and recent uClibc-ng ?  
> 
> Yes, I did a build with gcc 6.x and checked the 4.7.2 kernel
> headers. The accept4 syscall doesn't seem to be wired up on bfin.

Gah, ok. My bad, then :-/

Sorry for the noise,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-08-29 21:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-29 15:54 [Buildroot] [git commit] libiio: Disable IIOD on Blackfin Peter Korsgaard
2016-08-29 16:04 ` Thomas Petazzoni
2016-08-29 20:59   ` Peter Korsgaard
2016-08-29 21:02     ` Thomas Petazzoni

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