[GHC] #8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'
GHC
ghc-devs at haskell.org
Wed Dec 24 00:41:08 UTC 2014
#8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'
-----------------------------+----------------------------------
Reporter: Kata | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 7.8.1
Component: Compiler | Version: 7.8.1-rc2
Resolution: fixed | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: Other | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-----------------------------+----------------------------------
Comment (by Reid Barton <rwbarton@…>):
In [changeset:"3e3aa9258b521d362d3a51cb48969df3eeab4981/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="3e3aa9258b521d362d3a51cb48969df3eeab4981"
Fix linker interaction between Template Haskell and HPC (#9762)
Summary:
I'm not really happy about perpetuating the hackish fix for #8696,
but at least in the context of building with -fhpc, the performance
cost should be negligible.
I'm suspicious about PlainModuleInitLabel and the Windows stuff too,
but I don't know what it does / can't test it (respectively) so I'll
leave those alone for now.
Hopefully out-of-process TH will save us from these hacks some day.
The test is an adaptation of T8696. It's a bit more awkward since
I couldn't think of a way to get cross-module tickbox references
without optimizations (inlining), but ghci doesn't permit -O for
some reason.
Test Plan: harbormaster; validate
Reviewers: austin
Reviewed By: austin
Subscribers: carter, thomie
Differential Revision: https://phabricator.haskell.org/D583
GHC Trac Issues: #9762
Conflicts:
testsuite/tests/ghci/scripts/all.T
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8696#comment:34>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list