> Ah, I didn't see that.  So the issue here is that the host compiler
> miscompiles the in-tree copy?  Maybe we should compile host libraries with
> -O0 during stage1 (and require recent host GCC for compiling
> cross compilers - which we probably do anyway).

In-tree is a red herring, very few people do that.  People download libraries, 
compile them with the base compiler, install them and bootstrap the compiler.

> It's an issue anyway as soon as we bump the versions downloaded
> by contrib/download_prerequesites.  What "newer" versions are
> affected, btw?  Are "very newer" versions fixed maybe?

GMP 5.x is known to be problematic on SPARC, I don't know for 6.x.

> Generally we have conflicting goals - we want to make sure
> GCC works with system supplied versions of the libraries
> (thus the configure version checks), and we want to specify
> versions that work for the in-tree builds (because of the
> somewhat awkward setup of the build because of their inter-dependencies
> and not doing intermediate installs).

Agreed, but the current situation is relatively satisfactory if you ask me.
If something needs to be changed because of web/60933, then it's probably the 
versions provided at ftp://gcc.gnu.org/pub/gcc/infrastructure/

-- 
Eric Botcazou

Reply via email to