Message ID | 20180601174806.17498-1-yann.morin.1998@free.fr |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GFdcH7iv"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40yBdR0n3Xz9ry1 for <incoming-buildroot@patchwork.ozlabs.org>; Sat, 2 Jun 2018 03:48:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0246887B87; Fri, 1 Jun 2018 17:48:25 +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 6sAFfwxTVNjt; Fri, 1 Jun 2018 17:48:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6FCE887B88; Fri, 1 Jun 2018 17:48:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7F4081C2C94 for <buildroot@lists.busybox.net>; Fri, 1 Jun 2018 17:48:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7C51F22667 for <buildroot@lists.busybox.net>; Fri, 1 Jun 2018 17:48:13 +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 xDEtyctoIsXz for <buildroot@lists.busybox.net>; Fri, 1 Jun 2018 17:48:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by silver.osuosl.org (Postfix) with ESMTPS id B4ADA2265C for <buildroot@buildroot.org>; Fri, 1 Jun 2018 17:48:12 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id l10-v6so2231430wrn.2 for <buildroot@buildroot.org>; Fri, 01 Jun 2018 10:48:12 -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=sU7M3OiQDyxRb1fSKuAdpk64KTTEcAzMZOrECmNlUe0=; b=GFdcH7ivfSnLFtmfHcLQItRK0xgjGW078Th2DIdElGLmtkzTn2+J2ZZefz/G4awiz9 fQRlYYqZcDDu9Lp8dWdRie5OIYQ7rbs4Vq+Bb0RxsBs3J4CEFhNBTx3eH45bJEGnKkA1 XhmhdUH5Ipb1gZxYYeyZZTCTEuYdLbo/ibWLYv5oaO7t/F7l9A3vPcnkl+OzZuvWfCDT WTGGChXwKnx1m/IKl3rmfDMPYAyzFxU7RIkyYBcOkQMr3rGLdPzdu9Aw/mPf2rzVJwLV +Gl/e6nBsTdW/30wxigLr2tCxiUo+6luzZ9O0WOjvusOxFbjwcerelIbUuz7s3Oz/nDW UZaA== 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=sU7M3OiQDyxRb1fSKuAdpk64KTTEcAzMZOrECmNlUe0=; b=i5pF9iwN/Vvk8dP0OMRZhcaUSTvjLe9NYtr+2pLmaiPmw4B1uyS7eWUF4B9Q5H8f+r /teAB9EAXZuDD90eDiww9EkvuarcEEInImjv4vt99/rMVhjxlHvVwFcCAvrqNyGGpz4o uTJMV93/t2vhl/w1pcJalFUBeKhyL2Hnzh1qu22VjYKPeuEFOM2onWCb/ske8D4DkmMy FZH2+sh8OaO3NQ/wqYI5+EnzJ8f8DbB0zIMa4PALsR3OuQLqLwXXiej9fT7QLZ/5rg4r yiAzvBk4MPZapwfDNH7KYvlyBa2cBxxNJpQ+9G3hjUn6Ah3zr9c/vAfIjySXazqRgHt0 MbAA== X-Gm-Message-State: ALKqPwegrjAhJsrCQ+WBr+A32wd68pLFKjFs3LoE6WRQNpVhuyUHGqzv d11dtblzCXp3S7c63I6HlGQU/w== X-Google-Smtp-Source: ADUXVKIK2vouf0r4b9B9RzdZlS1/RAog4wEirLhwnUe3USiqSJV6RamFwfdHF+P6/64Ml/xY3CCoHA== X-Received: by 2002:adf:db4a:: with SMTP id f10-v6mr8954085wrj.271.1527875290834; Fri, 01 Jun 2018 10:48:10 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:a556:795e:851:f8aa]) by smtp.gmail.com with ESMTPSA id w2-v6sm13637327wrn.77.2018.06.01.10.48.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 10:48:10 -0700 (PDT) From: "Yann E. MORIN" <yann.morin.1998@free.fr> To: buildroot@buildroot.org Date: Fri, 1 Jun 2018 19:48:06 +0200 Message-Id: <20180601174806.17498-1-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH] linux: may fail to boot for binutils 2.29+ even without armv7m X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Laurent GONZALEZ <br22@gezedo.com>, Christophe Priouzeau <christophe.priouzeau@st.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, "Yann E. MORIN" <yann.morin.1998@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
linux: may fail to boot for binutils 2.29+ even without armv7m
|
expand
|
diff --git a/linux/Config.in b/linux/Config.in index bffb52fd18..5b2d908ba5 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -9,7 +9,6 @@ config BR2_LINUX_KERNEL if BR2_LINUX_KERNEL comment "Linux kernel may fail to boot with binutils >= 2.29" - depends on BR2_ARM_CPU_ARMV7M depends on !BR2_BINUTILS_VERSION_2_28_X # Packages that need to have a kernel with support for loadable modules,
Commit f13477b (linux: config.in: add comment for Arm Cortex-M) added a comment so that the user that the linux kernel may miscompile with binutils 2.29+, when the target is an armv7m CPU. However, the real trigger is a compilation in thumb2 mode, which happens to be the only option for armv7m CPUs. We can't know whether the kernel will be built in arm or thumb2 mode, though, because we do not have that information: it is only available in the Linux' .config file, which we don;t have access to at the time we run our menuconfig. So, relax the conditions under which the comment is made, so that it appears as soon as binutils are >= 2.29 (i.e. not 2.28, which is the oldest we support). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Christophe Priouzeau <christophe.priouzeau@st.com> Cc: Laurent GONZALEZ <br22@gezedo.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> --- linux/Config.in | 1 - 1 file changed, 1 deletion(-)