building with GCC 4.0

Steve M. Robbins steven.robbins at
Fri Jul 15 06:43:24 CEST 2005


The web page has lots of scary cautions against using GCC 4, including:

  As an example, of the 5 platforms where we've tried GCC 4.0.0, GCC
  doesn't build on two platform, and miscompiles GMP on the other
  three platforms. ... The GMP testsuite has great coverage, but it is
  not perfect, which means a make check isn't a guarantee.

Were the three GMP miscompilations caught by the test suite?  If not,
how did you detect them?

Debian has just made the transition to GCC 4, and GMP was among the
first packages rebuilt.  So far, all the architectures but one (m68k)
have successfully built the package -- which includes running the
test suite.  How worried should we be?


More information about the gmp-discuss mailing list