Improve error message when mixing 32bit and 64bit images
|Reported by:||morabbin||Owned by:||igloo|
|Operating System:||MacOS X||Architecture:||Unknown/Multiple|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
Since we know when the user has mixed 32 and 64 bit images, let's say so in the error message. Before:
Loading object (static) dist/build/HOC_cbits.o ... ghc: dist/build/HOC_cbits.o: Bad magic. Expected: feedfacf, got: feedface. ghc: panic! (the 'impossible' happened) (GHC version 7.6.1 for x86_64-apple-darwin): loadObj "dist/build/HOC_cbits.o": failed Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Loading object (static) dist/build/HOC_cbits.o ... ghc-stage2: Could not load image dist/build/HOC_cbits.o: bad magic! Expected feedfacf (64bit), got feedface (32bit). ghc-stage2: panic! (the 'impossible' happened) (GHC version 7.7.20130124 for x86_64-apple-darwin): loadObj "dist/build/HOC_cbits.o": failed
Patch to come.
Change History (5)
Changed 4 years ago by morabbin
Note: See TracTickets for help on using tickets.