From patchwork Sun Oct 29 17:00:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 831768 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rU7lTpE2"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQ3mF0Y7vz9t3f for ; Mon, 30 Oct 2017 04:01:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 13C2088718; Sun, 29 Oct 2017 17:01:12 +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 ZrbzMxr7jpjc; Sun, 29 Oct 2017 17:01:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C48488870C; Sun, 29 Oct 2017 17:01:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8A3401BFA45 for ; Sun, 29 Oct 2017 17:01:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7E7818870C for ; Sun, 29 Oct 2017 17:01:08 +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 8s-p6jtnetXq for ; Sun, 29 Oct 2017 17:01:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7E89488707 for ; Sun, 29 Oct 2017 17:01:07 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id m72so7991799wmc.0 for ; Sun, 29 Oct 2017 10:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=beg4vgMu0iWtPoCqOFKd8YyoOD0h5lgECuvNBjDly4I=; b=rU7lTpE2cXz+iMdSHRVKhhzFZIdAm70uAMJ12D7RjxXQXLASvaC5Gq5FetRjgyK2/Z IYWntEp0DOExKOstdzG6qVC2dwulxxG/pcsX3utMrdw4PXALcdIF7KagD5iuvRJrRcaU +JAZCw8za3IJmPQDSoXG9wIH/NtCmAPE8qXu7YLoRnu93OaE5lBZxR6/Sn2CLtsSB3ye 6tG9XbJEyC/vrF5pV+7NM9PldX6ucfUqDMXV+QPXgDaS3IAGtIp5UUd9RpZRvaP0IWRE Xl4wpcdXnrs1FQbe9GJ3t6v15ppmVyPd3edNoX3KBx2yixlFgFnpXB1Vr1UX3nAxh479 8oxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=beg4vgMu0iWtPoCqOFKd8YyoOD0h5lgECuvNBjDly4I=; b=NGONXNW4eJV3f++eFIIyq1+KbB7IrCYOoafGXD1Phdwo788pU07K0zGfSkJFZ0EXl+ NYsPxrYvcLMHG1m38sWraS9vMxTwBSuRRBInP+1iEwURAhlNvKusWzG77a05fuMHCo2P c1D0mFYuT06GPcJQLYIIYZKHObVJDVGhqr2WlruCvRX08EJIBHHtW66mTYFDZPwOXSOq VeI0A+InMfa5nPQfmVGeXiqrsbN4vHLkVagDXjI9J1Lrw3qSZWacmsAK8kta5kwzcfN9 qAe/iHGDXEJ7wXqsdJ+bha6DrFjFoZUqqiN4wIZ6d6quhJXS1iHApC6VvO/Kjv6BQSaC rWNA== X-Gm-Message-State: AMCzsaXABrMVpG7tvC/ovN+OMbviEaYwpA9RB/V+aHAOeYRflA4T8VPD Ivn6/BFSn6Bj7GYwsrgsUhzuVQ== X-Google-Smtp-Source: ABhQp+S7GsHDZfhpo4NH0AQhkDokIhZhG1IQG1f46RyGwB+omEAwWdC36Bu+589SZKioB3lKoSLC4Q== X-Received: by 10.28.157.139 with SMTP id g133mr1702252wme.102.1509296465706; Sun, 29 Oct 2017 10:01:05 -0700 (PDT) Received: from localhost.localdomain (2a01cb0886107300e171a0081a7d08b7.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:e171:a008:1a7d:8b7]) by smtp.gmail.com with ESMTPSA id q15sm2595516wmd.28.2017.10.29.10.01.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 10:01:04 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 29 Oct 2017 18:00:41 +0100 Message-Id: <20171029170041.13206-1-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 Cc: Evgeniy Didin , Thomas Petazzoni , Alexey Brodkin , "Yann E. MORIN" Subject: [Buildroot] [PATCHv2] package/libbsd: not available for ARC X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" libbsd has explicit, hard-coded checks about the architectures it can work on, and ARC is not one of those. We did not notice so far, because we only recently added support for glibc on ARC (and only for a single variant) in 0633eb58a291 (toolchain: add glibc support for ARCv2). Add an explicit exclusion on arc. Fixes: http://autobuild.buildroot.org/results/603baa77e95620ad1416e0d1dc4202c334801efc http://autobuild.buildroot.org/results/8a2ee5431501615cb150233e6d7bc9e7c3c5c1eb http://autobuild.buildroot.org/results/ea52364f536485ff4e43e3bc37f2175eb6178c5a http://autobuild.buildroot.org/results/32581f7a79372b525e4ad21e029ff0ede743ba94 Signed-off-by: "Yann E. MORIN" Cc: Evgeniy Didin Cc: Alexey Brodkin Cc: Thomas Petazzoni --- Changes v1 -> v2: - fix and simplify dependency !BR2_arc (Thomas) - enhance commit log (Thomas) --- package/libbsd/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in index 9b5b89812f..11e4c4d974 100644 --- a/package/libbsd/Config.in +++ b/package/libbsd/Config.in @@ -1,7 +1,9 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS bool - # libbsd does not support the MicroBlaze ELF machine type (see local-elf.h) - default y if !BR2_microblaze + default y + # libbsd does not support those architectures (see src/local-elf.h) + depends on !BR2_microblaze + depends on !BR2_arc config BR2_PACKAGE_LIBBSD bool "libbsd"