patch applied (ghc): Use --export-dynamic to ensure ghci works on newer openbsds

Don Stewart dons at cse.unsw.edu.au
Wed Sep 20 21:44:24 EDT 2006


Wed Sep 20 18:01:55 PDT 2006  Don Stewart <dons at cse.unsw.edu.au>
  * Use --export-dynamic to ensure ghci works on newer openbsds
  
  Changes to the RTLD_DEFAULT semantics broke the trick we used to ensure
  libc symbols were available to the ghci linker, in OpenBSD 4.0. We can
  fix this by linking the ghc binary itself with --export-dynamic on this
  system, removing the need for any magic Linker.c games.
  
  GHCi now works on OpenBSD 4.0
  
  Contributed by Eric Mertens <emertens at gmail.com>
  

    M ./compiler/Makefile.ghcbin +3
    M ./rts/Linker.c -13 +2


More information about the Cvs-ghc mailing list