On Fri, Sep 2, 2011 at 12:49 PM, Matthew Mondor <mm_lists@...:
> Would it be very hard to only disable this where compilers are known to
> have problems? Which compiler was it, and did its build also rely on
> autoconf etc?
I am just being defensive here. I know that _at least_ Microsoft's compiler
has a problem, but it might also be present in other compiler and
architectures -- it is more a problem of the binary format than of the
compiler, I believe.
> Other than allowing to see the transient .data file, another possible
> advantage would be the static constant data being loaded in read-only,
> non-executable pages (i.e. placed in the rodata section). But I didn't
> check yet how ECL loads its data, and it potentially also could use
> mmap+mprotect+madvise etc where wanted...
It uses mmap where available, but I am not sure the flags are the right ones
all the time. Another advantage is that this memory is totally free after
use, unlike static data in a compiled file.
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)