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

Bug#247681: libc6 - symbol _fp_hw is not exported, breaks mklibs



At Mon, 28 Jun 2004 20:11:17 +0200,
Bastian Blank wrote:
> > And please describe how to reproduce this bug.
> 
> | $ cat test.c
> | int main(){return 0;}
> | $ gcc -o test test.c
> | $ objdump -t test | grep _fp
> | 00000000         *UND*  00000004              _fp_hw
> | $ mklibs -d . test
> | I: Using ld.so.1 as dynamic linker.
> | I: library reduction pass 1
> | 5 symbols, 5 unresolved
> | Traceback (most recent call last):
> |   File "/usr/bin/mklibs", line 470, in ?
> |     raise "No library provides non-weak " + symbol
> | No library provides non-weak _fp_hw
> | $ strip test
> | $ objdump -t test | grep _fp
> | $
> 
> With this binary, the symbol is stripped away, but sometimes it remains
> in the binary.

As discussed on IRC, Daniel Jacobowitz suggested that mklibs could not
handle with the non-dynamic symbols.  Note that I created a patch to
remove _fp_hw and I'm asking it to the s390 maintainer.

Bastian, if you fix mklibs, please close this bug?

Regards,
-- gotom





Reply to: