gprof not happy with mainline output.

James E Wilson wilson@specifixinc.com
Thu Sep 9 00:15:00 GMT 2004


On Wed, 2004-09-08 at 12:40, Peter Steinmetz wrote:
> I wondered about binutils as well.  I'm running with binutils-2.15.

Perhaps binutils-2.15 is broken then.  You might try using one of HJ's
binutils releases instead, e.g. 2.15.90.whatever.he.calls.it.  Or try
using the binutils mainline, to see if maybe the problem has already
been fixed there.  Binutils mainline is usually safe to use, unlike gcc
mainline.

I doubt this is a gcc problem.  This is much more likely an internal
binutils problem with the string table (strtab) section merging
support.  There is linker support for eliminating duplicate strings from
the string tables.  I think were some bugs in this area that were fixed
a few months ago, but I don't know if the patches are in the
binutils-2.15 release.

You probably can see similar messages from anything else that tries to
read and parse an ELF object file, e.g. gdb, objdump, readelf, etc.

My PPC machine only has darwin installed on it, and binutils does not
support darwin, and my x86_64-linux machine is already busy with two
other builds, so I haven't tried to reproduce this.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com




More information about the Gcc mailing list