[GHC] #8713: Avoid libraries if unneeded (librt, libdl, libpthread)
GHC
ghc-devs at haskell.org
Wed Oct 15 09:01:30 UTC 2014
#8713: Avoid libraries if unneeded (librt, libdl, libpthread)
-------------------------------------+-------------------------------------
Reporter: ip1981 | Owner:
Type: bug | Status: upstream
Priority: normal | Milestone:
Component: GHCi | Version: 7.6.3
Resolution: | Keywords:
Operating System: Other | Architecture: x86_64 (amd64)
Type of failure: GHCi crash | Difficulty: Moderate (less
Test Case: | than a day)
Blocking: | Blocked By:
Differential Revisions: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by kgardas):
Hi Igor,
thanks for the patch. I'm looking into it and I'm curious if it may be
solved by other way. Please what's OS is exactly detected by
{{{
$ sh config.guess
}}}
I'm curious since if it is Solaris than this should be improved to handle
Dyson specifically since I think Solaris kernel + GNU libc is not Solaris
anymore. And if it is not Solaris than at least patch to DriverPipeline.hs
may be done in a little bit more clean way. I don't like using this #ifdef
in parameters list construction. If you add proper support for OSDyson,
then you can add OSDyson *BSDs, Darwin etc. and be done with this bit in
more clean way IMHO. But well, the crucial question is how the OS is
identified by config.guess...BTW: generally speaking I hope I'm right here
but GHC devs tries to get rid of platform configuration related #ifdefs in
the code and use proper Haskell handling of this. In your patch you
reverts this goal and this is not good IMHO. :-)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8713#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list