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

Bug#329733: mlibs truncates newt symbols on mipsel



Package: mklibs
Version: 0.1.16.1
Severity: normal
Tags: d-i

This could easily be a binutils bug or something and not a mklibs issue.
I'm seeing it on mipsel, during the d-i build or by hand, and it seems
to be truncating some symbols.

For example:

joeyh@enyo:~/installer/build/tmp$ mkdir foo
joeyh@enyo:~/installer/build/tmp$ cd foo
joeyh@enyo:~/installer/build/tmp/foo$ cp /usr/bin/whiptail .
joeyh@enyo:~/installer/build/tmp/foo$ mklibs -d . whiptail 
I: Using ld.so.1 as dynamic linker.
I: library reduction pass 1
83 symbols, 83 unresolved
I: library reduction pass 2
207 symbols, 57 unresolved
Traceback (most recent call last):
  File "/usr/bin/mklibs", line 473, in ?
      raise "No library provides non-weak " + symbol
No library provides non-weak NAMIC

joeyh@enyo:~/installer/build/tmp/foo$ objdump -T libnewt.so.0.51-so-stripped |grep NAMIC
DYNAMIC SYMBOL TABLE:
000000ec g    DO *ABS*  00000000  Base        _DYNAMIC
00000000      DO *UND*  00000826              NAMIC

Now, I'm sure that "NAMIC" was not a symbol in libnewt before mklibs
reduced it. During the d-i daily builds it fails similarly but with a 
symbol "ng", which is probably the end of one of the _string symbols.

Workaround is to remove libnewt-pic. None of the other libraries used by d-i
seem to trigger the problem.

(I tried it with versions 0.51.6-31 and 0.51.6-30 of the newt libraries,
same problem with either. Also reproduced it on two different raq2's.)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: