get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2196316/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2196316,
    "url": "http://patchwork.ozlabs.org/api/patches/2196316/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.DEB.2.21.2602130039190.2574@angie.orcam.me.uk/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<alpine.DEB.2.21.2602130039190.2574@angie.orcam.me.uk>",
    "list_archive_url": null,
    "date": "2026-02-13T11:45:50",
    "name": "AMDGCN: Disable subdirectory configuration for unsupported GAS and LD",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3d7eb215af92467f58d2514ed0ca14374bdc8b97",
    "submitter": {
        "id": 80960,
        "url": "http://patchwork.ozlabs.org/api/people/80960/?format=api",
        "name": "Maciej W. Rozycki",
        "email": "macro@orcam.me.uk"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/alpine.DEB.2.21.2602130039190.2574@angie.orcam.me.uk/mbox/",
    "series": [
        {
            "id": 492087,
            "url": "http://patchwork.ozlabs.org/api/series/492087/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=492087",
            "date": "2026-02-13T11:45:50",
            "name": "AMDGCN: Disable subdirectory configuration for unsupported GAS and LD",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492087/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196316/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196316/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n dmarc=none (p=none dis=none) header.from=orcam.me.uk",
            "sourceware.org; spf=none smtp.mailfrom=orcam.me.uk",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=78.133.224.34"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fC9Qy2K05z1xvQ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 22:48:10 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 14FB04B9DB6F\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 11:48:08 +0000 (GMT)",
            "from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34])\n by sourceware.org (Postfix) with ESMTP id DC8AC4B9DB54\n for <gcc-patches@gcc.gnu.org>; Fri, 13 Feb 2026 11:45:51 +0000 (GMT)",
            "by angie.orcam.me.uk (Postfix, from userid 500)\n id 0BF5F92009C; Fri, 13 Feb 2026 12:45:51 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by angie.orcam.me.uk (Postfix) with ESMTP id 078CE92009B;\n Fri, 13 Feb 2026 11:45:51 +0000 (GMT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 14FB04B9DB6F",
            "OpenDKIM Filter v2.11.0 sourceware.org DC8AC4B9DB54"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org DC8AC4B9DB54",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org DC8AC4B9DB54",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770983152; cv=none;\n b=XmBzMUKVFZgZ8yOuG+cVZbL30XmM2VQb3Zj1yn930tOICG9+mhtOuOmrIzOLu+zHBG6EEdjhiPpqjeM1zYbE1TbHay7k9XbG6BUCkvHriKTlKEMUSx8M1AXVHTBFdofaRtL9Hg1jBBbY4B0hkN6UbZsQE0Jx0Fl5u9MjY4Kot+Y=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770983152; c=relaxed/simple;\n bh=MqQGH7ZTI0oyFnOkcbdKAk2r3az1jMXYBA5+Zydbiis=;\n h=Date:From:To:Subject:Message-ID:MIME-Version;\n b=tiWOzLzXeNiDD5iViTPvgkJEdyzn7eJz6NMSV9BUp1s+nI1ks2Ugui9tn7rWj6HM5D+FkjULPrxY0Idy/03D0Gd54MoDPL6fdR5ymPzVbgKq6kHPPXvUkiPMY4t99dvc6nz6Zk6zwFRTTs/OfA4SGPr+mf1KIwq8SA8SmeflGIY=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "Date": "Fri, 13 Feb 2026 11:45:50 +0000 (GMT)",
        "From": "\"Maciej W. Rozycki\" <macro@orcam.me.uk>",
        "To": "binutils@sourceware.org",
        "cc": "Julian Brown <julian@codesourcery.com>, Andrew Stubbs <ams@baylibre.com>,\n gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org",
        "Subject": "[PATCH] AMDGCN: Disable subdirectory configuration for unsupported\n GAS and LD",
        "Message-ID": "<alpine.DEB.2.21.2602130039190.2574@angie.orcam.me.uk>",
        "User-Agent": "Alpine 2.21 (DEB 202 2017-01-01)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "The `amdgcn' target is not supported by GAS or LD, so disable building \nin the respective subdirectories, removing configuration errors such as:\n\nThis target is no longer supported in gas\nmake[1]: *** [Makefile:5473: configure-gas] Error 1\n\nand:\n\n*** ld does not support target amdgcn-unknown-none\n*** see ld/configure.tgt for supported targets\nmake[1]: *** [Makefile:6968: configure-ld] Error 1\n\nin builds where no explicit `--disable-gas' and `--disable-ld' options \nhave been used with the top-level `configure' script.  Users must not \nhave to disable features selected by default to get a working \nconfiguration.\n\n\t/\n\t* configure.ac <amdgcn-*-*> (noconfigdirs): Add `ld' and `gas'.\n\t* configure: Regenerate.\n---\nHi,\n\n This is following my observation at \n<https://inbox.sourceware.org/binutils/alpine.DEB.2.21.2511111503360.25436@angie.orcam.me.uk/>, \nand I guess fallout from changes around binutils commit 978602e83f03 \n(\"bfd: add AMDGCN architecture\") having not updated the script.\n\n OK to apply?  Obviously correct probably.\n\n  Maciej\n---\n configure    |    1 +\n configure.ac |    1 +\n 2 files changed, 2 insertions(+)\n\nbinutils-amdgcn-no-gas-ld.diff",
    "diff": "Index: binutils-gdb/configure\n===================================================================\n--- binutils-gdb.orig/configure\n+++ binutils-gdb/configure\n@@ -3939,6 +3939,7 @@ case \"${target}\" in\n     noconfigdirs=\"$noconfigdirs sim target-rda\"\n     ;;\n   amdgcn*-*-*)\n+    noconfigdirs=\"$noconfigdirs ld gas\"\n     ;;\n   arm-*-darwin*)\n     noconfigdirs=\"$noconfigdirs ld gas gdb gprof\"\nIndex: binutils-gdb/configure.ac\n===================================================================\n--- binutils-gdb.orig/configure.ac\n+++ binutils-gdb/configure.ac\n@@ -1108,6 +1108,7 @@ case \"${target}\" in\n     noconfigdirs=\"$noconfigdirs sim target-rda\"\n     ;;\n   amdgcn*-*-*)\n+    noconfigdirs=\"$noconfigdirs ld gas\"\n     ;;\n   arm-*-darwin*)\n     noconfigdirs=\"$noconfigdirs ld gas gdb gprof\"\n",
    "prefixes": []
}