----- Forwarded message from Jakub Bogusz <qboosh / pld-linux.org> -----

From: Jakub Bogusz <qboosh / pld-linux.org>
Reply-To: "PLD: Developers list \(English\)" <pld-devel-en / pld-linux.org>
To: "PLD: Developers list (English)" <pld-devel-en / pld-linux.org>
Date: Mon, 26 Jul 2004 20:11:21 +0200
Subject: Re: SPECS: ruby.spec - document ia64 bug better,
	so it can be examined...

On Sun, Jul 25, 2004 at 11:48:42PM -0600, Aredridel wrote:
> >  # bleh, some nasty (gcc or ruby) bug still not fixed
> > +# (SEGV or "unexpected break" on miniruby run during build)
> >  %define		specflags_ia64	-O0
> 
> Asked about on ruby-talk / ruby-lang.org. I'll add a patch if someone has
> information.

It's something strange, probably some bug causing memory corruption.
In gc.c there is some "magic stack limit" applied on ia64 (which is too
low to build ruby now anyway), but it doesn't change anything when code
is compiled with -O1 or -O2.
With -O2 miniruby fails with "unexpected break".
With -O1 catches SIGSEGV.
Adding -fno-strict-aliasing doesn't help.

Builds only with -O0 and "magic stack limit" disabled.

I've googled a bit and found that:
- RH/Fedora and SuSE use -O0 and have ruby on ia64,
- Gentoo and some BSD marked ia64 port as broken.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/

_______________________________________________
pld-devel-en mailing list
pld-devel-en / pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

----- End forwarded message -----