{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577/events","html_url":"https://github.com/commercialhaskell/stack/issues/2577","id":176216600,"number":2577,"title":"GHC panic when building Stack on macOS Sierra","user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars.githubusercontent.com/u/320177?v=3","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"labels":[{"id":273325101,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/component:%20os%20x","name":"component: os x","color":"bfdadc","default":false},{"id":309122006,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/resolution:%20upstream%20issue","name":"resolution: upstream issue","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":69,"created_at":"2016-09-11T03:07:48Z","updated_at":"2016-11-22T22:18:26Z","closed_at":null,"body":"GHC 7.10.3\n\n```\nstack upgrade --git\n```\n\n```\n$ uname -a\nDarwin cumae.local 16.0.0 Darwin Kernel Version 16.0.0: Tue Aug 23 17:02:44 PDT 2016; root:xnu-3789.1.31~2/RELEASE_X86_64 x86_64\n```\n\nXcode 8.0 GM, macOS Sierra\n\n```\nPreprocessing library stack-1.2.1...\n[ 1 of 96] Compiling Text.PrettyPrint.Leijen.Extended ( src/Text/PrettyPrint/Leijen/Extended.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Text/PrettyPrint/Leijen/Extended.o )\n[ 2 of 96] Compiling Stack.Ghci.Script ( src/Stack/Ghci/Script.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/Ghci/Script.o )\n[ 3 of 96] Compiling Stack.FileWatch  ( src/Stack/FileWatch.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Stack/FileWatch.o )\n[ 4 of 96] Compiling System.Process.PagerEditor ( src/System/Process/PagerEditor.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/PagerEditor.o )\n[ 5 of 96] Compiling System.Process.Log ( src/System/Process/Log.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/Log.o )\n[ 6 of 96] Compiling Paths_stack      ( .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/autogen/Paths_stack.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Paths_stack.o )\n[ 7 of 96] Compiling Path.Find        ( src/Path/Find.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Find.o )\n[ 8 of 96] Compiling Path.Extra       ( src/Path/Extra.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/Path/Extra.o )\n[ 9 of 96] Compiling System.Process.Read ( src/System/Process/Read.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.5.0/build/System/Process/Read.o )\nghc: panic! (the 'impossible' happened)\n  (GHC version 7.10.3 for x86_64-apple-darwin):\n        Loading temp shared object failed: dlopen(/var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/ghc29687_0/libghc_55.dylib, 5): no suitable image found.  Did find:\n        /var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/ghc29687_0/libghc_55.dylib: malformed mach-o: load commands size (46680) > 32768\n\nPlease report this as a GHC bug:  http://www.haskell.org/ghc/reportabug\n\nCompleted 178 action(s).\n\n--  While building package stack-1.2.1 using:\n      /private/var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/stack-upgrade18342/stack/.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.5.0 build lib:stack exe:stack --ghc-options \" -ddump-hi -ddump-to-file\"\n    Process exited with code: ExitFailure 1\n```\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/262382765","html_url":"https://github.com/commercialhaskell/stack/issues/2577#issuecomment-262382765","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577","id":262382765,"user":{"login":"shanemikel","id":6720672,"avatar_url":"https://avatars.githubusercontent.com/u/6720672?v=3","gravatar_id":"","url":"https://api.github.com/users/shanemikel","html_url":"https://github.com/shanemikel","followers_url":"https://api.github.com/users/shanemikel/followers","following_url":"https://api.github.com/users/shanemikel/following{/other_user}","gists_url":"https://api.github.com/users/shanemikel/gists{/gist_id}","starred_url":"https://api.github.com/users/shanemikel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanemikel/subscriptions","organizations_url":"https://api.github.com/users/shanemikel/orgs","repos_url":"https://api.github.com/users/shanemikel/repos","events_url":"https://api.github.com/users/shanemikel/events{/privacy}","received_events_url":"https://api.github.com/users/shanemikel/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T22:18:25Z","updated_at":"2016-11-22T22:18:25Z","body":"@chadbrewbaker as of the time of this comment, the progress is at 99%.  https://ghc.haskell.org/trac/ghc/roadmap\r\n\r\nThere's an open issue on this repo for backporting the relevant fixes (which I believe are available now), but... Well you can see for yourself, nobody's done it yet."}}
{"actor":{"display_login":"shanemikel"}}