Bugzilla – Bug 317176
[PATCH] mono/tests/libtest.c:get_sp() buggy
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by robertj@gmx.net 2005-02-13 14:39:19 MST ---- get_sp() of libtest.c doen't work as expected with gcc version 2.95.3 on Linux. The stack address of 2 consecutive calls seems to drift even when no STDCALL calling convention bug occured. I know that the STDCALL test is unimportant for Mono on Linux, but the failure of the pinvoke2-test might be confusing to others. The patch contains a method that tests whether get_sp() is reliable with the compiler/OS. ---- Additional Comments From robertj@gmx.net 2005-02-13 14:40:58 MST ---- Created an attachment (id=167399) Diff against mono/tests/libtest.c ---- Additional Comments From vargaz@gmail.com 2005-02-13 15:53:30 MST ---- Fixed in SVN. Imported an attachment (id=167399) Unknown operating system unknown. Setting to default OS "Other".