Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75214 --- shadow/75214 2005-06-14 13:12:44.000000000 -0400 +++ shadow/75214.tmp.15219 2005-06-17 16:11:19.000000000 -0400 @@ -1,13 +1,13 @@ Bug#: 75214 Product: Mono: Runtime Version: 1.1 OS: unknown OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: FIXED Severity: Unknown Priority: Major Component: JIT AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] @@ -159,6 +159,44 @@ Since we are supporting the bundling stuff, could we make it part of `make check'? ------- Additional Comments From [EMAIL PROTECTED] 2005-06-14 13:12 ------- I've added such a test on HEAD. It does a `hello world', statically linked with libmono + +------- Additional Comments From [EMAIL PROTECTED] 2005-06-17 16:11 ------- +This is a bug in gcc-3.3. It miscompiles the following testcase: + +<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + +static __thread void *ptr; + +void foo (void *p1, void *p2) +{ + printf ("A: %p %p\n", p1, p2); +} + +void bar () +{ + void *p2 = &ptr; + + foo (p2, p2 + sizeof (&ptr)); +} + + +void main () +{ + bar (); +} +<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +$ gcc-3.3 -O2 --save-temps -fPIC uj.c; +$ ./a.out + +produces the following output: +A: 0x2a958ab658 0x5007a0 + +I checked in a workaround to libgc/pthread_support.c: + +http://lists.ximian.com/archives/public/mono-patches/2005-June/060164.html + + + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
