{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/4719","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4719/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4719/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4719/events","html_url":"https://github.com/crystal-lang/crystal/issues/4719","id":243279187,"number":4719,"title":"LLVM LexicalScopes build exception when building with --release flag","user":{"login":"fridgerator","id":2133368,"avatar_url":"https://avatars3.githubusercontent.com/u/2133368?v=4","gravatar_id":"","url":"https://api.github.com/users/fridgerator","html_url":"https://github.com/fridgerator","followers_url":"https://api.github.com/users/fridgerator/followers","following_url":"https://api.github.com/users/fridgerator/following{/other_user}","gists_url":"https://api.github.com/users/fridgerator/gists{/gist_id}","starred_url":"https://api.github.com/users/fridgerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fridgerator/subscriptions","organizations_url":"https://api.github.com/users/fridgerator/orgs","repos_url":"https://api.github.com/users/fridgerator/repos","events_url":"https://api.github.com/users/fridgerator/events{/privacy}","received_events_url":"https://api.github.com/users/fridgerator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":42,"created_at":"2017-07-17T00:59:49Z","updated_at":"2017-08-24T09:53:13Z","closed_at":null,"body":"I was able to build fine in OSX, however Ubuntu 16.04 is failing with this error:\r\n\r\n`remote: crystal: /var/cache/omnibus/src/llvm/llvm-3.8.1.src/lib/CodeGen/LexicalScopes.cpp:160: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(const llvm::DILocalScope*): Assertion `cast<DISubprogram>(Scope)->describes(MF->getFunction())' failed.`\r\n\r\nOriginally reported by @crisward [here](https://github.com/crystal-lang/crystal/issues/4647#issuecomment-314542532)\r\n\r\nReplicated by @hak8or and @matiasgarciaisaia.   @matiasgarciaisaia mentioned that building with `--no-debug` works as a temporary workaround."},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/324589568","html_url":"https://github.com/crystal-lang/crystal/issues/4719#issuecomment-324589568","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4719","id":324589568,"user":{"login":"ysbaddaden","id":47380,"avatar_url":"https://avatars3.githubusercontent.com/u/47380?v=4","gravatar_id":"","url":"https://api.github.com/users/ysbaddaden","html_url":"https://github.com/ysbaddaden","followers_url":"https://api.github.com/users/ysbaddaden/followers","following_url":"https://api.github.com/users/ysbaddaden/following{/other_user}","gists_url":"https://api.github.com/users/ysbaddaden/gists{/gist_id}","starred_url":"https://api.github.com/users/ysbaddaden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysbaddaden/subscriptions","organizations_url":"https://api.github.com/users/ysbaddaden/orgs","repos_url":"https://api.github.com/users/ysbaddaden/repos","events_url":"https://api.github.com/users/ysbaddaden/events{/privacy}","received_events_url":"https://api.github.com/users/ysbaddaden/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T09:53:13Z","updated_at":"2017-08-24T09:53:13Z","body":"Because of #4276: distributing a segfaulting compiler would be a bad experience ! Because of macOS, and other platforms could be added to omnibus."}}
{"actor":{"display_login":"ysbaddaden"}}