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 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to