FYI: The changes I've made today in ghc/includes and ghc/rts are mission-critical for 'foreign import "wrapper"' on x86_64 (and probably other 64bit architectures). Without them Haskell callbacks don't work, as can easily be tested with the examples in the GLUT package. Therefore I recommend to push these to all relevant branches (6.4.3, 6.6.1?).
Warnings from GCC on 64bit architectures should not be taken lightly... :-( Cheers, S.