Bug in binutils?
Hi,
is anybody else seeing this:
$ nm /usr/lib/libpq.a
nm: /usr/lib/libpq.a: Malformed archive
libpq.a is from postgresql-dev 7.0.3-1. This happens with the
package downloaded from Debian as well as with my own build.
I traced this down to
strip --strip-debug debian/postgresql-dev/usr/lib/libpq.a
called from `dh_strip -a´. The weird thing is that
strip --strip-debug ./debian/postgresql-dev/usr/lib/libpq.a
(note the leading ./) creates a correct archive. The
malformed archive is 4 bytes longer than the correct one,
in fact it seems (from comparing strace output) that
4 NUL bytes are inserted at offset 4096. strip is from
binutils 2.10.1.0.2-1.
Puzzled, Roderich
--
A man, a plan, a canal, Panama!
Roderich Schupp mailto:rsch@ExperTeam.de
ExperTeam GmbH http://www.experteam.de/
Munich, Germany
Reply to: