[Bug target/88535] sparcv9 gcc 7 causes comparison failure in sparc gcc 8 dwarf2out.o

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 18 19:20:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I wonder if the configure or make process should defend against the
> possibility that the host compiler and the compiler that we are building
> today have differing defaults for -m32 vs -m64.

The problem is that we don't correctly detect the cross configuration here.

> (Note: Although the defaults differ, both the above are perfectly happy to
> build the non-default version if you are explicit for -m32 or -m64).

Yes, same for a bootstrap.  You can bootstrap the latter with the former if you
correctly configure the bootstrap, with explicit --build and CC="gcc -m32".


More information about the Gcc-bugs mailing list