[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 17:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88535
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> And here is a massive clue which I had missed until Rainer pointed it out:
>
> $ file stage*gcc/dwarf2out.o
> stage1-gcc/dwarf2out.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
> stage2-gcc/dwarf2out.o: ELF 32-bit MSB relocatable SPARC32PLUS Version 1,
> V8+ Required
> stage3-gcc/dwarf2out.o: ELF 32-bit MSB relocatable SPARC32PLUS Version 1,
> V8+ Required
Indeed, you're trying to bootstrap a cross-compiler, this simply cannot work.
The 32-bit and the 64-bit configuration are 2 distinct native platforms so they
cannot be cross bootstrapped; use a 32-bit compiler to bootstrap the 32-bit
one.
More information about the Gcc-bugs
mailing list