Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807377/?format=api
{ "id": 807377, "url": "http://patchwork.ozlabs.org/api/patches/807377/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830014756.1025-1-nunes.erico@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": "<20170830014756.1025-1-nunes.erico@gmail.com>", "list_archive_url": null, "date": "2017-08-30T01:47:56", "name": "[1/1] grub2: force -fno-stack-protector in CFLAGS", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "885e5e4a4017daa6ee7bdf38d2aced2d58ee5759", "submitter": { "id": 46481, "url": "http://patchwork.ozlabs.org/api/people/46481/?format=api", "name": "Erico Nunes", "email": "nunes.erico@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170830014756.1025-1-nunes.erico@gmail.com/mbox/", "series": [ { "id": 513, "url": "http://patchwork.ozlabs.org/api/series/513/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=513", "date": "2017-08-30T01:47:56", "name": "[1/1] grub2: force -fno-stack-protector in CFLAGS", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/513/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807377/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807377/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=\"dO5EZjpI\"; 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 3xhpM766Pbz9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 11:48:51 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 04E9489A61;\n\tWed, 30 Aug 2017 01:48:46 +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 kF8MLIyTBBt2; Wed, 30 Aug 2017 01:48:44 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 5D10F89A4D;\n\tWed, 30 Aug 2017 01:48:44 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 1697E1C1568\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 01:48:43 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 1030389A4D\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 01:48:43 +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 3g6zuKyBvscW for <buildroot@lists.busybox.net>;\n\tWed, 30 Aug 2017 01:48:41 +0000 (UTC)", "from mail-wr0-f196.google.com (mail-wr0-f196.google.com\n\t[209.85.128.196])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 7994E898CF\n\tfor <buildroot@buildroot.org>; Wed, 30 Aug 2017 01:48:41 +0000 (UTC)", "by mail-wr0-f196.google.com with SMTP id j3so3280113wrb.5\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 18:48:41 -0700 (PDT)", "from localhost.localdomain (ip-78-102-114-60.net.upcbroadband.cz.\n\t[78.102.114.60]) by smtp.gmail.com with ESMTPSA id\n\to191sm2359504wmg.5.2017.08.29.18.48.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 29 Aug 2017 18:48:38 -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;\n\tbh=mB+VPqKdMjmsHN1YFcIWBxlIY76YcWWgdDlpce6Xv2c=;\n\tb=dO5EZjpImUZEFuNjJh8PbB/qBlxNsWncpfORpFGluc1cIvkJYBc9tQC04hj9wrRvi0\n\tPR9v15MAbmATmo5C5LwKbA6xmiyVmcG+usS/S2wQXdXHDIPj8B804l6IpR+0VMf2m1c/\n\tVjn0dcK/HiyNG4UQwoMRP3WItV4fEDCzPDG3g6kDVRZt8Q6Bmp1BC+5asuv/Lnazdyd+\n\t2QzGZtsJakCVqK+J/hc5553j2MwGmr8Svbu/tPP0lnPT5i7fE/Hsq188rf4jxjreVGBv\n\tW2lWbaTIOvtzhaYmP0F1RFq7pWzijjG6k1HL3LmJqIW2j1pC2m7DlBsWADzmgiarhn29\n\t5fWA==", "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;\n\tbh=mB+VPqKdMjmsHN1YFcIWBxlIY76YcWWgdDlpce6Xv2c=;\n\tb=OMm9FQ/QW1lV6cPinlDGnGR+RROqg0euBbW64GzdbB4l58/DFQRFSnsjoE2CBqcxG2\n\t9qDeWSdKd5g5JEtIaTK9YlB4bmXSlskzQTaViwV/luIrUxTwDDv9DbXx1cF/t2mlKJts\n\tX06pJiCf4i80YBUF5J9ckmTvKuzGUZmKx/N4YEP8+TiwTtELhLYP0I/hSwPJTU398OKB\n\tm+dc4h80VO6tQFxiYDQ0hnYpxZPt81g4Jnstf50tBAJ0uIIzsJ+68Kq/fM87MkQqNBv3\n\t57k3IQ85ZBKZsZTqDokeOII3HKInaaS0iZN3lsAE9nut2mpces1wRzdpLN2M1V7xoCMN\n\th5QQ==", "X-Gm-Message-State": "AHYfb5hKLsCgn8TkY6QUXGO0sqflwXznIdqbtETh7ad/nA0TezYtznpO\n\t8sC9wX0oQoiRhPhe", "X-Received": "by 10.223.133.98 with SMTP id 89mr1183502wrh.116.1504057719619; \n\tTue, 29 Aug 2017 18:48:39 -0700 (PDT)", "From": "Erico Nunes <nunes.erico@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Wed, 30 Aug 2017 03:47:56 +0200", "Message-Id": "<20170830014756.1025-1-nunes.erico@gmail.com>", "X-Mailer": "git-send-email 2.13.5", "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tDr I J Ormshaw <ian_ormshaw@waters.com>", "Subject": "[Buildroot] [PATCH 1/1] grub2: force -fno-stack-protector in CFLAGS", "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": "grub2 fails to configure when BR2_SSP_ALL is enabled, with the following\nconfigure error:\n\n checking whether -fno-asynchronous-unwind-tables works... yes\n checking whether -fno-unwind-tables works... yes\n checking for target linking format... unknown\n configure: error: no suitable link format found\n\nThis can be worked around by enforcing -fno-stack-protector in the\npackage CFLAGS in a way that overrides the SSP flag, as is already done\nfor the valgrind package.\n\nFixes bug #10261.\n\nSigned-off-by: Erico Nunes <nunes.erico@gmail.com>\nReported-by: Dr I J Ormshaw <ian_ormshaw@waters.com>\n---\n boot/grub2/grub2.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk\nindex 36f27d14ea..492cddf1a5 100644\n--- a/boot/grub2/grub2.mk\n+++ b/boot/grub2/grub2.mk\n@@ -53,7 +53,7 @@ GRUB2_CONF_ENV = \\\n \t$(HOST_CONFIGURE_OPTS) \\\n \tCPP=\"$(HOSTCC) -E\" \\\n \tTARGET_CC=\"$(TARGET_CC)\" \\\n-\tTARGET_CFLAGS=\"$(TARGET_CFLAGS)\" \\\n+\tTARGET_CFLAGS=\"$(TARGET_CFLAGS) -fno-stack-protector\" \\\n \tTARGET_CPPFLAGS=\"$(TARGET_CPPFLAGS)\" \\\n \tTARGET_LDFLAGS=\"$(TARGET_LDFLAGS)\" \\\n \tNM=\"$(TARGET_NM)\" \\\n", "prefixes": [ "1/1" ] }