[GHC] #10914: Bad symbol resolution on Darwin when using DYLD_FORCE_FLAT_NAMESPACE=1
GHC
ghc-devs at haskell.org
Fri Sep 25 14:52:00 UTC 2015
#10914: Bad symbol resolution on Darwin when using DYLD_FORCE_FLAT_NAMESPACE=1
-------------------------------------+-------------------------------------
Reporter: jacereda | Owner:
Type: bug | Status: patch
Priority: high | Milestone:
Component: Runtime System | Version: 7.10.2
(Linker) |
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64
| (amd64)
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by jacereda):
* failure: GHCi crash => Runtime crash
* component: GHCi => Runtime System (Linker)
Old description:
> Starting ghci as:
>
> {{{
> env DYLD_FORCE_FLAT_NAMESPACE=1 ghci
> }}}
>
> can cause symbol resolution to fail. I tried with Data.Hashable as
> follows:
>
> {{{
> import Data.Hashable
> main = putStrLn $ show $ hashWithSalt 0 "foo"
> }}}
New description:
The following command:
{{{
env DYLD_FORCE_FLAT_NAMESPACE=1 ghc -e 'Data.Hashable.hashWithSalt 0
"foo"'
}}}
causes symbol resolution to fail.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10914#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list