[Mono-bugs] [Bug 439086] building mono from source: executable stack

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 2 12:13:50 EDT 2009


User galtgendo at o2.pl added comment

--- Comment #7 from Rafał Mużyło <galtgendo at o2.pl>  2009-04-02 10:13:50 MDT ---
(In reply to comment #6)
> Setting to RESOLVED / INVALID since this is not a bug but a question ....
> Rafal, if I remember correctly this is only on x86_64 because the on-executable
> stack needs hardware and kernel support which exists on the AMD64, but not
> necessarily on i386.
> I'm not entirely sure since it's been a very long time since I wrote that code,
> but I think the reason for making the stack non-executable was because that is
> the default in mono when running on x86_64, but not on i386.
> Martin

Well, that's definitely an answer to a question, just not to mine.

Mine was: during build of mono on x86, libraries/executables
are created by gnu linker, which contain executable stack;
the sole source of it is mono/mini/mdb-debug-info32.s;
does mono need this file to create executable stack in
those libraries/executables ?

Note, that I did try to add that note for non-executable
in that file and mono built fine and it did compile a trivial
program, I'm simply not sure, if I did broke anything that way.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list