[GHC] #9589: Building GHC as a cross-compiler for armhf fails with undefined reference to `dlopen', `dlerror', `dlsym'

GHC ghc-devs at haskell.org
Sun Sep 14 10:55:18 UTC 2014


#9589: Building GHC as a cross-compiler for armhf fails with undefined reference
to `dlopen', `dlerror', `dlsym'
-------------------------------------+-------------------------------------
              Reporter:  jpmasseria  |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Build       |          Version:  7.8.3
  System                             |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  Linux       |       Difficulty:  Unknown
       Type of failure:  Building    |       Blocked By:
  GHC failed                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 What does your config.log say between "checking for dlopen in -ldl" and
 whatever the next item is (for me it's "checking for size_t")? Is it
 possible that your toolchain somehow doesn't support dlopen at all? Can
 you try building a small C program that uses dlopen?

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


More information about the ghc-tickets mailing list