[GHC] #8564: Unhandled ELF relocation types on dynamically loading object files with GHCi

GHC ghc-devs at haskell.org
Mon Nov 25 22:08:31 UTC 2013


#8564: Unhandled ELF relocation types on dynamically loading object files with
GHCi
-------------------------------+------------------------------------
        Reporter:  pgj         |            Owner:  pgj
            Type:  task        |           Status:  new
        Priority:  normal      |        Milestone:
       Component:  GHCi        |          Version:  7.6.3
      Resolution:              |         Keywords:
Operating System:  FreeBSD     |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash  |       Difficulty:  Unknown
       Test Case:              |       Blocked By:
        Blocking:              |  Related Tickets:
-------------------------------+------------------------------------

Comment (by pgj):

 Replying to [comment:1 carter]:
 > does the same problem happen in ghci in head?

 Yes, I have just tested with the snapshot of today on i386.
 {{{R_X86_64_GOTTPOFF}}} is implemented for !DragonFly BSD only, while
 {{{R_386_TLS_IE}}} does not seem to be handled everywhere at all.

 > 'cause i think ghci 7.7 / HEAD on those platforms should be using the
 system dy linker.

 I am not entirely familiar with the internals of the GHCi linker, but
 apparently it directly loads {{{.o}}} files and that is where it relies on
 the routines of {{{rts/Linker.c}}}.

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


More information about the ghc-tickets mailing list