{"action":"created","issue":{"url":"https://api.github.com/repos/tweag/rules_haskell/issues/304","repository_url":"https://api.github.com/repos/tweag/rules_haskell","labels_url":"https://api.github.com/repos/tweag/rules_haskell/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/tweag/rules_haskell/issues/304/comments","events_url":"https://api.github.com/repos/tweag/rules_haskell/issues/304/events","html_url":"https://github.com/tweag/rules_haskell/pull/304","id":330952074,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODE1ODc3","number":304,"title":"Tether haskell toolchain and CC toolchain","user":{"login":"mboes","id":51356,"node_id":"MDQ6VXNlcjUxMzU2","avatar_url":"https://avatars1.githubusercontent.com/u/51356?v=4","gravatar_id":"","url":"https://api.github.com/users/mboes","html_url":"https://github.com/mboes","followers_url":"https://api.github.com/users/mboes/followers","following_url":"https://api.github.com/users/mboes/following{/other_user}","gists_url":"https://api.github.com/users/mboes/gists{/gist_id}","starred_url":"https://api.github.com/users/mboes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboes/subscriptions","organizations_url":"https://api.github.com/users/mboes/orgs","repos_url":"https://api.github.com/users/mboes/repos","events_url":"https://api.github.com/users/mboes/events{/privacy}","received_events_url":"https://api.github.com/users/mboes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-06-10T08:55:21Z","updated_at":"2018-07-01T19:41:58Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/tweag/rules_haskell/pulls/304","html_url":"https://github.com/tweag/rules_haskell/pull/304","diff_url":"https://github.com/tweag/rules_haskell/pull/304.diff","patch_url":"https://github.com/tweag/rules_haskell/pull/304.patch"},"body":"GHC calls GCC itself when it wants to do some linking, assembly, or\npreprocessing. The problem is, GHC might not be calling the same GCC we\nexpect. While we expect the GCC autodected for the Bazel CC toolchain, GHC\nuses whatever GCC is found in a `settings` file that it ships with.\n\nThe key is to override the defaults by passing `-pgm*` flags to GHC. In\nthis way, GHC uses the same GCC as the rest of the Bazel rules, hence\navoiding any potential linker issues.\n\nFixes #250."},"comment":{"url":"https://api.github.com/repos/tweag/rules_haskell/issues/comments/401628432","html_url":"https://github.com/tweag/rules_haskell/pull/304#issuecomment-401628432","issue_url":"https://api.github.com/repos/tweag/rules_haskell/issues/304","id":401628432,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTYyODQzMg==","user":{"login":"mboes","id":51356,"node_id":"MDQ6VXNlcjUxMzU2","avatar_url":"https://avatars1.githubusercontent.com/u/51356?v=4","gravatar_id":"","url":"https://api.github.com/users/mboes","html_url":"https://github.com/mboes","followers_url":"https://api.github.com/users/mboes/followers","following_url":"https://api.github.com/users/mboes/following{/other_user}","gists_url":"https://api.github.com/users/mboes/gists{/gist_id}","starred_url":"https://api.github.com/users/mboes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboes/subscriptions","organizations_url":"https://api.github.com/users/mboes/orgs","repos_url":"https://api.github.com/users/mboes/repos","events_url":"https://api.github.com/users/mboes/events{/privacy}","received_events_url":"https://api.github.com/users/mboes/received_events","type":"User","site_admin":false},"created_at":"2018-07-01T19:41:58Z","updated_at":"2018-07-01T19:41:58Z","author_association":"MEMBER","body":"@iphydf @ruuda could you confirm this PR fixes #259 for you even on Ubuntu 16.04 and Arch? Travis seems to say that it has: https://travis-ci.com/iphydf/repro259/builds/77803230."}}
{"actor":{"display_login":"mboes"}}