[Bug 61861] Re: fails to build on ppc

2006-09-25 Thread Benjamin Herrenschmidt
Well, it didn't reproduce on my quad g5, at least not right away. However, looking at the source is a bit scary ... that thing is just a steaming pile of poo to re-use paulus expression... especially the way it synchronizes with the timer thread without using any synchronisation primitives, not

[Bug 61861] Re: fails to build on ppc

2006-09-24 Thread Fabio Massimo Di Nitto
Ben, do you happen to have any idea what the problem could be? the kernel on these machines is .15 from dapper ppc64. Thanks Fabio ** Description changed: Build segfaults on ppc, but only on the machines in the datacentre so - far. + far (that are running 64bit kernels) -- fails to build

[Bug 61861] Re: fails to build on ppc

2006-09-24 Thread Benjamin Herrenschmidt
Can I get a quick step-by-step howto reproduce the build environment ? I have a quad g5 running dapper here that should be able to reproduce. Or at least how to get the source of the bits that are segfaulting... There is something that comes to mind right away though: rb_thread_* . I don't know

[Bug 61861] Re: fails to build on ppc

2006-09-24 Thread Fabio Massimo Di Nitto
The easiest way to reproduce it is to upgrade to edgy running dapper kernel and: apt-get source ruby1.8 sudo apt-get build-dep ruby1.8 sudo apt-get install fakeroot cd ruby1.8-$version dpkg-buildpackage -rfakeroot -uc -us -b If upgrading to edgy is not an option you can easily use debootstrap to

[Bug 61861] Re: fails to build on ppc

2006-09-22 Thread Colin Watson
** Description changed: - Build segfaults on pcc, but only on the machines in the datacentre so + Build segfaults on ppc, but only on the machines in the datacentre so far. -- fails to build on ppc https://launchpad.net/bugs/61861 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 61861] Re: fails to build on ppc

2006-09-22 Thread Colin Watson
(The sched_setaffinity rune above effectively disables concurrent execution of threads without ABI problems by binding the process to run on only a single CPU. It is definitely not an optimal solution.) -- fails to build on ppc https://launchpad.net/bugs/61861 -- ubuntu-bugs mailing list

[Bug 61861] Re: fails to build on ppc

2006-09-22 Thread Colin Watson
This is a threading bug. While applying gdb to the problem, I noticed that (a) the thing that was NULL was prot_tag and (b) prot_tag was fiddled with in some rb_thread_* functions, so I tried building with threading disabled, and it built fine (at least 'debian/rules build'; 'debian/rules binary'

[Bug 61861] Re: fails to build on ppc

2006-09-22 Thread Colin Watson
Unfortunately, my sched_setaffinity workaround doesn't actually appear to work. -- fails to build on ppc https://launchpad.net/bugs/61861 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs