This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

strip_unneeded on *.a fails


I am not on the list, so if you have an answer for me, please send it directly
to me.

I use the latest version of binutils (V2.11.2) with a patch from Nick Clifton.

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.

If I use mingw32-strip --strip-debug on the libraries all works as expected.
But if I use --strip-unneeded and try to link I get an error about a not found
symbol. If I use first strip-debug and the strip-unneeded, I get more linker
errors. See the files in the attached archive for details.

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

I hope someone has time to fix this.

Regards,
Reinhard

PS: Sorry for the big attachment

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

strip_unneded.tar.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]