Skip to content

panic when using .o files from the wrong platform

When I moved a tarball of a haskell project from my linux box to a windows box, I forgot to delete the linux object files. GHC subsequently panicked when I tried to compile the project with the message "loadObj: failed". Obviously, this is a dumb thing for the user to do, but if practicable, it would be nice if GHC could handle it more gracefully.

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information