[GHC] #781: GHCi on x86_64,
cannot link to static data in shared libs
GHC
trac at galois.com
Wed May 31 10:50:41 EDT 2006
#781: GHCi on x86_64, cannot link to static data in shared libs
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Resolution:
Keywords: getEnvironment | Difficulty: Unknown
Architecture: x86_64 (amd64) | Os: Linux
-------------------------------+--------------------------------------------
Changes (by simonmar):
* architecture: Unknown => x86_64 (amd64)
* summary: getEnvironment segfaults (6.5.20060527 - snapshot) => GHCi on
x86_64, cannot link to static data in shared
libs
* os: Unknown => Linux
Comment:
I've fixed part of the problem (getEnvironment was broken), but this still
won't work with GHCi on x86_64 due to another problem: for annoying
reasons the dynamic linker doesn't support linking to static data in
shared libraries, which the 'environ' variable in C is. So I'm leaving
the bug open with a revised heading.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/781>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list