> it only happens when i try to compile with profiling enabled. Profiling (-prof) is incompatible with the native code generator (-fasm). Leave out -fasm if you want profiling. (Compiling will be slower without -fasm) It is only a tiny bug: GHC should complain about incompatible options instead of panicking. Cheers, Wolfgang Thaller