Skip to contentSkip to conversation

sane-backends: uses fork(), not available on noMMU systems

PATCH New Thomas Petazzoni 2 participants 2 messages May 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sane-backends: uses fork(), not available on noMMU systems

sane-backends currently doesn't build with the ADI external toolchains, due to an internal compiler failure. However, using the internal toolchain backend for Blackfin goes past this internal compiler failure, but raises the problem that sane-backends uses fork(). Sane-backends has a --enable-pthreads option that allows to use threads instead of forking in some parts of sane, but there are still some other areas of sane-backends that continue to use fork().

Since the probability of using sane-backends on a noMMU system is fairly small, we'll just disable this package for now on such architectures, until someone cares enough to investigate deeper.

Fixes:

http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/

---
 package/sane-backends/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/sane-backends/Config.in +1 -0
index 04222fc..8156e85 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SANE_BACKENDS
 	bool "sane-backends"
+	depends on BR2_USE_MMU # fork()
 	help
 	  SANE - Scanner Access Now Easy
 
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 sane-backends: uses fork(), not available on noMMU systems

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

sane-backends currently doesn't build with the ADI external toolchains, due to an internal compiler failure. However, using the internal toolchain backend for Blackfin goes past this internal compiler failure, but raises the problem that sane-backends uses fork(). Sane-backends has a --enable-pthreads option that allows to use threads instead of forking in some parts of sane, but there are still some other areas of sane-backends that continue to use fork().

Since the probability of using sane-backends on a noMMU system is fairly small, we'll just disable this package for now on such architectures, until someone cares enough to investigate deeper.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard