This is the mail archive of the
mailing list for the binutils project.
More information about: Bug in ar?
- To: binutils at sourceware dot cygnus dot com
- Subject: More information about: Bug in ar?
- From: Cyrille Artho <cartho at mordor dot ch>
- Date: Wed, 19 Jul 2000 11:43:54 +0200
A few things I did not mention before: I always built the files from
scratch, because running 'ar ru...' produced too many errors.
The object files from g++ are usually the same, although the *sometimes*
differ. The difference is not, as I previously suspected, in the
mangling strings coming from g++ (these never differ). The outputs of
'nm' are always equal, except for (sometimes) missing symbols and, of
I finally could reproduce an output where the .o files differed (which
is not often the case) and where 'nm' said "xy.o truncated". Therefore,
the problem may lie in g++.
I will now investigate whether the source code that produces the error
always includes some C code in a C++ file that has not yet been declared
Possibly, the error "file xy truncated" results from g++, while the
BFD: UTraceOut.o: invalid string offset 1769472 >= 958 for section
hint at some problem in BFD.
Cyrille Artho - http://artho.com
Alcohol is the anesthesia by which we endure the operation of life.
-- George Bernard Shaw