[GHC] #12147: GHC's Linker Should Support Relocation Type 42

GHC ghc-devs at haskell.org
Sat Jun 4 23:23:59 UTC 2016


#12147: GHC's Linker Should Support Relocation Type 42
-------------------------------------+-------------------------------------
        Reporter:  gershomb          |                Owner:  Phyx-
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.0.2
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2303
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 Tried this:

 {{{
 $ cabal get cipher-aes
 $ cd cipher-aes-0.2.11
 $ cabal sandbox init
 $ cabal install --dependencies-only --enable-tests
 $ cabal install
 $ cabal exec -- ghci -i:Tests Tests/Tests.hs
 ghci > main
 GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
 Ok, modules loaded: Crypto.Cipher.AES, Main, KATECB, KATCBC, KATXTS,
 KATGCM,
 KATOCB3.
 ghci > main
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.3 for x86_64-unknown-linux):
     Loading temp shared object failed: /tmp/ghcc0a8_0/libghc_9.so:
 undefined
     symbol: aes_decrypt_ecb

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 That doesn't seem to be quite the same problem.

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


More information about the ghc-tickets mailing list