Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/809143/?format=api
{ "id": 809143, "url": "http://patchwork.ozlabs.org/api/patches/809143/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-7-romain.naour@gmail.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "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": "<20170902205423.21288-7-romain.naour@gmail.com>", "list_archive_url": null, "date": "2017-09-02T20:54:18", "name": "[v2,06/11] package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains", "commit_ref": null, "pull_url": null, "state": "awaiting-upstream", "archived": false, "hash": "0c4a216d046453ed6dae6c187b7eab7ca3436df3", "submitter": { "id": 67942, "url": "http://patchwork.ozlabs.org/api/people/67942/?format=api", "name": "Romain Naour", "email": "romain.naour@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-7-romain.naour@gmail.com/mbox/", "series": [ { "id": 1178, "url": "http://patchwork.ozlabs.org/api/series/1178/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1178", "date": "2017-09-02T20:54:12", "name": "glibc: bump to 2.26", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/1178/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809143/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809143/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.138; helo=whitealder.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=\"QVEFLsH+\"; dkim-atps=neutral" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3xl7dy4QhFz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 3 Sep 2017 06:54:46 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id BDEE987062;\n\tSat, 2 Sep 2017 20:54:44 +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 G5cVbqSQ2YRd; Sat, 2 Sep 2017 20:54:42 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 18B9787363;\n\tSat, 2 Sep 2017 20:54:42 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id C0E5C1BFF90\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 20:54:38 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id B7A4A250F6\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 20:54:38 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id npHxye-DwCkL for <buildroot@lists.busybox.net>;\n\tSat, 2 Sep 2017 20:54:35 +0000 (UTC)", "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 822A322F46\n\tfor <buildroot@buildroot.org>; Sat, 2 Sep 2017 20:54:35 +0000 (UTC)", "by mail-wm0-f67.google.com with SMTP id l19so3102001wmi.1\n\tfor <buildroot@buildroot.org>; Sat, 02 Sep 2017 13:54:35 -0700 (PDT)", "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\t52sm2295647wru.59.2017.09.02.13.54.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 13:54:33 -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=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=e8yibvs9ImPJ+FZSNE2aTtYrIUvuzs0AP0JCrbCpNKs=;\n\tb=QVEFLsH+5cv4yt3MQ/cudmmCnhoLmE0j8Y4vQ8wSAyNns/xDkWbiitZk49/yb1lAQc\n\tt8x4v2HWX2FOUaqu900lj3Iac7orcdguWwt/iQupyQGG36O+SOMQAorMCU0BI+/x2RlS\n\t4AwnV6L2N5YoFJNoacEf2u/D/uNbGb/8GS3v9LPA2Jr6pS5mq/MvdO7RSF4AqKuNwJIB\n\tPE9lk6Q+a+Z+E/rJ9PcrA5kHJ8Ee72rH3+pvaKRdZYcRvyD1p4c4pVvnjimSS3fjGcz9\n\tnzWMG5IE+DAinoI5IzjxoU22rK6lhK60POk5/M4OmJK4qyEFqmG+bmx+DVpM0wVF4W3v\n\tPs6A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=e8yibvs9ImPJ+FZSNE2aTtYrIUvuzs0AP0JCrbCpNKs=;\n\tb=iqEkmBanZDOFEURbo+LYqyVVQb5vSIF1+PRhnzKw7HCRxNDbJSWJa1/8snEY6dQLlc\n\t8ZxAkC25l4UA/H+r1tlkYqHUoDSe3iRFdaGhrwoOfPalwgC8su/un/5qv+HJh9/CX8ta\n\tht4t5YI+F1KIUHCmdbY5Jcta9r+/rJT6V/jUGR61lrPBdvxLetddcJ6lmMopEbeQi/Zq\n\t167yrwhdHvVrhPXVxHnYDYfhljnGoCf+3gbjpIWafsOAzQSlo+umsU/HUfqtKXqOWBWt\n\t4TqxorIEG5J4Msbq5QCdDTJRaQWC73XO4yZotOwquW39hrlvlTgMps8+sm3MaU7ggOsl\n\tNafw==", "X-Gm-Message-State": "AHPjjUivtujFiVcjVbPed7dDGOMfvUzWZZp61I/LlOHEL+y72mFJ15yZ\n\tq9vci16maSntxczxEoI=", "X-Google-Smtp-Source": "ADKCNb7GmW4WG/9/NcOffI3+FQ+BZ+PVGpymoKEfoxzi/0pYslBckEn6asMrhgPQSbM62BR+Epg7hA==", "X-Received": "by 10.28.156.21 with SMTP id f21mr1123930wme.41.1504385673751;\n\tSat, 02 Sep 2017 13:54:33 -0700 (PDT)", "From": "Romain Naour <romain.naour@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Sat, 2 Sep 2017 22:54:18 +0200", "Message-Id": "<20170902205423.21288-7-romain.naour@gmail.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170902205423.21288-1-romain.naour@gmail.com>", "References": "<20170902205423.21288-1-romain.naour@gmail.com>", "Cc": "Romain Naour <romain.naour@gmail.com>", "Subject": "[Buildroot] [PATCH v2 06/11] package/gcc: enable float128 on\n\tpowerpc64le with glibc >= 2.26 toolchains", "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": "float128 is now required on powerpc64le with glibc >= 2.26 toolchains.\n\nFixes:\nrunning configure fragment for sysdeps/gnu\nrunning configure fragment for sysdeps/powerpc/powerpc64le\nchecking if [...]powerpc64le-buildroot-linux-gnu-gcc supports binary128 floating point type... no\nchecking if the target machine is at least POWER8... yes\nconfigure: error: *** binary128 floating point type (GCC >= 6.2) is required on powerpc64le.\n\nIn order to prepare the glibc bump to this version, we enable\nbinary128 floating point in gcc. This require at least gcc >= 6.2.\n\nDisable gcc 4.x and 5.x for internal toolchain.\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\nv2: Disable gcc 4.x and 5.x for internal toolchain.\n---\n package/gcc/Config.in.host | 4 ++++\n package/gcc/gcc.mk | 8 ++++++++\n 2 files changed, 12 insertions(+)", "diff": "diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host\nindex ec7b692..0926560 100644\n--- a/package/gcc/Config.in.host\n+++ b/package/gcc/Config.in.host\n@@ -39,6 +39,8 @@ config BR2_GCC_VERSION_4_9_X\n \tdepends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))\n \t# musl mips64 unsupported\n \tdepends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))\n+\t# glibc >= 2.26 needs gcc >= 6.2\n+\tdepends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_powerpc64le)\n \tselect BR2_TOOLCHAIN_GCC_AT_LEAST_4_9\n \n config BR2_GCC_VERSION_5_X\n@@ -53,6 +55,8 @@ config BR2_GCC_VERSION_5_X\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+\t# glibc >= 2.26 needs gcc >= 6.2\n+\tdepends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_powerpc64le)\n \tselect BR2_TOOLCHAIN_GCC_AT_LEAST_5\n \n config BR2_GCC_VERSION_6_X\ndiff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk\nindex 49ccccf..54ef70c 100644\n--- a/package/gcc/gcc.mk\n+++ b/package/gcc/gcc.mk\n@@ -254,6 +254,14 @@ HOST_GCC_COMMON_CONF_OPTS += \\\n \t--without-long-double-128\n endif\n \n+# Since glibc >= 2.26, poerpc64le requires double/long double which\n+# requires at least gcc 6.2.\n+# See sysdeps/powerpc/powerpc64le/configure.ac\n+ifeq ($(BR2_TOOLCHAIN_USES_GLIBC)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6)$(BR2_powerpc64le),yyy)\n+HOST_GCC_COMMON_CONF_OPTS += \\\n+\t--with-long-double-128\n+endif\n+\n HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='\".br_real\"'\n ifeq ($(BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS),)\n ifeq ($(call qstrip,$(BR2_GCC_TARGET_CPU_REVISION)),)\n", "prefixes": [ "v2", "06/11" ] }