Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806285/?format=api
{ "id": 806285, "url": "http://patchwork.ozlabs.org/api/patches/806285/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170827173606.13144-4-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": "<20170827173606.13144-4-romain.naour@gmail.com>", "list_archive_url": null, "date": "2017-08-27T17:36:02", "name": "[3/7] package/mesa3d: fix build issue with glibc >= 2.26", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "4224634e23a3e37c62343bc385d9aa5c3da830a2", "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/20170827173606.13144-4-romain.naour@gmail.com/mbox/", "series": [ { "id": 34, "url": "http://patchwork.ozlabs.org/api/series/34/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=34", "date": "2017-08-27T17:35:59", "name": "glibc: bump to 2.26", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/34/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806285/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806285/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=\"jlxisyQg\"; 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 3xgMX11Gb7z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 03:36:32 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 986318868F;\n\tSun, 27 Aug 2017 17:36:27 +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 rXgTDzP256qa; Sun, 27 Aug 2017 17:36:25 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0E07588585;\n\tSun, 27 Aug 2017 17:36:25 +0000 (UTC)", "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 834C61C0D51\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:17 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7E9392D392\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:17 +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 ypsUlv2eKd-i for <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:16 +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 1FDD1248EB\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 17:36:16 +0000 (UTC)", "by mail-wm0-f67.google.com with SMTP id i76so4824766wme.1\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 10:36:16 -0700 (PDT)", "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tk35sm1926217wre.95.2017.08.27.10.36.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 10:36:13 -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\t:mime-version:content-transfer-encoding;\n\tbh=EYjbQMMZKcjISemvFyEuDrGke5bE0NH/YbchzmyglRk=;\n\tb=jlxisyQgq5NUE/SCNUKeMhNPjQaz1iF0iMALhQCXJOXo7cpEOZXIA6B7Cp4BNKB61F\n\trN1YOPpqblOOu3f4Uvo10uRgPk8A+uZMgB3bPzyAoPzsRYM8QnDbXDzDUQkRzKVC+eyE\n\tkr5CViigh5QM/654/GbTgeXzt+NtGxumJO4ImNKITdq4miMvpP7NIpC38AIjGfbPzZ29\n\tohuEjfV3cA7B8cdGCkeZXMeeLuOE1kwlJlpWBeDWFAvov1K/0ZvlRITOI9bI2fp8wyEf\n\t2C2oYu8dZFS0L0DoaBkOKbCZoh/sH1AN1FDlH1GL5oCt/S4uYlcyiGy/Lh0w6ui4mPHa\n\t48kA==", "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:mime-version:content-transfer-encoding;\n\tbh=EYjbQMMZKcjISemvFyEuDrGke5bE0NH/YbchzmyglRk=;\n\tb=RMl1PP/Lx5UMC/r9teh5RS0B5f4b1osovUnICKubqzazdrodePmgW6oAE7tZIXqNur\n\tkwmYsAWza4rZUEv0Vq9NnOcgbK1wFE6tCyY7k64XjMjCM3rSlsTLaTaHVozUkLcfSBP4\n\t5p1NuorGJOiPTJKVGBGZEjFiwY9i52pOf8I+DsCYcpb1QO/vMZDuNpo+bJzioyX5cccw\n\tQRKh2Nw/9eaM3FfaM5z5+/4aoY7WyWfOIbVElcN2TWCx4oaISdYcUmihySIrk6J2h0Cz\n\tK4c9LekyfT3oflNo1pnk7OX258UmKAlZygUVYUNvnX0BOFd+vb0DCP9kJzoHkjIK15a2\n\t0OMQ==", "X-Gm-Message-State": "AHYfb5jwHEFK/Rt+LeMMaxyQa8EG812oBzBghPfO6eev4vf0pLykfd10\n\twT1ogBgym7evmMgBPHQ=", "X-Received": "by 10.28.59.84 with SMTP id i81mr2087856wma.86.1503855374324;\n\tSun, 27 Aug 2017 10:36:14 -0700 (PDT)", "From": "Romain Naour <romain.naour@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Sun, 27 Aug 2017 19:36:02 +0200", "Message-Id": "<20170827173606.13144-4-romain.naour@gmail.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20170827173606.13144-1-romain.naour@gmail.com>", "References": "<20170827173606.13144-1-romain.naour@gmail.com>", "MIME-Version": "1.0", "Cc": "Romain Naour <romain.naour@gmail.com>", "Subject": "[Buildroot] [PATCH 3/7] package/mesa3d: fix build issue with glibc\n\t>= 2.26", "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>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Issue found while testing glibc 2.26 bump.\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\n ...-c99_math-fix-build-issue-with-glibc-2.26.patch | 82 ++++++++++++++++++++++\n 1 file changed, 82 insertions(+)\n create mode 100644 package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch", "diff": "diff --git a/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch b/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch\nnew file mode 100644\nindex 0000000..55e4fcf\n--- /dev/null\n+++ b/package/mesa3d/0005-c99_math-fix-build-issue-with-glibc-2.26.patch\n@@ -0,0 +1,82 @@\n+From f8ef875d8b5313d8f15f8680dc0c512c10756ea8 Mon Sep 17 00:00:00 2001\n+From: Romain Naour <romain.naour@gmail.com>\n+Date: Sat, 26 Aug 2017 19:20:56 +0200\n+Subject: [PATCH] c99_math: fix build issue with glibc >= 2.26\n+MIME-Version: 1.0\n+Content-Type: text/plain; charset=UTF-8\n+Content-Transfer-Encoding: 8bit\n+\n+The workaround is not required anymore since glibc 2.26 and\n+trigger a build issue:\n+\n+In file included from ../../src/gallium/auxiliary/util/u_math.h:44:0,\n+ from ../../src/mesa/main/macros.h:35,\n+ from glsl_types.cpp:25:\n+../../include/c99_math.h:196:12: error: « std::fpclassify » was not declared in this scope\n+ using std::fpclassify;\n+ ^~~~~~~~~~\n+../../include/c99_math.h:197:12: error: « std::isfinite » was not declared in this scope\n+ using std::isfinite;\n+ ^~~~~~~~\n+../../include/c99_math.h:198:12: error: « std::isinf » was not declared in this scope\n+ using std::isinf;\n+ ^~~~~\n+../../include/c99_math.h:199:12: error: « std::isnan » was not declared in this scope\n+ using std::isnan;\n+ ^~~~~\n+../../include/c99_math.h:200:12: error: « std::isnormal » was not declared in this scope\n+ using std::isnormal;\n+ ^~~~~~~~\n+../../include/c99_math.h:201:12: error: « std::signbit » was not declared in this scope\n+ using std::signbit;\n+ ^~~~~~~\n+../../include/c99_math.h:202:12: error: « std::isgreater » was not declared in this scope\n+ using std::isgreater;\n+ ^~~~~~~~~\n+../../include/c99_math.h:203:12: error: « std::isgreaterequal » was not declared in this scope\n+ using std::isgreaterequal;\n+ ^~~~~~~~~~~~~~\n+../../include/c99_math.h:204:12: error: « std::isless » was not declared in this scope\n+ using std::isless;\n+ ^~~~~~\n+../../include/c99_math.h:205:12: error: « std::islessequal » was not declared in this scope\n+ using std::islessequal;\n+ ^~~~~~~~~~~\n+../../include/c99_math.h:206:12: error: « std::islessgreater » was not declared in this scope\n+ using std::islessgreater;\n+ ^~~~~~~~~~~~~\n+../../include/c99_math.h:207:12: error: « std::isunordered » was not declared in this scope\n+ using std::isunordered;\n+ ^~~~~~~~~~~\n+\n+Signed-off-by: Romain Naour <romain.naour@gmail.com>\n+---\n+ include/c99_math.h | 5 +++++\n+ 1 file changed, 5 insertions(+)\n+\n+diff --git a/include/c99_math.h b/include/c99_math.h\n+index e906c26..6fd257e 100644\n+--- a/include/c99_math.h\n++++ b/include/c99_math.h\n+@@ -193,6 +193,10 @@ fpclassify(double x)\n+ #if __cplusplus >= 201103L && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23))\n+ #include <cmath>\n+ \n++/* This workaround is not necessary since Glibc 2.26\n++ * https://sourceware.org/git/?p=glibc.git;a=commit;h=2072f5c34ede81dde9e0d953d57a0690a66b0f12\n++ */\n++#if (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 25)\n+ using std::fpclassify;\n+ using std::isfinite;\n+ using std::isinf;\n+@@ -206,6 +210,7 @@ using std::islessequal;\n+ using std::islessgreater;\n+ using std::isunordered;\n+ #endif\n++#endif\n+ \n+ \n+ #endif /* #define _C99_MATH_H_ */\n+-- \n+2.9.5\n+\n", "prefixes": [ "3/7" ] }