Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810956/?format=api
{ "id": 810956, "url": "http://patchwork.ozlabs.org/api/patches/810956/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170907104352.7748-3-gabriel@inconstante.eti.br/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170907104352.7748-3-gabriel@inconstante.eti.br>", "list_archive_url": null, "date": "2017-09-07T10:43:51", "name": "[2/3] powerpc: Add redirection for finitef128, isinf128, and isnanf128", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "04a5f9b2fd9a809d3dc113767161e5fdee708f64", "submitter": { "id": 72317, "url": "http://patchwork.ozlabs.org/api/people/72317/?format=api", "name": "Gabriel F. T. Gomes", "email": "gabriel@inconstante.eti.br" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170907104352.7748-3-gabriel@inconstante.eti.br/mbox/", "series": [ { "id": 1976, "url": "http://patchwork.ozlabs.org/api/series/1976/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1976", "date": "2017-09-07T10:43:49", "name": "Fixes for -mfloat128 being enabled by default on gcc for power", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1976/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810956/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810956/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-return-84291-incoming=patchwork.ozlabs.org@sourceware.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "mailing list libc-alpha@sourceware.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84291-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"QijFQ5De\"; dkim-atps=neutral", "sourceware.org; auth=none" ], "Received": [ "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnxsW6pyZz9t2M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 7 Sep 2017 20:44:31 +1000 (AEST)", "(qmail 26454 invoked by alias); 7 Sep 2017 10:44:15 -0000", "(qmail 26403 invoked by uid 89); 7 Sep 2017 10:44:14 -0000" ], "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type; q=dns; s=default; b=AJJJW\n\thhcy/zrSVbNWtkWroY8rNRiFYSN0jL9p9eSSUoU9lnyoPJUK4Z88mKJvY5AAOloy\n\t3QT7xIQzUtHtLCNBkjIyjzVD/YYZy6qMOtiZ6tZHgYpxSrvxmutl+IvcHaZr7zK6\n\tZeWx+5naQhOL6RYVAcRFCjxjDD+PbvAarkL62Y=", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type; s=default; bh=Hi1dQ8vcV/J\n\tLBbshGE5Brgd4cxI=; b=QijFQ5DeserkOQyMHyTsSl0CiT3cz1eHov9OlK26O83\n\tlsrxVvL1Cnh14jCGk6huiZBRJAAb85WHTwOPGXiKiya/+Eq2M3dyeOXIxD4vUxon\n\tetlHbiIAyW/DFyIbCkKLpVuakC4MO2Ey7tyjx3fa45vsb2jBTZLDfCV4mtVSsMZU\n\t=", "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm", "Precedence": "bulk", "List-Id": "<libc-alpha.sourceware.org>", "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>", "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>", "List-Archive": "<http://sourceware.org/ml/libc-alpha/>", "List-Post": "<mailto:libc-alpha@sourceware.org>", "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>", "Sender": "libc-alpha-owner@sourceware.org", "X-Virus-Found": "No", "X-Spam-SWARE-Status": "No, score=-24.9 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*F:D*br", "X-HELO": "mo20.mail-out.ovh.net", "From": "\"Gabriel F. T. Gomes\" <gabriel@inconstante.eti.br>", "To": "<libc-alpha@sourceware.org>", "Subject": "[PATCH 2/3] powerpc: Add redirection for finitef128, isinf128,\n\tand isnanf128", "Date": "Thu, 7 Sep 2017 07:43:51 -0300", "Message-ID": "<20170907104352.7748-3-gabriel@inconstante.eti.br>", "In-Reply-To": "<20170907104352.7748-1-gabriel@inconstante.eti.br>", "References": "<20170907104352.7748-1-gabriel@inconstante.eti.br>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-ClientProxiedBy": "EX2.emp.local (172.16.2.2) To EX2.emp.local (172.16.2.2)", "X-Ovh-Tracer-Id": "2520045466587614915", "X-VR-SPAMSTATE": "OK", "X-VR-SPAMSCORE": "0", "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelledrfedvgdefvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu" }, "content": "On powerpc64le, compiler support for float128 is not enabled by default\non gcc. To enable it, the flag -mfloat128 must be passed as a command\nline option to the compiler. This means that only the few files that\nactively have -mfloat128 passed as an argument get compiler support for\nfloat128, whereas all other files don't.\n\nWhen -mfloat128 becomes enabled by default on powerpc [1], all the files\nthat do not currently have compiler support for float128 enabled during\ntheir compilation, will start to have it. This will lead to build\nerrors in some of these files.\n\nThis patch defines __finitef128 as __redirect___finitef128 in\nsysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c, similarly to what's\ndone for the float, double, and long double versions of these functions,\nto get rid of the build error. Likewise for isinff128 and isnanf128.\n\n[1] https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01028.html\n\nTested for powerpc64le with patched [1] and unpatched gcc.\n\n\t* sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c\n\t(__finitef128): Define to __redirect___finitef128.\n\t* sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c\n\t(__isinff128): Define to __redirect___isinff128.\n\t* sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c\n\t(__isnanf128): Define to __redirect___isnanf128.\n---\n sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c | 1 +\n sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c | 1 +\n sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c | 1 +\n 3 files changed, 3 insertions(+)", "diff": "diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c\nindex a5ec36b72f..19fc36e32d 100644\n--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c\n+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c\n@@ -19,6 +19,7 @@\n #define __finite __redirect___finite\n #define __finitef __redirect___finitef\n #define __finitel __redirect___finitel\n+#define __finitef128 __redirect___finitef128\n #include <math.h>\n #include <math_ldbl_opt.h>\n #include <shlib-compat.h>\ndiff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c\nindex 9c6789c7bd..18c23c5884 100644\n--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c\n+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c\n@@ -19,6 +19,7 @@\n #define __isinf __redirect___isinf\n #define __isinff __redirect___isinff\n #define __isinfl __redirect___isinfl\n+#define __isinff128 __redirect___isinff128\n #include <math.h>\n #include <math_ldbl_opt.h>\n #include <shlib-compat.h>\ndiff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c\nindex 3cfe1793da..e193670b0e 100644\n--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c\n+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c\n@@ -19,6 +19,7 @@\n #define __isnan __redirect___isnan\n #define __isnanf __redirect___isnanf\n #define __isnanl __redirect___isnanl\n+#define __isnanf128 __redirect___isnanf128\n #include <math.h>\n #include <math_ldbl_opt.h>\n #include <shlib-compat.h>\n", "prefixes": [ "2/3" ] }