From patchwork Sat May 17 09:31:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 349862 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 8A2FE1400B2 for ; Sat, 17 May 2014 19:31:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A5E2C87AD2; Sat, 17 May 2014 09:31:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1pnzQWotJBNU; Sat, 17 May 2014 09:31:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2B6F787AC7; Sat, 17 May 2014 09:31:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A29271C0F1E for ; Sat, 17 May 2014 09:31:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9D9028BD25 for ; Sat, 17 May 2014 09:31:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w-teXJZQKJvD for ; Sat, 17 May 2014 09:31:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by fraxinus.osuosl.org (Postfix) with ESMTP id AEB298BD05 for ; Sat, 17 May 2014 09:31:26 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 2B6547F8; Sat, 17 May 2014 11:31:27 +0200 (CEST) Received: from localhost (AToulouse-651-1-158-31.w92-136.abo.wanadoo.fr [92.136.201.31]) by mail.free-electrons.com (Postfix) with ESMTPSA id E206D15C; Sat, 17 May 2014 11:31:16 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 17 May 2014 11:31:14 +0200 Message-Id: <1400319074-3056-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.9.3 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] sane-backends: uses fork(), not available on noMMU systems X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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/ Signed-off-by: Thomas Petazzoni --- package/sane-backends/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/sane-backends/Config.in b/package/sane-backends/Config.in index 04222fc..8156e85 100644 --- a/package/sane-backends/Config.in +++ b/package/sane-backends/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_SANE_BACKENDS bool "sane-backends" + depends on BR2_USE_MMU # fork() help SANE - Scanner Access Now Easy