[Mono-bugs] [Bug 507108] "Hello World" hangs/crashes on embedded PPC/Linux system with mono version 2.4, versions 2.2 and 1.2.6 are working fine
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jun 12 16:19:38 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=507108
User munroesj at us.ibm.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=507108#c13
--- Comment #13 from Steven Munroe <munroesj at us.ibm.com> 2009-06-12 14:19:36 MDT ---
0x4826e650: lwz r3,3(r2)
This is a TLS reference and requires a binutils, runtime and kernel that
support TLS.
So it is likely the thread pointer is not set up. It should be TCB+0x7000 for
that thread, and the kernel must know about threads and handle R2 correctly.
OR
your binutils does not support TLS. as it needs:
#define MONO_THREAD_VAR_OFFSET(var,offset) \
__asm ( "lwz %0," #var "@got at tprel(30)\n" \
: "=r" (offset))
#endif
to support the tprel relocation. the value of 3 is wrong for any environment.
if this is an EABI kernel/runtime then R2 would be unused or addressing sdata2.
TLS is not defined for Power EABI.
--
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