[Pkg-haskell-maintainers] Bug#786573: ghc: GHC 7.6.3 generates binaries with executable stack and data sections
Joachim Breitner
nomeata at debian.org
Sat May 23 20:18:20 UTC 2015
Hi,
Am Samstag, den 23.05.2015, 01:19 +0200 schrieb Jonathan Neuschäfer:
> GHC 7.6.3, which is included in Debian jessie (now stable), generates
> binaries with an executable stack and apparently with executable data
> sections (on amd64; I didn't test anywhere else):
>
> [..]
>
> The fix discussed at [1] and [2], i.e. adding a ".note.GNU-stack"
> section does not seem have an effect; it _is_ present:
>
> > $ ghc -c test.hs
> > compilation IS NOT required
> > $ readelf -a test.o | grep -i stack
> > [ 6] .note.GNU-stack PROGBITS 0000000000000000 000001f8
> > $ ghc -S test.hs
> > $ grep -i stack test.s
> > .section .note.GNU-stack,"", at progbits
thanks for the report. I’m not sure what to do about it though. Is there
a fix available? Also, you file this against the stable version, while I
do not expect a fix for this to be worthy of backporting to stable. Is
it fixed in 7.8, or in 7.10?
I think this is clearly an upstream matter. Can I suggest you take this
discussion upstream at https://ghc.haskell.org/trac/ghc/ticket/703?
Thanks,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150523/167cfcfc/attachment-0001.sig>
More information about the Pkg-haskell-maintainers
mailing list