{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13","id":33138477,"html_url":"https://github.com/boxen/puppet-gcc/pull/13","diff_url":"https://github.com/boxen/puppet-gcc/pull/13.diff","patch_url":"https://github.com/boxen/puppet-gcc/pull/13.patch","issue_url":"https://api.github.com/repos/boxen/puppet-gcc/issues/13","number":13,"state":"closed","locked":false,"title":"gcc: Work around broken bootstrap with Xcode 6.3","user":{"login":"mriddle","id":672956,"avatar_url":"https://avatars.githubusercontent.com/u/672956?v=3","gravatar_id":"","url":"https://api.github.com/users/mriddle","html_url":"https://github.com/mriddle","followers_url":"https://api.github.com/users/mriddle/followers","following_url":"https://api.github.com/users/mriddle/following{/other_user}","gists_url":"https://api.github.com/users/mriddle/gists{/gist_id}","starred_url":"https://api.github.com/users/mriddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriddle/subscriptions","organizations_url":"https://api.github.com/users/mriddle/orgs","repos_url":"https://api.github.com/users/mriddle/repos","events_url":"https://api.github.com/users/mriddle/events{/privacy}","received_events_url":"https://api.github.com/users/mriddle/received_events","type":"User","site_admin":false},"body":"There's an issue that prevents gcc being compiled successfully with Xcode 6.3\r\n\r\n[Details](https://github.com/Homebrew/homebrew/issues/38501)\r\n\r\n[There's a workaround described here](https://github.com/Homebrew/homebrew/issues/38501#issuecomment-91678230)\r\n\r\n__Excerpt__\r\n\r\n---\r\n\r\n> I have no proper solution, but I can offer an explanation and a workaround.\r\n\r\n> **Explanation:** Building GCC usually means building several intermediate compilers, i.e. the host compiler (Clang on OS X) builds a stage 1 GCC. Stage 1 then builds stage 2 and stage 2 builds stage 3. To ensure that the built compiler is not broken, the build system compares the object files of stage 2 and 3, which fails with Xcode 6.3 and/or OS X 10.10.3 (not sure what the culprit is). Excerpt from 02.make (unfortunately several lines above the output from Homebrew):\r\n\r\n> ```\r\nComparing stages 2 and 3\r\nwarning: gcc/cc1-checksum.o differs\r\nwarning: gcc/cc1obj-checksum.o differs\r\nwarning: gcc/cc1objplus-checksum.o differs\r\nwarning: gcc/cc1plus-checksum.o differs\r\nBootstrap comparison failure!\r\ngcc/asan.o differs\r\ngcc/attribs.o differs\r\n[…]\r\n```\r\n\r\n> The thing is, the object files are indeed different, but the difference is only to be found in the debug information (it is equivalent, but not bit-for-bit identical). On the other hand, the actual machine code is indeed bit-for-bit identical, as can be seen by stripping the object files.\r\n\r\n> **Workaround**: The trick is to use the knowledge from the explanation above and to instruct the GCC build system to compare stripped object files, by passing the additional configure flag --with-build-config=bootstrap-debug (see https://gcc.gnu.org/install/build.html for details). This should go somewhere into the args array in [gcc.rb](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/gcc.rb#L87-109) (line 87-109).\r\n\r\n---\r\n\r\n","created_at":"2015-04-13T06:27:06Z","updated_at":"2015-04-24T21:42:48Z","closed_at":"2015-04-24T21:42:48Z","merged_at":"2015-04-24T21:42:48Z","merge_commit_sha":"2d77f8b036de770255814ad26268ea3a0ba7b10d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13/commits","review_comments_url":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13/comments","review_comment_url":"https://api.github.com/repos/boxen/puppet-gcc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boxen/puppet-gcc/issues/13/comments","statuses_url":"https://api.github.com/repos/boxen/puppet-gcc/statuses/e267b5bf4bc4d53b59ba994f866ef4039d80c46b","head":{"label":"mriddle:gcc-xcode-6-3-bug","ref":"gcc-xcode-6-3-bug","sha":"e267b5bf4bc4d53b59ba994f866ef4039d80c46b","user":{"login":"mriddle","id":672956,"avatar_url":"https://avatars.githubusercontent.com/u/672956?v=3","gravatar_id":"","url":"https://api.github.com/users/mriddle","html_url":"https://github.com/mriddle","followers_url":"https://api.github.com/users/mriddle/followers","following_url":"https://api.github.com/users/mriddle/following{/other_user}","gists_url":"https://api.github.com/users/mriddle/gists{/gist_id}","starred_url":"https://api.github.com/users/mriddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriddle/subscriptions","organizations_url":"https://api.github.com/users/mriddle/orgs","repos_url":"https://api.github.com/users/mriddle/repos","events_url":"https://api.github.com/users/mriddle/events{/privacy}","received_events_url":"https://api.github.com/users/mriddle/received_events","type":"User","site_admin":false},"repo":{"id":33848328,"name":"puppet-gcc","full_name":"mriddle/puppet-gcc","owner":{"login":"mriddle","id":672956,"avatar_url":"https://avatars.githubusercontent.com/u/672956?v=3","gravatar_id":"","url":"https://api.github.com/users/mriddle","html_url":"https://github.com/mriddle","followers_url":"https://api.github.com/users/mriddle/followers","following_url":"https://api.github.com/users/mriddle/following{/other_user}","gists_url":"https://api.github.com/users/mriddle/gists{/gist_id}","starred_url":"https://api.github.com/users/mriddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriddle/subscriptions","organizations_url":"https://api.github.com/users/mriddle/orgs","repos_url":"https://api.github.com/users/mriddle/repos","events_url":"https://api.github.com/users/mriddle/events{/privacy}","received_events_url":"https://api.github.com/users/mriddle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mriddle/puppet-gcc","description":"Apple GCC 4.2 for Boxen","fork":true,"url":"https://api.github.com/repos/mriddle/puppet-gcc","forks_url":"https://api.github.com/repos/mriddle/puppet-gcc/forks","keys_url":"https://api.github.com/repos/mriddle/puppet-gcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mriddle/puppet-gcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mriddle/puppet-gcc/teams","hooks_url":"https://api.github.com/repos/mriddle/puppet-gcc/hooks","issue_events_url":"https://api.github.com/repos/mriddle/puppet-gcc/issues/events{/number}","events_url":"https://api.github.com/repos/mriddle/puppet-gcc/events","assignees_url":"https://api.github.com/repos/mriddle/puppet-gcc/assignees{/user}","branches_url":"https://api.github.com/repos/mriddle/puppet-gcc/branches{/branch}","tags_url":"https://api.github.com/repos/mriddle/puppet-gcc/tags","blobs_url":"https://api.github.com/repos/mriddle/puppet-gcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mriddle/puppet-gcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mriddle/puppet-gcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/mriddle/puppet-gcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mriddle/puppet-gcc/statuses/{sha}","languages_url":"https://api.github.com/repos/mriddle/puppet-gcc/languages","stargazers_url":"https://api.github.com/repos/mriddle/puppet-gcc/stargazers","contributors_url":"https://api.github.com/repos/mriddle/puppet-gcc/contributors","subscribers_url":"https://api.github.com/repos/mriddle/puppet-gcc/subscribers","subscription_url":"https://api.github.com/repos/mriddle/puppet-gcc/subscription","commits_url":"https://api.github.com/repos/mriddle/puppet-gcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/mriddle/puppet-gcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/mriddle/puppet-gcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/mriddle/puppet-gcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/mriddle/puppet-gcc/contents/{+path}","compare_url":"https://api.github.com/repos/mriddle/puppet-gcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mriddle/puppet-gcc/merges","archive_url":"https://api.github.com/repos/mriddle/puppet-gcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mriddle/puppet-gcc/downloads","issues_url":"https://api.github.com/repos/mriddle/puppet-gcc/issues{/number}","pulls_url":"https://api.github.com/repos/mriddle/puppet-gcc/pulls{/number}","milestones_url":"https://api.github.com/repos/mriddle/puppet-gcc/milestones{/number}","notifications_url":"https://api.github.com/repos/mriddle/puppet-gcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mriddle/puppet-gcc/labels{/name}","releases_url":"https://api.github.com/repos/mriddle/puppet-gcc/releases{/id}","created_at":"2015-04-13T04:47:35Z","updated_at":"2015-04-13T05:04:50Z","pushed_at":"2015-04-14T04:40:00Z","git_url":"git://github.com/mriddle/puppet-gcc.git","ssh_url":"git@github.com:mriddle/puppet-gcc.git","clone_url":"https://github.com/mriddle/puppet-gcc.git","svn_url":"https://github.com/mriddle/puppet-gcc","homepage":null,"size":165,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"boxen:master","ref":"master","sha":"7e6e0c986028e2026fb94451c7e788d6626089f9","user":{"login":"boxen","id":1800808,"avatar_url":"https://avatars.githubusercontent.com/u/1800808?v=3","gravatar_id":"","url":"https://api.github.com/users/boxen","html_url":"https://github.com/boxen","followers_url":"https://api.github.com/users/boxen/followers","following_url":"https://api.github.com/users/boxen/following{/other_user}","gists_url":"https://api.github.com/users/boxen/gists{/gist_id}","starred_url":"https://api.github.com/users/boxen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxen/subscriptions","organizations_url":"https://api.github.com/users/boxen/orgs","repos_url":"https://api.github.com/users/boxen/repos","events_url":"https://api.github.com/users/boxen/events{/privacy}","received_events_url":"https://api.github.com/users/boxen/received_events","type":"Organization","site_admin":false},"repo":{"id":7861052,"name":"puppet-gcc","full_name":"boxen/puppet-gcc","owner":{"login":"boxen","id":1800808,"avatar_url":"https://avatars.githubusercontent.com/u/1800808?v=3","gravatar_id":"","url":"https://api.github.com/users/boxen","html_url":"https://github.com/boxen","followers_url":"https://api.github.com/users/boxen/followers","following_url":"https://api.github.com/users/boxen/following{/other_user}","gists_url":"https://api.github.com/users/boxen/gists{/gist_id}","starred_url":"https://api.github.com/users/boxen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxen/subscriptions","organizations_url":"https://api.github.com/users/boxen/orgs","repos_url":"https://api.github.com/users/boxen/repos","events_url":"https://api.github.com/users/boxen/events{/privacy}","received_events_url":"https://api.github.com/users/boxen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boxen/puppet-gcc","description":"Apple GCC 4.2 for Boxen","fork":false,"url":"https://api.github.com/repos/boxen/puppet-gcc","forks_url":"https://api.github.com/repos/boxen/puppet-gcc/forks","keys_url":"https://api.github.com/repos/boxen/puppet-gcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boxen/puppet-gcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boxen/puppet-gcc/teams","hooks_url":"https://api.github.com/repos/boxen/puppet-gcc/hooks","issue_events_url":"https://api.github.com/repos/boxen/puppet-gcc/issues/events{/number}","events_url":"https://api.github.com/repos/boxen/puppet-gcc/events","assignees_url":"https://api.github.com/repos/boxen/puppet-gcc/assignees{/user}","branches_url":"https://api.github.com/repos/boxen/puppet-gcc/branches{/branch}","tags_url":"https://api.github.com/repos/boxen/puppet-gcc/tags","blobs_url":"https://api.github.com/repos/boxen/puppet-gcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boxen/puppet-gcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boxen/puppet-gcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/boxen/puppet-gcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boxen/puppet-gcc/statuses/{sha}","languages_url":"https://api.github.com/repos/boxen/puppet-gcc/languages","stargazers_url":"https://api.github.com/repos/boxen/puppet-gcc/stargazers","contributors_url":"https://api.github.com/repos/boxen/puppet-gcc/contributors","subscribers_url":"https://api.github.com/repos/boxen/puppet-gcc/subscribers","subscription_url":"https://api.github.com/repos/boxen/puppet-gcc/subscription","commits_url":"https://api.github.com/repos/boxen/puppet-gcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/boxen/puppet-gcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/boxen/puppet-gcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/boxen/puppet-gcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/boxen/puppet-gcc/contents/{+path}","compare_url":"https://api.github.com/repos/boxen/puppet-gcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boxen/puppet-gcc/merges","archive_url":"https://api.github.com/repos/boxen/puppet-gcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boxen/puppet-gcc/downloads","issues_url":"https://api.github.com/repos/boxen/puppet-gcc/issues{/number}","pulls_url":"https://api.github.com/repos/boxen/puppet-gcc/pulls{/number}","milestones_url":"https://api.github.com/repos/boxen/puppet-gcc/milestones{/number}","notifications_url":"https://api.github.com/repos/boxen/puppet-gcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boxen/puppet-gcc/labels{/name}","releases_url":"https://api.github.com/repos/boxen/puppet-gcc/releases{/id}","created_at":"2013-01-28T01:34:45Z","updated_at":"2015-01-23T04:12:28Z","pushed_at":"2015-04-24T21:42:48Z","git_url":"git://github.com/boxen/puppet-gcc.git","ssh_url":"git@github.com:boxen/puppet-gcc.git","clone_url":"https://github.com/boxen/puppet-gcc.git","svn_url":"https://github.com/boxen/puppet-gcc","homepage":null,"size":389,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13"},"html":{"href":"https://github.com/boxen/puppet-gcc/pull/13"},"issue":{"href":"https://api.github.com/repos/boxen/puppet-gcc/issues/13"},"comments":{"href":"https://api.github.com/repos/boxen/puppet-gcc/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/boxen/puppet-gcc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boxen/puppet-gcc/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/boxen/puppet-gcc/statuses/e267b5bf4bc4d53b59ba994f866ef4039d80c46b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"seanknox","id":1231630,"avatar_url":"https://avatars.githubusercontent.com/u/1231630?v=3","gravatar_id":"","url":"https://api.github.com/users/seanknox","html_url":"https://github.com/seanknox","followers_url":"https://api.github.com/users/seanknox/followers","following_url":"https://api.github.com/users/seanknox/following{/other_user}","gists_url":"https://api.github.com/users/seanknox/gists{/gist_id}","starred_url":"https://api.github.com/users/seanknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanknox/subscriptions","organizations_url":"https://api.github.com/users/seanknox/orgs","repos_url":"https://api.github.com/users/seanknox/repos","events_url":"https://api.github.com/users/seanknox/events{/privacy}","received_events_url":"https://api.github.com/users/seanknox/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":4,"deletions":1,"changed_files":2}}