Sunday 16 December 2007 02:02:48 tarihinde Nelson Bolyard şunları yazmıştı: > Ismail Dönmez wrote, On 2007-12-14 14:49: > > Friday 14 December 2007 04:09:45 tarihinde Nelson Bolyard şunları yazmıştı: > >> Ismail Dönmez wrote: > >>> Hi all, > >>> > >>> Over at Novell bugzilla [0] its reported that nss fails to build with > >>> gcc 4.3 . GCC developer Richard Guenther identified that > >>> lib/freebl/mpi/mp_comba.c seems to be miscompiled. But he says some of > >>> the inline assembly there is possibly invalid. > >>> > >>> I think it should be checked by one of the NSS developers. > >>> > >>> [0] https://bugzilla.novell.com/show_bug.cgi?id=346256 > >> > >> https://bugzilla.mozilla.org/show_bug.cgi?id=407866 > > > > Blaming GCC is easy ;) , did you at least checked the inline asm for > > correctness at all? > > That comba code is ~2.5 years old. During those years, it has been > *continuously* building correctly, without errors or warnings, and has > been running and passing all tests, when built with an older version of > GCC on Linux. You can watch the continuous builds and tests at > http://tinderbox.mozilla.org/showbuilds.cgi?tree=NSS-Stable-Branch > > Something changed, and consequently things broke. The comba code didn't > change, but gcc did. You can figure it out from there.
GCC got more strict over the years, compiling for last 10 years doesn't make your code correct at all. Even with gcc 4.3 we have some new rules for C++ programs. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again. _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto