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

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



On Tue, Jun 29, 2004 at 02:57:06AM +0900, GOTO Masanori wrote:
> > > The glibc start code uses the not exported symbol _fp_hw on s390. This
> > > breaks mklibs. Sometimes it is stripped away by strip but sometimes not.
> Bastian, any progress about this bug?

No.

> 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.

Bastian

-- 
You're dead, Jim.
		-- McCoy, "The Tholian Web", stardate unknown

Attachment: signature.asc
Description: Digital signature


Reply to: