#3679: ./configure --enable-shared does not work for ghc-6.10
----------------------------------+-----------------------------------------
Reporter: elkner | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Resolution: wontfix | Keywords:
Difficulty: | Os: Solaris
Testcase: | Architecture: x86_64 (amd64)
Failure: Building GHC failed |
----------------------------------+-----------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => wontfix
* summary: ghc: panic! (the 'impossible' happened) => ./configure
--enable-shared does not work for ghc-6.10
Comment:
Note that `--enable-shared` is not supported in GHC 6.10. Currently the
only platforms where ghc supports shared libs are Linux on x86 and x86-64
and only when using ghc-6.12.
Note also that the configure flags `--disable-static` and `--disable-
rpath` do not actually exist.
In ghc-6.12 the flag `--enable-shared` also does not exist. The way to
force the ghc build system to try to make shared libs on platforms where
they are not officially supported is to add `GhcLibWays += dyn` to your
`mk/build.mk`.
Elkner, it's worth having a go and trying this with 6.12. I would not
expect it to work first time but it should give us a clue as to what needs
fixing. Report your progress to the ghc users list and/or file a new
feature-request ticket.
I'm closing this ticket because we do not expect 6.10 to support
`--enabled-shared`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3679#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs