{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/38501","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38501/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38501/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38501/events","html_url":"https://github.com/Homebrew/homebrew/issues/38501","id":67483567,"number":38501,"title":"GCC fails to build with Xcode 6.3","user":{"login":"ssbanerje","id":732178,"avatar_url":"https://avatars.githubusercontent.com/u/732178?v=3","gravatar_id":"","url":"https://api.github.com/users/ssbanerje","html_url":"https://github.com/ssbanerje","followers_url":"https://api.github.com/users/ssbanerje/followers","following_url":"https://api.github.com/users/ssbanerje/following{/other_user}","gists_url":"https://api.github.com/users/ssbanerje/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbanerje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbanerje/subscriptions","organizations_url":"https://api.github.com/users/ssbanerje/orgs","repos_url":"https://api.github.com/users/ssbanerje/repos","events_url":"https://api.github.com/users/ssbanerje/events{/privacy}","received_events_url":"https://api.github.com/users/ssbanerje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-10T01:14:06Z","updated_at":"2015-04-28T20:09:41Z","closed_at":null,"body":"I am trying to build OpenMPI for OS X 10.10.3 (Xcode 6.3). As a dependency, it compiles GCC.\r\n\r\nThe GCC build seems to be failing at the moment (I tried it on two computers both running 10.10.3). There seem to be several GCC related open issues, this one in particular might be related to https://github.com/Homebrew/homebrew-versions/issues/738 (however I am not entirely sure).\r\n\r\nThe verbose build log has nearly 20k lines of output, I did a few preliminary searches for \"error\" and \"Error\", and this seems to be the only portions that they are mentioned (in the file `02.make`)--\r\n\r\n```\r\ncc/tree-ssa-threadupdate.o differs\r\ngcc/tree-ssa-uncprop.o differs\r\ngcc/tree-vectorizer.o differs\r\ngcc/valtrack.o differs\r\ngcc/vtable-verify.o differs\r\nmake[2]: *** [compare] Error 1\r\nmake[1]: *** [stage3-bubble] Error 2\r\nmake: *** [bootstrap] Error 2\r\n==> Formula\r\n.....\r\n.....\r\nError: gcc 4.9.2 did not build\r\nLogs:\r\n     /Users/subho/Library/Logs/Homebrew/gcc/01.configure\r\n     /Users/subho/Library/Logs/Homebrew/gcc/01.configure.cc\r\n     /Users/subho/Library/Logs/Homebrew/gcc/02.make\r\n     /Users/subho/Library/Logs/Homebrew/gcc/02.make.cc\r\n\r\nThese open issues may also help:\r\n...\r\n```\r\n\r\n[Link to Logs](https://gist.github.com/e5dcc05b1fb932e4274f)\r\n\r\nAny ideas how to fix this?"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/97192712","html_url":"https://github.com/Homebrew/homebrew/issues/38501#issuecomment-97192712","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38501","id":97192712,"user":{"login":"andrewgho","id":799431,"avatar_url":"https://avatars.githubusercontent.com/u/799431?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewgho","html_url":"https://github.com/andrewgho","followers_url":"https://api.github.com/users/andrewgho/followers","following_url":"https://api.github.com/users/andrewgho/following{/other_user}","gists_url":"https://api.github.com/users/andrewgho/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewgho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewgho/subscriptions","organizations_url":"https://api.github.com/users/andrewgho/orgs","repos_url":"https://api.github.com/users/andrewgho/repos","events_url":"https://api.github.com/users/andrewgho/events{/privacy}","received_events_url":"https://api.github.com/users/andrewgho/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T20:09:41Z","updated_at":"2015-04-28T20:09:41Z","body":"This problem seems to have cropped up again with the Xcode 6.3.1 update, albeit with a smaller set of bootstrap object file comparison problems:\r\n\r\n```sh\r\n$ brew install gcc49\r\n==> Installing gcc49 from homebrew/homebrew-versions\r\n==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2\r\nAlready downloaded: /Library/Caches/Homebrew/gcc49-4.9.2.tar.bz2\r\n==> ../configure --build=x86_64-apple-darwin14.3.0 --prefix=/usr/local/Cellar/gc\r\n==> make bootstrap\r\ngcc/valtrack.o differs\r\ngcc/vtable-verify.o differs\r\nmake[2]: *** [compare] Error 1\r\nmake[1]: *** [stage3-bubble] Error 2\r\nmake: *** [bootstrap] Error 2\r\n```\r\n\r\nThe complete output of `HOMEBREW_MAKE_JOBS=1 brew install -v gcc49 2>&1` can be found here: https://gist.githubusercontent.com/andrewgho/06b5e31dbd7aa9d0ce13/raw/brew_install_gcc49.txt\r\n\r\nThis is on a stock Retina display 12\" MacBook (the new 2015 model), with the Apple factory installed Yosemite, after all software updates as of April 27, 2015 were applied. Precise software versions:\r\n\r\n```sh\r\n$ uname -a\r\nDarwin Andrews-MacBook.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64\r\n```\r\n\r\n```sh\r\n$ xcodebuild -version\r\nXcode 6.3.1\r\nBuild version 6D1002\r\n```\r\n\r\n```sh\r\n$ brew config\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew\r\nHEAD: 4cb6a9a9886b40c27c2d4f729ae66682717e27d4\r\nLast commit: 3 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nCPU: quad-core 64-bit broadwell\r\nOS X: 10.10.3-x86_64\r\nXcode: 6.3.1\r\nCLT: N/A\r\nClang: 6.1 build 602\r\nX11: N/A\r\nSystem Ruby: 2.0.0-p481\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby\r\nJava: N/A\r\n```\r\n\r\nHomebrew itself is up to date and reports no errors (this is a fresh Homebrew installation):\r\n\r\n```sh\r\n$ brew update\r\nAlready up-to-date.\r\n```\r\n\r\n```sh\r\n$ brew doctor\r\nYour system is ready to brew.\r\n```\r\n\r\nThis blocks RVM installation of any old Ruby versions (like Ruby 1.9.3 or earlier)."}}