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

GHC ghc-devs at haskell.org
Sat Mar 22 00:10:12 UTC 2014


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

Comment (by thoughtpolice):

 BTW, I ran `nofib` earlier and the results seem pretty conclusive on
 amd64: this change has minimal - if any - impact. Here's the overview:

 {{{
 --------------------------------------------------------------------------------
         Program           Size    Allocs   Runtime   Elapsed  TotalMem
 --------------------------------------------------------------------------------
             Min          +0.0%     -0.2%     -6.5%     -4.1%     +0.0%
             Max          +0.0%     +0.0%     +5.4%     +5.4%     +3.0%
  Geometric Mean          -0.0%     -0.0%     -0.1%     +0.1%     +0.0%
 }}}

 I imagine the differences here are mostly noise due to my machine - the
 affected programs don't even use dynamic when compiled with nofib. Compile
 times remain effectively unchanged:

 {{{
         -1 s.d.                -----           -2.7%
         +1 s.d.                -----           +3.4%
         Average                -----           +0.3%
 }}}

 I saw this consistently on both my Linux/amd64 machines and OSX/amd64
 machines. I'll get i386 benchmarks soon, as this is where we will likely
 see any possible difference.

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


More information about the ghc-tickets mailing list