From patchwork Thu May 27 20:54:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1484832 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::133; helo=smtp2.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.a=rsa-sha256 header.s=20161025 header.b=tEPP9S4q; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Frg6b66YZz9s1l for ; Fri, 28 May 2021 06:54:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0A47F402DE; Thu, 27 May 2021 20:54:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sR0-hP-zaEk5; Thu, 27 May 2021 20:54:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 60E1F40291; Thu, 27 May 2021 20:54:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A95B71BF3A4 for ; Thu, 27 May 2021 20:54:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A3D54608C5 for ; Thu, 27 May 2021 20:54:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C_y3Dx6kkeLa for ; Thu, 27 May 2021 20:54:24 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by smtp3.osuosl.org (Postfix) with ESMTPS id 6BECD60770 for ; Thu, 27 May 2021 20:54:24 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id q5so1179785wrs.4 for ; Thu, 27 May 2021 13:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qTZzQsWMS2slFPE6wbixPJpmv4KgGBK9q6IskIoU9Ak=; b=tEPP9S4qALV89v/g/Qii8E0BVn99EEkWRKK8uFx/DA2uWTtEO0L0MENPBBQ6yb1XcS cbsjPuJ+CFErlFczgcdQ+S47eYwszbDxQwbfbomnJ0erHLescz08zquDR6CAPgIGWZYR OEgw4efdokBv0WCG/ISACaXRV26vCAKcfk5XCV64wDqGKYOh3aiJxsGbQncC0mwiZghp k+Y+RSHu/RHLc6XruTMHbhbkwP/lEk4b0I3KqeNrzDu+W2BmF/jA2vutegkJWU6RKCj+ NFhIQzw0JmSpgI+MpEzTM+1RO1AK3/f6qKirYTh/YA0IyKWeWd0jY9a77gkBtt+OL/jQ 25hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qTZzQsWMS2slFPE6wbixPJpmv4KgGBK9q6IskIoU9Ak=; b=UEE+wJDCuDLZmJL5HhLMiSumFCCSpNzxlEnZVxrzKM/ljcE169rYOJnCOVBNWk889/ mZCoHvRpBC91Tu7W2QfvosnoUL+hA+etimG0uy0xUPZrI4f0eCOlVLC2ALUGXum8O78R HYluXzCNbpCVE09dt3zjM1ojs4/nyRREYX5AirnIOkuiOweQ6PDpBzO9J+h4/EcRz4oc e/bPPCHXAZbvd6yu2eEp4HqAOQvBZK7JPd6vy9dKIRztc0DipZKRnm//9KlMjNHLz+gS gVitL43chbVg1qHI/ehSn13nifsBBszRFgXzWO+jiSdmkyclTmlNdVbJknoFdEmfZpME mEvA== X-Gm-Message-State: AOAM532QQhzJUe54J7zC9ogdXEqij8ygGpK+KmLiedyV3bpU5NOET3J/ OdWCSyfKQwHve5bWYFfX8Z+ugwms2U4mrA== X-Google-Smtp-Source: ABdhPJx3+IjLnyAVuUXL+VuF1G46re6mUFnqSe/UMqTDrhNteG5WrCTfh5XKXQYrNOOlL8ahteJhFA== X-Received: by 2002:a05:6000:186a:: with SMTP id d10mr5401445wri.41.1622148862448; Thu, 27 May 2021 13:54:22 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id c12sm4512035wrc.94.2021.05.27.13.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 13:54:21 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 27 May 2021 22:54:15 +0200 Message-Id: <20210527205415.480887-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/directfb: disable on riscv32 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" directfb unconditionally uses __NR_futex which will raise the following build failure on riscv32: system.c:242:21: error: '__NR_futex' undeclared (first use in this function) 242 | ret = syscall( __NR_futex, uaddr, op, val, timeout, uaddr2, val3 ); | ^~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c0f4168575fa85af933539441eea95a3b10dac91 Signed-off-by: Fabrice Fontaine --- package/directfb/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/directfb/Config.in b/package/directfb/Config.in index 20481f56da..f4d6b8cbd1 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_DIRECTFB bool "directfb" + depends on !BR2_RISCV_32 depends on !BR2_STATIC_LIBS # static link issues depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_INSTALL_LIBSTDCPP @@ -161,6 +162,7 @@ config BR2_PACKAGE_DIRECTFB_TESTS endif # BR2_PACKAGE_DIRECTFB comment "directfb needs a glibc or uClibc toolchain w/ C++, NPTL, gcc >= 4.5, dynamic library" + depends on !BR2_RISCV_32 depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL || \