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
Re: [Caml-list] The Caml morale crasher #1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-08 (17:14)
From: Florian Weimer <fw@d...>
Subject: Re: [Caml-list] The Caml morale crasher #1
* David Brown:

> GCC implements this by generating trampolines on the stack and
> passing the address of the newly generated code as the function
> pointer.  It fails to work on platforms that have security features
> that prevent stack execution.

GCC should generate code for the appropriate mprotect calls on these
architectures, so it should work on them, too.