From patchwork Mon Jan 13 22:59:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 1222382 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=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mind.be Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256 header.s=google header.b=H0II+qYN; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47xTYv34wwz9s29 for ; Tue, 14 Jan 2020 09:59:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B240384FBB; Mon, 13 Jan 2020 22:59:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tu4OEKzuJYsk; Mon, 13 Jan 2020 22:59:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3CC3983241; Mon, 13 Jan 2020 22:59:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D00B31BF20B for ; Mon, 13 Jan 2020 22:59:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CCEC484636 for ; Mon, 13 Jan 2020 22:59:37 +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 LXGh3p5QPa9R for ; Mon, 13 Jan 2020 22:59:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7692A845D6 for ; Mon, 13 Jan 2020 22:59:36 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id t14so11605028wmi.5 for ; Mon, 13 Jan 2020 14:59:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8jgyQ5VeyH69A5XKvdNbzcZ9pVefTVRinM6kO5Iyyyg=; b=H0II+qYN7bYolbw4p06fCT2Zr2hodCNPbOFX40d1ixVaxUR1oi48xVuLAFz89eQMtk wGxNhRyjmpXSJbD0tcf1l6y9VV2cRmym4q34RxExp8dppmmOT+Wv72Ywqj3LqdpdofHg QPCwtmLIJO1a3oRtjv2O0sqgcXvT0RNg7URQnCKgQBRtg/x3MHQ6fFgULLOKzWV54n0e APNgXelfLcpS8cU+GsouoXVT014pk7/+7nenMhMGnhuE7rWfRlL4yLR9R6WwFOXqA8Yd qGRwzxiaBY50dcUhi1soV8CD71w9QvWQ5rRt7mj3XZGpSsVV7PUtfjq9PDJg7BvkNHR5 5lxg== 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=8jgyQ5VeyH69A5XKvdNbzcZ9pVefTVRinM6kO5Iyyyg=; b=A62kq3WjEVc5xLYTZsI3P0TaYfurWzOdPaprTRid1QFXQ4hFwbfs/zhMY3Ui/s6+mC rDyF4lxTTLYrObiiadW5LcB2JHs2ypKUOl47UFVj2dn+/Lu8XxfYgL/4Z2OMd1owX5gX lKSnUWIBIGdHjLvN1bBEhrPhIimEDBTr5P4bwzzC4vupG8B7mXo3Px0hkVnsejAb4gRD eeAdYTjyjZq3j8wu3BQCl38d9sHRKV15KFwkD4CWgEfd0ProDqY6JaUrokCz7iAeVB1H MJ58Ow5MNNped/nzfnkLl20P3pgM9AxoieC/oB1W51u4xgTNLUPJVv5RpDAVN3ARxEWa vrLA== X-Gm-Message-State: APjAAAXZ3nfbq9YtjzJO/ty9ZHCTWZTjivV2jF1mG/rz7y7abV8Wo1MG oQmpSpw2eAAqZ3XceoeW4Xry7dDWGkAgig== X-Google-Smtp-Source: APXvYqyJ1n36/BqhHJ4i82csPedCfF10rawKAWksip6mDZRYwhLXVBvJEAzPCUpVe566fOgY+3NF0w== X-Received: by 2002:a1c:5f41:: with SMTP id t62mr24229558wmb.42.1578956374361; Mon, 13 Jan 2020 14:59:34 -0800 (PST) Received: from localhost.localdomain (94-225-144-99.access.telenet.be. [94.225.144.99]) by smtp.gmail.com with ESMTPSA id l15sm16217592wrv.39.2020.01.13.14.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 14:59:33 -0800 (PST) From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@buildroot.org Date: Mon, 13 Jan 2020 23:59:32 +0100 Message-Id: <20200113225932.28031-1-arnout@mind.be> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] toolchain/toolchain-external: warn for untested GCC/kernel version 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The oldest toolchain we test in the autobuilders is the Sourcery ARM toolchain which is GCC 4.8 and kernel headers 3.13. Therefore, it is likely that we're missing the required _AT_LEAST dependencies to exclude packages that don't build with older GCC/headers. Add a comment to the custom external toolchain that warns when an untested GCC or kernel headers version is selected. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- This patch was triggered by [1], where I observed that zxing-cpp is probably missing a GCC_AT_LEAST_4_8 dependency, but we don't detect this in the autobuilders for lack of an older toolchain. Note that this also means we should probably remove all older GCC_AT_LEAST options from packages. Alternatively, we could in the custom external toolchain remove all the old options (and also remove them from packages), and replace it with e.g. "4.8 or earlier". But for the time being, this patch is simpler :-) [1] http://lists.busybox.net/pipermail/buildroot/2020-January/271558.html --- .../toolchain-external-custom/Config.in.options | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index 665765a104..9680509a13 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -92,6 +92,9 @@ config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD endchoice +comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk." + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + choice bool "External toolchain kernel headers series" default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD @@ -298,6 +301,9 @@ config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD endchoice +comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk." + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + choice prompt "External toolchain C library" default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC