bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strip_unneeded removes to much symbols


From: reinhard . jessich
Subject: strip_unneeded removes to much symbols
Date: Tue, 15 May 2001 21:23:06 +0200

I use the latest version of binutils (V2.11) with a patch from Nick Clifton,
which fixes a memory corruption in targets.c (somethng with bfd_target_vector).

I have configured binutils as follows:
configure -v --disable-multilib --target=mingw32 \
--prefix=/usr/local/cross-tools --with-gnu-ld \
--with-gnu-as --enable-threads --disable-nls

I am using a host of i686-pc-linux-gnu.

I have used this version to make my mingw32 cross
compiler. The compiler works and generates executables for
windows.

If I use mingw32-strip --strip-debug on the libraries and link my executable,
all works as expected. But if I use --strip-unneeded and try to link I get an
error about a not found symbol.

It seems, that strip--unneeded will strip to much from libraries, DLLs and
executables.

I have attached my test program, the library in all versions (original,
strip-debug, strip-unneeded), objdump output and the linker output.

I hope someone has time to fix this.

Regards,
Reinhard

PS: Sorry for the big attachment

-- 
 Ing. Reinhard Jessich              mailto: address@hidden
 A-1190 Vienna, Goergengasse 2/2/1  phone: +43/1/3692600
 http://members.telering.at/jessich mobile: +43/664/1735439

Attachment: binutils-strip-bug.tar.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]