{"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 bug when upgrading to Stack master 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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-09-11T03:07:48Z","updated_at":"2016-09-16T04:59:09Z","closed_at":null,"body":"GHC 7.10.3\r\n\r\n```\r\nstack upgrade --git\r\n```\r\n\r\n```\r\n$ uname -a\r\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\r\n```\r\n\r\nXcode 8.0 GM, macOS Sierra\r\n\r\n```\r\nPreprocessing library stack-1.2.1...\r\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 )\r\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 )\r\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 )\r\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 )\r\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 )\r\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 )\r\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 )\r\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 )\r\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 )\r\nghc: panic! (the 'impossible' happened)\r\n  (GHC version 7.10.3 for x86_64-apple-darwin):\r\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:\r\n        /var/folders/79/6lft40kj3cqb9f08_8yfg3vr0000gn/T/ghc29687_0/libghc_55.dylib: malformed mach-o: load commands size (46680) > 32768\r\n\r\nPlease report this as a GHC bug:  http://www.haskell.org/ghc/reportabug\r\n\r\nCompleted 178 action(s).\r\n\r\n--  While building package stack-1.2.1 using:\r\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\"\r\n    Process exited with code: ExitFailure 1\r\n```"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/247518543","html_url":"https://github.com/commercialhaskell/stack/issues/2577#issuecomment-247518543","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2577","id":247518543,"user":{"login":"cartazio","id":4290,"avatar_url":"https://avatars.githubusercontent.com/u/4290?v=3","gravatar_id":"","url":"https://api.github.com/users/cartazio","html_url":"https://github.com/cartazio","followers_url":"https://api.github.com/users/cartazio/followers","following_url":"https://api.github.com/users/cartazio/following{/other_user}","gists_url":"https://api.github.com/users/cartazio/gists{/gist_id}","starred_url":"https://api.github.com/users/cartazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartazio/subscriptions","organizations_url":"https://api.github.com/users/cartazio/orgs","repos_url":"https://api.github.com/users/cartazio/repos","events_url":"https://api.github.com/users/cartazio/events{/privacy}","received_events_url":"https://api.github.com/users/cartazio/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T04:59:09Z","updated_at":"2016-09-16T04:59:09Z","body":"I'm pretty sure split objects is the default for the libraries.  Could you\ntry disabling that? I could be misremembering.  Also I'm totally weak at\nlinker stuff\n\nOn Friday, September 16, 2016, ilovezfs <notifications@github.com> wrote:\n\n> His current theory is that somehow the offending builds have split\n> sections enabled.\n>\n> which would be quite weird since as misty also pointed out it seems to be\n> a non-default option that we didn't pass in, but that doesn't mean it's\n> impossible it built that way anyway for some reason ...\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/commercialhaskell/stack/issues/2577#issuecomment-247516337>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAAQwhcph23yUUDuzVrrMcW5uam3W4M0ks5qqhzmgaJpZM4J546w>\n> .\n>\n"}}
{"actor":{"display_login":"cartazio"}}