[Nix-dev] GHC "unable to decommit memory"
Kevin Cox
kevincox at kevincox.ca
Thu Sep 1 11:15:55 CEST 2016
On Sep 1, 2016 10:03, "Eelco Dolstra" <eelco.dolstra at logicblox.com> wrote:
>
> Hi,
>
> On 09/01/2016 10:09 AM, Kevin Cox wrote:
>
> > Sounds more like we need glibc to support the kernel we are using. GHC
is
> > behaving fine and probably not the only program to have this problem.
>
> Glibc supports our kernel just fine - it just makes available some
features that
> our kernel doesn't have, which is not uncommon. I mean, what should Glibc
do in
> this case? The fix would be to build GHC with
--disable-large-address-space or
> apply patch https://ghc.haskell.org/trac/ghc/ticket/12495.
>
It doesn't sound just fine if it is advertising features that don't exist.
Is there a way to prevent glibc from saying that MADV_FREE is supported? I
understand that glibc "supports" it but it probably shouldn't be advertised
if the kernel underneath doesn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160901/a286489a/attachment.html>
More information about the nix-dev
mailing list