[GHC] #10375: arm: ghci hits an illegal instruction

GHC ghc-devs at haskell.org
Fri Sep 18 12:39:51 UTC 2015


#10375: arm: ghci hits an illegal instruction
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.10.3
       Component:  Runtime System    |                 Version:  7.10.1
  (Linker)                           |
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  GHCi crash        |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by int-e):

 Replying to [comment:57 erikd]:
 > I'm not sure why GDB thinks this is within the `strlen` function. If I
 disassemble `strlen` I get the same assembler instructions, but at a
 different address:

 That looks like there are several copies of `strlen` in the code,
 including symbol information. So the function name is found when looking
 for the symbol closest to `0xb6fe88ae`, but when resolving the name to an
 address, a different copy is used instead.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10375#comment:58>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list