id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
271	Parrot crashes on openbsd/sparc64	Infinoid	dukeleto	"janus raised the following concern on IRC this morning:

{{{
[04:29] < janus> meh, still no luck on sparc64 (miniparrot dumps core)
[04:38] < janus> src/cpu_dep.c:90: defined(__sparc) -> defined(__sparc__) && !defined(__sparc64__) seems to fix... at least the build continues now
[04:39] < janus> could that be something os-specific?
[04:40] < janus> granted, i'm poking around in an area where others will have more clue
}}}

Not knowing anything about the sparc platform, I can think of three possible issues here:

1.  I notice Janus replaced `__sparc` with `__sparc__`.  Is this a portability concern?  If so, we should probably check both.

2.  Is the assembly code in question even valid on sparc64?  Does the instruction width change between sparc32 and sparc64?

3.  If the answer to the above question is ""yes"", then does openbsd allow you to run code on the stack?  If not, that might be the cause of the crash (so it might have nothing to do with sparc64).
"	bug	closed	normal		core		medium	fixed	gc sparc				openbsd
