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

GHC ghc-devs at haskell.org
Fri Feb 21 10:03:51 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):

 Replying to [comment:19 carter]:
 > how would that impact compilation time? (using the bytecode versions?)

 It'd increase it a bit because we'd have to generate and retain the
 bytecode. The factors are:

  * we only need to do it for sets of modules involving TH & QQ
  * we could do it just for the modules that are dependencies of modules
 using TH
  * however we may have to run the pipeline twice because the bytecode
 generator cannot handle -O results (because of unboxed tuples etc). Though
 in principle we only need to do that for when you build with -O, and it
 doesn't have to re-run all stages.

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


More information about the ghc-tickets mailing list