From patchwork Tue May 20 07:20:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 350543 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 4301B14008F for ; Tue, 20 May 2014 17:20:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3662B322C6; Tue, 20 May 2014 07:20:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HDa1An7t7Edi; Tue, 20 May 2014 07:20:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EDB3D3229D; Tue, 20 May 2014 07:20:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 74B3D1C2236 for ; Tue, 20 May 2014 07:20:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 70FA4896A8 for ; Tue, 20 May 2014 07:20:28 +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 HexsaIf-bBg1 for ; Tue, 20 May 2014 07:20:27 +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 hemlock.osuosl.org (Postfix) with ESMTP id C126F895C5 for ; Tue, 20 May 2014 07:20:27 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 17590813; Tue, 20 May 2014 09:20:32 +0200 (CEST) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9166A7EB; Tue, 20 May 2014 09:20:31 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Tue, 20 May 2014 09:20:23 +0200 Message-Id: <1400570423-26735-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.9.3 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] samba: disable on AVR32 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 samba produces particularly large binaries, and the relocations needed for it do not fit in the possible relocation mechanisms available on AVR32. Since samba is very unlikely to be used on AVR32, let's just disable it, as we've already done for samba4. Fixes: http://autobuild.buildroot.net/results/0142b1d5b8c3f20f1bff76ece646d901407f7490/ Signed-off-by: Thomas Petazzoni --- package/samba/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/samba/Config.in b/package/samba/Config.in index c5b7e48..70ff960 100644 --- a/package/samba/Config.in +++ b/package/samba/Config.in @@ -2,6 +2,8 @@ config BR2_PACKAGE_SAMBA bool "samba" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() + # binary too large, relocations don't fit + depends on !BR2_avr32 select BR2_PACKAGE_POPT help Provides secure, stable and fast file and print services @@ -14,6 +16,7 @@ config BR2_PACKAGE_SAMBA so choose only the components you need. comment "samba needs a toolchain w/ threads" + depends on !BR2_avr32 depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS