This is the mail archive of the
mailing list for the binutils project.
Re: Avoid 64-bit Solaris/SPARC -gstabs link failures (PR ld/12152)
From: Eric Botcazou <email@example.com>
Date: Fri, 2 Mar 2012 22:53:34 +0100
>> Isn't Solaris using dwarf2 by now? What blocks us from emitting
>> dwarf2 by default at least for 64-bit sparc under Solaris?
> Nothing, as GCC has always emitted DWARF by default for SPARC/Solaris 64-bit
> (otherwise you cannot debug) and switched to DWARF for SPARC/Solaris 32-bit a
> while ago (when support for Solaris 2.5 and 2.6 was dropped). These are just
> totally meaningless testsuite failures for an option that cannot work, so we
> can keep silently accepting it.
I think blocking such tests is the best option then.
I see no value in blindly allowing relocations to overflow when we
know that when it occurs something is very wrong. Failing and
emitting an error is the right thing for 'ld' to do.