)]}'
{
  "commit": "2aeaeba66857c561dd6d63c79a213f1cabc3650d",
  "tree": "ff65f89aa0d924e6c28ab22b9b07dcfc590c770a",
  "parents": [
    "d7f87aa4c3bbe1503d43b991551c2d1d156e52bb"
  ],
  "author": {
    "name": "John Millikin",
    "email": "jmillikin@stripe.com",
    "time": "Tue Dec 12 08:13:08 2017 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Tue Dec 12 08:14:38 2017 -0800"
  },
  "message": "When linking mostly-static Linux binaries, link libstdc++.a explicitly.\n\nThis allows libstdc++ to be statically linked, which is normally only\npossible when invoking GCC as `g++` with the `-static-libstdc++` flag.\n\nFixes https://github.com/bazelbuild/bazel/issues/2840\n\nSee https://github.com/envoyproxy/envoy/issues/415 for additional\nbackground and context.\n\ncc @htuch (for Envoy) and @calpeyser @hlopko (who I talked to earlier about this)\n\nI\u0027m only doing this in the Linux toolchain because MacOS doesn\u0027t do static linking of system libs anyway, and I don\u0027t know enough about Windows or FreeBSD to test on those platforms.\n\nCloses #4031.\n\nPiperOrigin-RevId: 178762357\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0f2ddd1fa909a45b863598dfbdc0b2f08103b950",
      "old_mode": 33188,
      "old_path": "src/test/shell/bazel/BUILD",
      "new_id": "d5a34b2b40eda1fd87a34b03bbb1e2fcac0d0437",
      "new_mode": 33188,
      "new_path": "src/test/shell/bazel/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c120ecb3d046f7c2309c5455750ffeff809f9978",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/cc_static_binary_test.sh"
    },
    {
      "type": "modify",
      "old_id": "fde278ee3084fc217156cc99d72b9b0f3e15a4a0",
      "old_mode": 33261,
      "old_path": "src/test/shell/testenv.sh",
      "new_id": "7594e5304f00516de6cbcaca133228a162cb3144",
      "new_mode": 33261,
      "new_path": "src/test/shell/testenv.sh"
    },
    {
      "type": "modify",
      "old_id": "e75e5e25dc949532daf622b77f1f68d7768dc29c",
      "old_mode": 33188,
      "old_path": "tools/cpp/CROSSTOOL.tpl",
      "new_id": "2b86bbb06e8e698afc6a23d8133cf35923f3e35b",
      "new_mode": 33188,
      "new_path": "tools/cpp/CROSSTOOL.tpl"
    },
    {
      "type": "modify",
      "old_id": "9814831db75892a86f359ff839dbbf6fbdbcdef9",
      "old_mode": 33188,
      "old_path": "tools/cpp/unix_cc_configure.bzl",
      "new_id": "e7c099eeed5d2f42b6a36a2ced8901e17ce4e67e",
      "new_mode": 33188,
      "new_path": "tools/cpp/unix_cc_configure.bzl"
    },
    {
      "type": "modify",
      "old_id": "666592622e111c4d486bf9ab04d1681adaeba86f",
      "old_mode": 33188,
      "old_path": "tools/cpp/windows_cc_configure.bzl",
      "new_id": "7e2532b02413fafd5fd883ab5f75f2f8c13fdd75",
      "new_mode": 33188,
      "new_path": "tools/cpp/windows_cc_configure.bzl"
    }
  ]
}
