)]}'
{
  "commit": "c7282ce59753dd809ca567d045dc356d56b88fe2",
  "tree": "c9a7dc028e039d1e8ecc8192137adfc444336788",
  "parents": [
    "654eb1f70643a2c57b3c6a31c250c1213a23aa4f"
  ],
  "author": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Mon Aug 10 13:56:09 2026 +0800"
  },
  "committer": {
    "name": "Jonathan Yong",
    "email": "10walls@gmail.com",
    "time": "Fri Aug 14 13:23:52 2026 +0000"
  },
  "message": "gcc/mingw32: Do not export `HOST_EXTRA_OBJS_SYMBOL`\n\nWhen building with `--enable-plugin`, the linker is passed `--export-all-symbols`\nso it attempts to export `HOST_EXTRA_OBJS_SYMBOL` which is an artificial symbol\nand is not prefixed with an underscore. For i686, the convention is that if the\nlinker is told to export `foo`, it looks for `_foo`. Therefore in this case it\nattempts to export `_HOST_EXTRA_OBJS_SYMBOL` which isn\u0027t defined:\n\n   ld.exe: cannot export HOST_EXTRA_OBJS_SYMBOL: symbol not found\n   collect2.exe: error: ld returned 1 exit status\n\nSince this symbol is only used to create a reference to pull in the manifest\nresource for an image, the fix is to mark it as `visibility(\"hidden\")` so it\nwill not be exported, despite `--export-all-symbols`.\n\nIn addition, since this is a C++ file, `extern \"C\"` is added for correctness.\n\ngcc/ChangeLog:\n\n\t* config/i386/sym-mingw32.cc: Add `extern \"C\"` and `visibility(\"hidden\")`.\n\nSigned-off-by: Jonathan Yong \u003c10walls@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2f8dee6c1ecd03f7b3311cdbb33b84d2e306b71b",
      "old_mode": 33188,
      "old_path": "gcc/config/i386/sym-mingw32.cc",
      "new_id": "5403dd2cfe98dd97389f500be98e4d352482168f",
      "new_mode": 33188,
      "new_path": "gcc/config/i386/sym-mingw32.cc"
    }
  ]
}
