From: Michael Selig Date: 2008-12-31T07:11:20+09:00 Subject: [ruby-core:20997] Re: [Bug #942] Build fails on IA-32 Linux with gcc 4.3.2 On Mon, 29 Dec 2008 18:43:07 +1100, Urabe Shyouhei wrote: > Usaku NAKAMURA wrote: >> We know that this is a bug of gcc. >> ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33763 ) > > And I have a workaround that passes "make test" on my ubuntu intrepid > box. The basic issue here seems to me that "missing/vsnprintf.c" is being included even though snprintf() & vsnprintf() exist, and there is INHO an ugly kludge to get this to work. The "proper" Ruby way should be to change all calls to snprintf() & vsnprintf() to rb_snprintf() & rb_vsnprintf() if there is a "permanent" Ruby replacement for them. This wouldn't cause this compiler problem. But why do thay need replacing in Linux in the first place? Cheers Mike