
#8458: T5435_dyn_asm fails on x86_64 Linux ------------------------------------------------+-------------------------- Reporter: jstolarek | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect result at runtime | (amd64) Test Case: | Difficulty: Blocking: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Comment (by ezyang): Well, that is quite annoying, but good to know (that's why I put this in the test). I suppose there are a few things we could do. Probably the easiest thing to do is relax the test and warn users that GHCi's static loading behavior may differ from the dynamic loading behavior on certain platforms (code with both ctors and init_array ought to be quite rare). Could be a nasty gotcha if it does matter, though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8458#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler