[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#635126: status of ruby 1.9.1 wrt porting



Hi,

Ruby 1.9.3 is going to be released in september, and is a candidate for
the default ruby version in wheezy. A snapshot is available in
experimental. Now is an ideal time to work on porting issues and get the
fixes integrated upstream. Ruby has a fairly large test suite, which
makes finding problems easy, but exercises the threading library in
interesting ways.

Most of the issues are reproducible by re-building the Debian package.
Use make && make test to get a shorter build.

Here is the current complete list of issues I'm aware of. My time will
be very limited in the coming weeks, but I will try my best to provide
help.

[armel,sparc] FTBFS due to miscompilation with -ftree-sra (inc. in -O3).
See http://bugs.debian.org/635126.
Currently worked-around by using -fno-tree-sra.
Other packages might be affected.
-> FIXED from ruby1.9.1's POV, but you really want to look at this
   for other packages.

[armel] I've just seen that now that this one is fixed, the test suite
segfaults.
See
https://buildd.debian.org/status/fetch.php?pkg=ruby1.9.1&arch=armel&ver=1.9.3~preview1%2Bsvn33077-1&stamp=1314634969
search for 'TestFiber#test_many_fibers'.
'make test-all' to reproduce. Failures during test-all are currently not
fatal. The remaining ones needs more investigation, but I don't think
that they are arch-specific. I'd like to make test-all failures fatal at
some point.

[sparc] continuations are completely broken.
See http://redmine.ruby-lang.org/issues/5244 (minimal test case
included)

[ia64] crashes during test suite, linked to continuations according to
backtrace.
See http://redmine.ruby-lang.org/issues/5246. 'make test' to reproduce.
Might be related to the sparc problem above.

[kfreebsd] waitpid from threads problem
http://redmine.ruby-lang.org/issues/5239
http://bugs.debian.org/639658
Will add a patch in test suite runner to work-around this
-> FIXED from ruby1.9.1's POV.

[kfreebsd] mmap() with MAP_STACK requires non-null first arg
http://redmine.ruby-lang.org/issues/5241
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=158755
patch will be applied upstream, added to Debian package in the meantime
-> FIXED from ruby1.9.1's POV.

[kfreebsd] thread-related hangs
http://redmine.ruby-lang.org/issues/5240
bisected the upstream commit.
Petr Salinger working on a fix, see
http://lists.debian.org/debian-bsd/2011/08/msg00180.html


I've just uploaded (to experimental) a new version fixing the issues marked FIXED.

Thanks!

- Lucas



Reply to: