[GHC] #8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'

GHC ghc-devs at haskell.org
Fri Feb 21 01:03:14 UTC 2014


#8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'
-----------------------------+----------------------------------
        Reporter:  Kata      |            Owner:
            Type:  bug       |           Status:  new
        Priority:  highest   |        Milestone:  7.8.1
       Component:  Compiler  |          Version:  7.8.1-rc1
      Resolution:            |         Keywords:
Operating System:  Linux     |     Architecture:  x86_64 (amd64)
 Type of failure:  Other     |       Difficulty:  Unknown
       Test Case:            |       Blocked By:
        Blocking:            |  Related Tickets:
-----------------------------+----------------------------------

Comment (by duncan):

 So one thought that we were just mulling over in #ghc is...

 Use bytecode for the local modules in the current package. This already
 works for GHCi of course. We don't ''have'' to use the .dyn_o files. We do
 know when we start a `--make` job if we have any modules that use TH/QQ.
 If we do then we could turn on a mode "compile to bytecode in mem for all
 modules and spit out object code", a bit like the existing (albeit hacky)
 `-dynamic-too` flag.

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


More information about the ghc-tickets mailing list