[GHC] #12722: Compile bug when upgrading stack-1.2.0 on Mac OS X
GHC
ghc-devs at haskell.org
Mon Oct 17 01:57:29 UTC 2016
#12722: Compile bug when upgrading stack-1.2.0 on Mac OS X
-------------------------------------+-------------------------------------
Reporter: pisomojado | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.10.3
Keywords: | Operating System: MacOS X
Architecture: x86_64 | Type of failure: Compile-time
(amd64) | crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
output from stack upgrade:
{{{
michael at gelato:~/Code/autorefactorer-site$ stack upgrade
Fetching package index ...remote: Counting objects: 1, done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), done.
Fetched package index.
Populated index cache.
store-core-0.2.0.2: configure
store-core-0.2.0.2: build
http-client-0.5.3.1: configure
http-client-0.5.3.1: build
optparse-applicative-0.13.0.0: configure
optparse-applicative-0.13.0.0: build
path-0.5.8: configure
path-0.5.8: build
store-core-0.2.0.2: copy/register
th-lift-instances-0.1.7: configure
path-0.5.8: copy/register
th-lift-instances-0.1.7: build
path-io-1.1.0: configure
path-io-1.1.0: build
th-lift-instances-0.1.7: copy/register
th-orphans-0.13.1: configure
path-io-1.1.0: copy/register
th-orphans-0.13.1: build
unicode-transforms-0.1.0.1: configure
unicode-transforms-0.1.0.1: build
unicode-transforms-0.1.0.1: copy/register
optparse-applicative-0.13.0.0: copy/register
th-orphans-0.13.1: copy/register
optparse-simple-0.0.3: configure
optparse-simple-0.0.3: build
th-utilities-0.2.0.1: configure
th-utilities-0.2.0.1: build
optparse-simple-0.0.3: copy/register
http-client-0.5.3.1: copy/register
http-client-tls-0.3.0: configure
http-client-tls-0.3.0: build
http-client-tls-0.3.0: copy/register
http-conduit-2.2.0: configure
http-conduit-2.2.0: build
th-utilities-0.2.0.1: copy/register
store-0.2.1.2: configure
store-0.2.1.2: build
http-conduit-2.2.0: copy/register
store-0.2.1.2: copy/register
stack-1.2.0: configure
[1 of 1] Compiling Main (
/private/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/stack-
upgrade19320/stack-1.2.0/Setup.hs,
/private/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/stack-
upgrade19320/stack-1.2.0/.stack-
work/dist/x86_64-osx/Cabal-1.22.5.0/setup/Main.o )
Linking /private/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/stack-
upgrade19320/stack-1.2.0/.stack-
work/dist/x86_64-osx/Cabal-1.22.5.0/setup/setup ...
Configuring stack-1.2.0...
stack-1.2.0: build
Preprocessing library stack-1.2.0...
[ 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
)
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-apple-darwin):
Loading temp shared object failed:
dlopen(/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/ghc20328_0/libghc_55.dylib,
5): no suitable image found. Did find:
/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/ghc20328_0/libghc_55.dylib:
malformed mach-o: load commands size (47024) > 32768
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Completed 14 action(s).
-- While building package stack-1.2.0 using:
/private/var/folders/vy/td7mc44s36g6b_wvdz7258rw0000gn/T/stack-
upgrade19320/stack-1.2.0/.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"
Process exited with code: ExitFailure 1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12722>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list