{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/33731","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/33731/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/33731/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/33731/events","html_url":"https://github.com/Homebrew/homebrew/issues/33731","id":47259265,"number":33731,"title":"--cc=gcc-4.9 gets me in an infinite loop","user":{"login":"rhendric","id":1570964,"avatar_url":"https://avatars.githubusercontent.com/u/1570964?v=3","gravatar_id":"","url":"https://api.github.com/users/rhendric","html_url":"https://github.com/rhendric","followers_url":"https://api.github.com/users/rhendric/followers","following_url":"https://api.github.com/users/rhendric/following{/other_user}","gists_url":"https://api.github.com/users/rhendric/gists{/gist_id}","starred_url":"https://api.github.com/users/rhendric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhendric/subscriptions","organizations_url":"https://api.github.com/users/rhendric/orgs","repos_url":"https://api.github.com/users/rhendric/repos","events_url":"https://api.github.com/users/rhendric/events{/privacy}","received_events_url":"https://api.github.com/users/rhendric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/10.6","name":"10.6","color":"9932CC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-30T11:33:03Z","updated_at":"2015-05-20T13:10:22Z","closed_at":null,"body":"Encountered this while trying to compile wine, although I can repro it with a simple `brew sh --cc=gcc-4.9`\r\n\r\nTo wit:\r\n```\r\n$ brew install gcc\r\n[...]\r\n$ brew sh --cc=gcc-4.9\r\n[...]\r\n$ HOMEBREW_CC_LOG_PATH=log gcc -v # this will hang; Ctrl+C\r\n^C\r\n$ cat log.cc\r\ngcc called with: -v\r\nsuperenv executed: gcc-4.9 -v\r\n\r\ngcc-4.9 called with: -v\r\nsuperenv executed: gcc-4.9 -v\r\n\r\ngcc-4.9 called with: -v\r\nsuperenv executed: gcc-4.9 -v\r\n[and so on...]\r\n```\r\n\r\nMy `brew --config`:\r\n```\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew.git\r\nHEAD: 60d4c157306c6d9a40cae4a02a094f92f18576b0\r\nLast commit: 7 hours ago\r\nHOMEBREW_PREFIX: /Homebrew\r\nHOMEBREW_CELLAR: /Homebrew/Cellar\r\nCPU: dual-core 64-bit penryn\r\nOS X: 10.6.8-i386\r\nXcode: 4.2\r\nLLVM-GCC: build 2336\r\nClang: 3.0 build 211\r\nX11: 2.7.7 => /opt/X11\r\nSystem Ruby: 1.8.7-358\r\nPerl: /usr/bin/perl\r\nPython: /Homebrew/bin/python => /Homebrew/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/103878181","html_url":"https://github.com/Homebrew/homebrew/issues/33731#issuecomment-103878181","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/33731","id":103878181,"user":{"login":"rhendric","id":1570964,"avatar_url":"https://avatars.githubusercontent.com/u/1570964?v=3","gravatar_id":"","url":"https://api.github.com/users/rhendric","html_url":"https://github.com/rhendric","followers_url":"https://api.github.com/users/rhendric/followers","following_url":"https://api.github.com/users/rhendric/following{/other_user}","gists_url":"https://api.github.com/users/rhendric/gists{/gist_id}","starred_url":"https://api.github.com/users/rhendric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhendric/subscriptions","organizations_url":"https://api.github.com/users/rhendric/orgs","repos_url":"https://api.github.com/users/rhendric/repos","events_url":"https://api.github.com/users/rhendric/events{/privacy}","received_events_url":"https://api.github.com/users/rhendric/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T13:10:22Z","updated_at":"2015-05-20T13:10:22Z","body":"If there are things I could investigate or test, I'd be happy to help. I'm mostly just limited by not understanding what the desired behavior is here."}}