ghc IA64 Linux unaligned accesses
simonmar at microsoft.com
Mon Jun 21 08:41:37 EDT 2004
On 20 June 2004 16:35, Ian Lynagh wrote:
> Hi guys,
> I thought the unaligned accesses I had with GHC on IA64 had magically
> gone away when I compiled with a more recent GHC and gcc, but it turns
> out they were still happening on another machine. When I tried to
> compile a debugging RTS on the first machine to debug on the second
> with, I found the newly compiled GHC was again giving unaligned
> on the first machine.
> This is GHC 6.2.1, gcc version 3.3.4 (Debian). I've stuck a load of
> debugging info below; if there's anything else you need please ask.
I'm afraid I'm completely IA64-ignorant (and hoping to remain that way
until IA64 goes away :-) so I can't decipher the gdb output too much.
You might proceed by finding the module containing the code fragment
that contains the misaligned access (grep your object files), and taking
a look at the .hc code for that fragment: recompile that module with
-keep-hc-files if you don't already have the .hc file, and possibly
re-run gdb if necessary (the symbol names might change).
More information about the Glasgow-haskell-bugs