Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlopt generates binaries with executable stacks
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-18 (07:54)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ocamlopt generates binaries with executable stacks
On Mon, Jun 16, 2008 at 02:59:55PM +0200, Xavier Leroy wrote:
> Note that in 3.11, the "configure" script will have options to specify
> how to call the assembler (for ocamlopt-generated assembly code and
> for the hand-written asm files in the runtime system).  So it might be
> sufficient to configure the Gentoo packages with e.g.
> configure -as "as --noexecstack" -aspp "gcc -c -Wa,--noexecstack"
> This could be one of the rare cases where addressing the issue at the
> level of the packages is safer than by changing the source distribution.

Fair enough.  I'll check this out and get back if it doesn't work.


Richard Jones
Red Hat