{
 "number": 36029,
 "repo": "bitcoin/bitcoin",
 "url": "https://github.com/bitcoin/bitcoin/pull/36029",
 "title": "cmake: Detect and log MinGW-w64 version when cross-compiling for Windows",
 "author": "hebasto",
 "author_association": "MEMBER",
 "created_at": "2026-08-19T21:19:44Z",
 "updated_at": "2026-08-22T20:37:03Z",
 "age_days": 28,
 "draft": false,
 "labels": [
  "Windows",
  "Build system"
 ],
 "milestone": null,
 "base": "master",
 "head_sha": "09cdb3c48872b7a89a70abfaba86830655cc5007",
 "head_ref": "260819-migw-version",
 "head_repo": "hebasto/bitcoin",
 "head_history": [],
 "additions": 36,
 "deletions": 0,
 "changed_files": 2,
 "commit_count": 1,
 "size_bucket": "S",
 "mergeable_state": "blocked",
 "bot": {
  "drahtbot": {
   "present": true,
   "reviews": {
    "ack": [
     {
      "login": "ViniciusCestarii",
      "url": "https://github.com/bitcoin/bitcoin/pull/36029#pullrequestreview-5001006136"
     }
    ]
   },
   "conflicts": []
  }
 },
 "acks_parsed": {},
 "acks_tally": {
  "ack": 0,
  "stale_ack": 0,
  "concept_ack": 0,
  "approach_ack": 0,
  "nack": 0,
  "concept_nack": 0,
  "approach_nack": 0
 },
 "reviews": {
  "approved": 0,
  "changes_requested": 0,
  "distinct_reviewers": [
   "ViniciusCestarii"
  ]
 },
 "signals": {
  "needs_rebase": false,
  "ci_failed": false,
  "mergeable_state": "blocked",
  "last_author_activity": "2026-08-19T21:04:27Z",
  "last_reviewer_activity": "2026-08-22T20:36:59Z",
  "last_reviewer": "ViniciusCestarii",
  "author_silent_days": 28,
  "waiting_on_author_days": 25,
  "days_since_update": 25
 },
 "refs": {
  "mentioned": [],
  "depends_on": [],
  "fixes": [],
  "linked_issues": [],
  "references": [],
  "conflicts": []
 },
 "stack": {
  "shares_commits_with": [],
  "based_on": [],
  "base_for": []
 },
 "review_paths": [],
 "body": "The behaviour of cross-compiled Windows binaries depends heavily on the toolchain components, including [MinGW-w64](https://www.mingw-w64.org/). When the toolchain is not provided by a distro package manager, determining the exact version being used can be difficult.\n\nThis PR detects and logs the MinGW-w64 version when cross-compiling for Windows, simplifying debugging when issues like [this](https://github.com/bitcoin/bitcoin/pull/34578#issuecomment-5344520378) arise.",
 "commits": [
  {
   "sha": "09cdb3c48872b7a89a70abfaba86830655cc5007",
   "date": "2026-08-19T21:04:27Z",
   "message": "cmake: Detect and log MinGW-w64 version when cross-compiling for Windows"
  }
 ],
 "timeline": [
  {
   "t": "2026-08-22T20:36:59Z",
   "kind": "review",
   "who": "ViniciusCestarii",
   "assoc": "CONTRIBUTOR",
   "state": "COMMENTED",
   "commit": "09cdb3c48872b7a89a70abfaba86830655cc5007",
   "text": "tACK 09cdb3c48872b7a89a70abfaba86830655cc5007\n\nCross-compiled for Windows on Arch Linux and the configure summary reports:\n\nCross compiling ....................... TRUE, for Windows, x86_64, using MinGW-w64 14.0.0\n\nwhich matches the mingw-w64 version installed on my system."
  }
 ],
 "labels_log": [
  {
   "t": "2026-08-19T21:19:46Z",
   "action": "labeled",
   "label": "Windows",
   "who": "hebasto"
  },
  {
   "t": "2026-08-19T21:19:46Z",
   "action": "labeled",
   "label": "Build system",
   "who": "hebasto"
  }
 ],
 "state_log": [],
 "text_chars": 893,
 "text_tokens_estimate": 223,
 "changed_paths": [
  "CMakeLists.txt",
  "cmake/module/GetMingwVersion.cmake"
 ],
 "files": [
  {
   "path": "CMakeLists.txt",
   "add": 6,
   "del": 0
  },
  {
   "path": "cmake/module/GetMingwVersion.cmake",
   "add": 30,
   "del": 0
  }
 ],
 "test_lines": 0,
 "git": {
  "head": "09cdb3c48872b7a89a70abfaba86830655cc5007",
  "head_matches_backup": true,
  "base": "367b2202a496c866c485d940864171ca97c514f2",
  "commits": [
   {
    "sha": "09cdb3c488",
    "subject": "cmake: Detect and log MinGW-w64 version when cross-compiling for Windows",
    "files": 2,
    "add": 36,
    "del": 0
   }
  ],
  "patch_truncated": false
 },
 "input_hash": "9c91cc8c4e0fa5cd",
 "extracted_at": "2026-09-17T16:15:31+00:00"
}