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

GHC ghc-devs at haskell.org
Mon Sep 14 23:04:35 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 erikd):

 According to `readelf -S` on the object file the sections are:

 {{{
 Section Headers:
   [Nr] Name              Type            Addr     Off    Size   ES Flg Lk
 Inf Al
   [ 0]                   NULL            00000000 000000 000000 00      0
 0  0
   [ 1] .text             PROGBITS        00000000 000038 4c7518 00  AX  0
 0  8
   [ 2] .data             PROGBITS        00000000 4c7550 111ab8 00  WA  0
 0  8
   [ 3] .bss              NOBITS          00000000 5d9008 000000 00  WA  0
 0  4
   [ 4] .init_array       INIT_ARRAY      00000000 5d9008 000004 00  WA  0
 0  4
   [ 5] .rodata.str1.4    PROGBITS        00000000 5d900c 00000e 01 AMS  0
 0  4
   [ 6] .rodata           PROGBITS        00000000 5d901c 00dd40 00   A  0
 0  4
   [ 7] .comment          PROGBITS        00000000 5e6d5c 00001d 01  MS  0
 0  1
   [ 8] .rel.text         REL             00000000 5e6d7c 328af8 08   I 14
 1  4
   [ 9] .rel.data         REL             00000000 90f874 0cab90 08   I 14
 2  4
   [10] .rel.init_array   REL             00000000 9da404 000008 08   I 14
 4  4
   [11] .rel.rodata       REL             00000000 9da40c 008820 08   I 14
 6  4
   [12] .note.GNU-stack   PROGBITS        00000000 9e2c2c 000000 00      0
 0  0
   [13] .ARM.attributes   ARM_ATTRIBUTES  00000000 9e2c2c 000035 00      0
 0  1
   [14] .symtab           SYMTAB          00000000 9e2c64 29dc00 10     15
 122623  4
   [15] .strtab           STRTAB          00000000 c80864 2dd2e5 00      0
 0  1
   [16] .shstrtab         STRTAB          00000000 f5db49 000088 00      0
 0  1
 Key to Flags:
   W (write), A (alloc), X (execute), M (merge), S (strings)
   I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
   O (extra OS processing required) o (OS specific), p (processor specific)
 }}}

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


More information about the ghc-tickets mailing list