{"id":802906,"url":"http://patchwork.ozlabs.org/api/1.2/patches/802906/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170817202647.26738-1-yann.morin.1998@free.fr/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170817202647.26738-1-yann.morin.1998@free.fr>","list_archive_url":null,"date":"2017-08-17T20:26:47","name":"toolchain/internal: not aailable for a few mips cores","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"4065a31e6b5d274fe8d2b387b336f47fc31f9476","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/1.2/people/13903/?format=json","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170817202647.26738-1-yann.morin.1998@free.fr/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/802906/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/802906/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"gWt8jdff\"; dkim-atps=neutral"],"Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xYHnR3zR4z9t30\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 18 Aug 2017 06:27:06 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C1FFC8A26C;\n\tThu, 17 Aug 2017 20:27:00 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id uqlmr4TlRG+z; Thu, 17 Aug 2017 20:26:59 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4056E8A114;\n\tThu, 17 Aug 2017 20:26:59 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id F025C1C0983\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 17 Aug 2017 20:26:57 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E91F2890A1\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 17 Aug 2017 20:26:57 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 4fnnlIPrbuxn for <buildroot@lists.busybox.net>;\n\tThu, 17 Aug 2017 20:26:57 +0000 (UTC)","from mail-wr0-f193.google.com (mail-wr0-f193.google.com\n\t[209.85.128.193])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id C50BA890A2\n\tfor <buildroot@buildroot.org>; Thu, 17 Aug 2017 20:26:56 +0000 (UTC)","by mail-wr0-f193.google.com with SMTP id n88so10234659wrb.0\n\tfor <buildroot@buildroot.org>; Thu, 17 Aug 2017 13:26:56 -0700 (PDT)","from localhost.localdomain\n\t(2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:a556:795e:851:f8aa])\n\tby smtp.gmail.com with ESMTPSA id\n\tm136sm4730830wmb.18.2017.08.17.13.26.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 17 Aug 2017 13:26:53 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=tz4CWRdlEn5tzeLRe6T8qXGodPEI4kLASlh/zR6OUwU=;\n\tb=gWt8jdffhTUdzfXhQy3WTmmEYOscMVFIVmWeKxNoyxSXhPaghZA+a1H4PAUHUmHfqA\n\t7sPaHt0khUcHVL5Ro72miuOXlCr9LtcWw+ldSTHZYVEbz6ug5cFxNLXrlPq+VF4wVeNG\n\tmFD26YrnXbJaGL5hIXaxWA3Flss5ONBnzq12jbl7n3QrM4P5mSOrsEl3AJ9/m+RrQ2PN\n\tvZLTWIQ4+WXE84HYSCJoUyASf3qzVt7Sg+TKX8QAzfxpAGdtucYFjLc8L+0ipL+3GZV2\n\tY1HGy4A851UJZMdH2DsazxUfezbwUBNWVmt5FYg9uumZqCXhxy7Yi9Te5YIBhz7OCzNj\n\t/SLw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=tz4CWRdlEn5tzeLRe6T8qXGodPEI4kLASlh/zR6OUwU=;\n\tb=qx4u5FAb5WT0z4gsOgNY+WmlMrLyJ0JO6/vhYaEfdNtrWFAn+6/dZWGB0RBHPdJfKB\n\tzXX1StsbLQXdO1jQQFZq3lRa4AyfK/ewYf8U5ZJRXANjRbEllsm1QlL6QyN3gAUIdV1c\n\txud9ofIxjgu0dhp6IWK3mF1iAeE3MNNWccxglWSeg/ARmG+qIsGiaxPG/UsXo8aWMpCS\n\tTqa1TEIsIdYU+wW9Qph0VTE8MPDnkdsVpoE1XhEiSGNoF6pSGLdwwEJjyy/n9LL/2YVe\n\tIUy4qO1kQn1g7IZin8g9DsgpSiF4qjx/aKMz6ce8Hopj58C+lWyM1Czd0nOfPmpi8NBU\n\tVKAQ==","X-Gm-Message-State":"AHYfb5gwcjz3QJArRwkCHUJfJkdTPgcbs3FLsLTbQor9+Oyrq987EqPn\n\tCRhViYrEPH/yrtkg","X-Received":"by 10.223.155.9 with SMTP id b9mr4389261wrc.127.1503001614941;\n\tThu, 17 Aug 2017 13:26:54 -0700 (PDT)","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"buildroot@buildroot.org","Date":"Thu, 17 Aug 2017 22:26:47 +0200","Message-Id":"<20170817202647.26738-1-yann.morin.1998@free.fr>","X-Mailer":"git-send-email 2.11.0","Cc":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\t\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Subject":"[Buildroot] [PATCH] toolchain/internal: not aailable for a few mips\n\tcores","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<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>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","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>"},"content":"Commit 1b974425 (MIPS: add support for M6201 cores) xplained that the\nnew core was not supported by upstream gcc, and as of gcc-8-trunk that's\nstil lthe case.\n\nDitto for 3cfbeb83 (MIPS: add support for P6600 cores).\n\nThis means that we currently elect to build an internal tolchain for\nthose cores, yet we have no suitable gcc version.\n\nDisable the internal backend in this case.\n\nSigned-off-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\nCc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>\nCc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n package/gcc/Config.in.host | 7 +------\n toolchain/Config.in        | 2 ++\n 2 files changed, 3 insertions(+), 6 deletions(-)","diff":"diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host\nindex 485755a15d..77ea8ff374 100644\n--- a/package/gcc/Config.in.host\n+++ b/package/gcc/Config.in.host\n@@ -50,8 +50,7 @@ config BR2_GCC_VERSION_5_X\n \t# musl ppc64 unsupported\n \tdepends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))\n \t# Unsupported MIPS cores\n-\tdepends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \\\n-\t\t!BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600\n+\tdepends on !BR2_mips_interaptiv && !BR2_mips_m5150 && !BR2_mips_i6400\n \t# musl mips64 unsupported\n \tdepends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))\n \tselect BR2_TOOLCHAIN_GCC_AT_LEAST_5\n@@ -61,8 +60,6 @@ config BR2_GCC_VERSION_6_X\n \t# Broken or unsupported architectures\n \tdepends on !BR2_arc\n \tdepends on !BR2_or1k\n-\t# Unsupported MIPS cores\n-\tdepends on !BR2_mips_m6250 && !BR2_mips_p6600\n \tselect BR2_TOOLCHAIN_GCC_AT_LEAST_6\n \n config BR2_GCC_VERSION_7_X\n@@ -70,8 +67,6 @@ config BR2_GCC_VERSION_7_X\n \t# Broken or unsupported architectures\n \tdepends on !BR2_arc\n \tdepends on !BR2_or1k\n-\t# Unsupported MIPS cores\n-\tdepends on !BR2_mips_m6250 && !BR2_mips_p6600\n \tselect BR2_TOOLCHAIN_GCC_AT_LEAST_7\n \n endchoice\ndiff --git a/toolchain/Config.in b/toolchain/Config.in\nindex 15ee335481..584d053058 100644\n--- a/toolchain/Config.in\n+++ b/toolchain/Config.in\n@@ -48,6 +48,8 @@ config BR2_TOOLCHAIN_BUILDROOT\n \tdepends on !BR2_bf608\n \tdepends on !BR2_bf609\n \tdepends on !BR2_csky\n+\tdepends on !BR2_mips_m6250\n+\tdepends on !BR2_mips_p6600\n \n config BR2_TOOLCHAIN_EXTERNAL\n \tbool \"External toolchain\"\n","prefixes":[]}