[Mono-devel-list] ARM: mint segfaluts

Thomas Winkler tom at qwws.net
Sat Oct 9 15:17:47 EDT 2004


Hello,

I managed to cross-compile mono for ARM (XScale, big endian). When executing 
mint on the XScale I however get segfaults:

root at IXDP425:/mnt/winkler/mono_arm/bin# ./mint wsdl.exe
Segmentation faul

root at IXDP425:/mnt/winkler/mono_arm/bin# ./mint gacutil.exe
Segmentation fault

When calling mint alone i get it's usage message:

-- root at IXDP425:/mnt/winkler/mono_arm/bin# ./mint
mint 1.0.2, the Mono ECMA CLI interpreter, (C) 2001, 2002 Ximian, Inc.

Usage is: mint [options] executable args...

Runtime Debugging:
   --debug
   --dieonex
   --noptr                      don't print pointer addresses in trace output
   --opcode-count
   --print-vtable
   --traceclassinit
[...]


While the following call fails (just added --debug):


root at IXDP425:/mnt/winkler/mono_arm/bin# ./mint  --debug
Segmentation fault


What i noticed during compilation of mono are lot's of warnings like this:

../../../../mono/arch/arm/tramp.c:452: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:452: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:452: warning: use of cast expressions as 
lvalues is deprecated
../../../../mono/arch/arm/tramp.c:460: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:465: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:468: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:475: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:482: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:482: warning: cast increases required 
alignment of target type
../../../../mono/arch/arm/tramp.c:482: warning: use of cast expressions as 
lvalues is deprecated
../../../../mono/arch/arm/tramp.c:487: warning: cast increases required 
alignment of target type


Those messages don't only show up in arch but almost everywhere.
I'm not sure if this something to worry about or maybe if this might be the 
source of my Segfaults. A full log of the build process can be found at:
http://www.wnk.at/tmp/mono/mono_build.txt
If you only want to see the warning:
http://www.wnk.at/tmp/mono/warnings.txt


I'd be happy if somebody of you could help me with this one.

Thanks,
-- 
Thomas Winkler
e-mail: tom at qwws.net



More information about the Mono-devel-list mailing list