[ubuntu/quantal] ghc 7.4.1-4ubuntu2 (Accepted)
Ben Collins
bcollins at ubuntu.com
Wed Jul 11 21:15:32 UTC 2012
ghc (7.4.1-4ubuntu2) quantal; urgency=low
* So here's the whole lowdown: On PowerPC we have a special case of
24-bit relative relocations (+-32Megs). This works badly when we use
mmap because we almost always have to mmap() oc->symbol_extras for
the jumpIslands. In doing so, we are most certainly not going to get
an address that is close enough to oc->image. So we cannot use mmap
on PowerPC. However, when using malloc() and friends, we realloc to
get the memory for the jumpIslands, which makes it close enough to
work, but because GNU libc internally uses mmap() for > 128k allocs,
we get a piece of memory that does not have PROT_EXEC enabled. So on
modern CPUs, we will segv as soon as we hit the jumpIsland. Fortunately
we have a way to work around this.
* ppc-needs-use-mmap.patch: Remove patch and revert back to not using
mmap on powerpc-linux.
* linux-disable-mmap-for-malloc-when-not-using-mmap.patch: For the case
where we have !USE_MMAP on Linux (such as powerpc-linux), call
mallopt() to disable its internal use of mmap.
Date: Wed, 11 Jul 2012 17:00:41 -0400
Changed-By: Ben Collins <bcollins at ubuntu.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
https://launchpad.net/ubuntu/quantal/+source/ghc/7.4.1-4ubuntu2
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 11 Jul 2012 17:00:41 -0400
Source: ghc
Binary: ghc ghc-prof ghc-doc ghc-dynamic ghc-haddock ghc6 ghc6-doc ghc6-prof
Architecture: source
Version: 7.4.1-4ubuntu2
Distribution: quantal
Urgency: low
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Ben Collins <bcollins at ubuntu.com>
Description:
ghc - The Glasgow Haskell Compilation system
ghc-doc - Documentation for the Glasgow Haskell Compilation system
ghc-dynamic - Dynamic libraries for the Glasgow Haskell Compilation system
ghc-haddock - Documentation tool for annotated Haskell source code
ghc-prof - Profiling libraries for the Glasgow Haskell Compilation system
ghc6 - transitional dummy package
ghc6-doc - transitional dummy package
ghc6-prof - transitional dummy package
Changes:
ghc (7.4.1-4ubuntu2) quantal; urgency=low
.
* So here's the whole lowdown: On PowerPC we have a special case of
24-bit relative relocations (+-32Megs). This works badly when we use
mmap because we almost always have to mmap() oc->symbol_extras for
the jumpIslands. In doing so, we are most certainly not going to get
an address that is close enough to oc->image. So we cannot use mmap
on PowerPC. However, when using malloc() and friends, we realloc to
get the memory for the jumpIslands, which makes it close enough to
work, but because GNU libc internally uses mmap() for > 128k allocs,
we get a piece of memory that does not have PROT_EXEC enabled. So on
modern CPUs, we will segv as soon as we hit the jumpIsland. Fortunately
we have a way to work around this.
* ppc-needs-use-mmap.patch: Remove patch and revert back to not using
mmap on powerpc-linux.
* linux-disable-mmap-for-malloc-when-not-using-mmap.patch: For the case
where we have !USE_MMAP on Linux (such as powerpc-linux), call
mallopt() to disable its internal use of mmap.
Checksums-Sha1:
fd56c8ce256585b0db13ea49cfcdb824e2bc7e63 1948 ghc_7.4.1-4ubuntu2.dsc
033d61eef96c74ab263d1013eac2b56cec813544 53276 ghc_7.4.1-4ubuntu2.debian.tar.gz
Checksums-Sha256:
f9ed145048cd1d836dcf05f1aac2b2ae9c7e1c73426f82d023556f76785d4f46 1948 ghc_7.4.1-4ubuntu2.dsc
4da9ceab0e5295b2ebfd5d164a2b15efa448fd8f836c0db62ebfd5491450215a 53276 ghc_7.4.1-4ubuntu2.debian.tar.gz
Files:
a89d09547a714a644ad2cbdb20d61f33 1948 haskell extra ghc_7.4.1-4ubuntu2.dsc
1a4e7ea37f3a65d325b6be79fcdb5614 53276 haskell extra ghc_7.4.1-4ubuntu2.debian.tar.gz
Original-Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk/97KgACgkQbVJJsWDoC1u9EQCgtXzyP+64VfcFBHcSLC3ZiMlk
bPoAniH2Rip9jksIq+Zf2vDvWtnZFx63
=1tFa
-----END PGP SIGNATURE-----
More information about the Quantal-changes
mailing list