assert failure in CVS ld

Phil Edwards pedwards@disaster.jaj.com
Thu Dec 20 19:45:00 GMT 2001


On Thu, Dec 20, 2001 at 06:07:42PM -0800, ncm-nospam@cantrip.org wrote:
> 
> I am trying to bootstrap today's CVS gcc on sparc64-sun-solaris2.8.
> I extracted CVS binutils today, and configured explicitly as 
> "sparc64-sun-solaris2.8" (which configure failed to deduce by itself).

config.guess will never default to the 64-bit version under Solaris, even if
a 64-bit kernel was booted.  It's possibly unintuitive, but I can understand
the reasoning:  a 32-bit binary produced by gcc can run under either kernel,
but a 64-bit binary can only run under the 64-bit kernel.  So safety calls
for the 64-bit mode to always be the default.

I was under the impression that the CPU name was sparcv9 not sparc64, since
"sparcv9" is the name of the ISA itself.  But I've seen both names used;
maybe they're synonyms?


> The line that fails is
> 
>       BFD_ASSERT (shdr->sh_entsize == sizeof (Elf_External_Rela));
> 
> in elf_link_read_relocs_from_section (
>      abfd, shdr, external_relocs, internal_relocs).

Whoa, haven't seen that one before.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Libstdc++ mailing list