From patchwork Sat Sep 23 21:24:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 817839 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.136; helo=silver.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="mwMfSKNN"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y03K42BX3z9t5C for ; Sun, 24 Sep 2017 07:24:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4BC7B2CF08; Sat, 23 Sep 2017 21:24:54 +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 iirqwQowCKzE; Sat, 23 Sep 2017 21:24:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4028125D46; Sat, 23 Sep 2017 21:24:53 +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 136471C0060 for ; Sat, 23 Sep 2017 21:24:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0D7C088109 for ; Sat, 23 Sep 2017 21:24:35 +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 xXgL3eNoM5PR for ; Sat, 23 Sep 2017 21:24:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B73DC880F9 for ; Sat, 23 Sep 2017 21:24:33 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id r136so4052680wmf.3 for ; Sat, 23 Sep 2017 14:24:33 -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:in-reply-to:references; bh=fUODU0Gt8YNKmBAZ1YEKST+TK/CZgex1TTHi7+5qwyk=; b=mwMfSKNNeo+n21y4LPvySV/2yUjbYl3xki5Uppa+2304bKtWUVevJC/fhQ321UqI+3 FSXboaFrc8ZxGmyphQx1SKSDBlGy2DSvl1Tn0RXwhCPEINwoVBE4DSYCqDfO3PZ8VQ09 AuHdyhzYkuBTTf+FKy1OiNALylv0iu01CM/4tugVvXBbGd8AMo0PopsH6Qo826IgxSYP Q8m9GoYuleCEx0pE335NTMZMmb3TMYbdwSpQNWbDNhaBJnxD2+6gJsstm5SFR1S6TxcP Aa7r+u3ywJbud5BTGgPe/t5kTpFf7FelGH/agLavsdOk9f/Zfbr4aZ3FfagmSX0TcNeS PxQw== 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:in-reply-to :references; bh=fUODU0Gt8YNKmBAZ1YEKST+TK/CZgex1TTHi7+5qwyk=; b=eSLVi9QYQGy8nE2Pmza1DRruXxxK1HnQs0yR4zvU8YiT8OBO4uwr6w6NBffE3el0JF SelkSIZIgGk6OOjP5JQjMydLF4KTb08KPTv63xJln3CvMbComLbLn0maXTQfHy1rKY3o ALv5VJUWQCiu8SSxMpQ4aTRWunF4inh+dHdMWwzPRLY83tiyCWZGnQR5s92q0uYJ53j6 5Ehn0+7rOc6Kc5Kzp81Bh3bksAyPWZ5sNTrgMtjHkZ911EkrhZ+bcBCg6JklEqT7lcuf DUM1v5ZKJzEpVDfHJLG9l8WgEHsjG5KV1kw/irBzBq0YivtjCSkOjzjt0I3K46XLcVwF nCLA== X-Gm-Message-State: AHPjjUj0kqXMV10AYenFYvoD7HZdtNgRj1lQU0q3DlT5WczXbNHzCTxJ woLWosSFIG3f8dJXjQ2qMKw1RfTL X-Google-Smtp-Source: AOwi7QCeWEBOXs+1yKmxmwGrmgcjadqQ2e68pgmE0BIB9JKU1DksDBffYJwmvBdgCEpTQomLXuLafQ== X-Received: by 10.28.35.142 with SMTP id j136mr467625wmj.55.1506201871981; Sat, 23 Sep 2017 14:24:31 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf]) by smtp.gmail.com with ESMTPSA id f89sm1253848wmh.18.2017.09.23.14.24.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2017 14:24:31 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 23 Sep 2017 23:24:10 +0200 Message-Id: <20170923212414.16744-12-romain.naour@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20170923212414.16744-1-romain.naour@gmail.com> References: <20170923212414.16744-1-romain.naour@gmail.com> Cc: Thomas Petazzoni , Romain Naour , "Yann E. MORIN" Subject: [Buildroot] [PATCH v3 3/7] package/glibc: needs kernel headers >= 3.10 on powerpc64le 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" Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1]. In order to prepare the glibc bump to this version, we don't allow to build a Buildroot toolchain with kernel headers older than 3.10. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=c2ff5ec13fca1bdd1cd646a0260808386d7bd7ff Signed-off-by: Romain Naour Cc: Thomas Petazzoni Cc: "Yann E. MORIN" --- v3: move the dependency outside of architectures section. (Yann) --- toolchain/toolchain-buildroot/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index f47001f..ac6017f 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -51,6 +51,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC depends on BR2_USE_MMU depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le depends on !BR2_powerpc_SPE select BR2_TOOLCHAIN_USES_GLIBC # our glibc.mk enables RPC support @@ -65,6 +66,11 @@ comment "glibc needs a toolchain w/ dynamic library, kernel headers >= 3.2" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 +# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le. +comment "glibc on powerpc64le needs a toolchain w/ headers >= 3.10" + depends on BR2_powerpc64le + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + config BR2_TOOLCHAIN_BUILDROOT_MUSL bool "musl" depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \