NetBSD-Bugs archive

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

lib/45973: 5.0.x binaries using librt don't work on -current



>Number:         45973
>Category:       lib
>Synopsis:       5.0.x binaries using librt don't work on -current
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 10 11:00:01 +0000 2012
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.64 snapshot 201202060230Z
>Organization:
>Environment:
System: NetBSD i386 5.99.64 upgraded from 5.1.2 
Architecture: i386
Machine: i386
>Description:
5.0.2 packages binaries using librt like ruby19 installed in 5.1.2
doesn't work after upgraded to 5.99.64:

---
% ruby19
/usr/lib/librt.so.0: Undefined symbol "__cerror" (symnum = 12)
% which ruby19
/usr/pkg/bin/ruby19
% file /usr/pkg/bin/ruby19
/usr/pkg/bin/ruby19: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), for NetBSD 5.0, not stripped
% ldd /usr/pkg/bin/ruby19
/usr/pkg/bin/ruby19:
        -lruby19.19 => /usr/pkg/lib/libruby19.so.19
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lrt.0 => /usr/lib/librt.so.0
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /lib/libgcc_s.so.1
% ls -l /usr/lib/librt.so*
lrwxr-xr-x  1 root  wheel    12 Feb  6 17:53 /usr/lib/librt.so -> librt.so.1.0
lrwxr-xr-x  1 root  wheel    12 Feb  3 01:47 /usr/lib/librt.so.0 -> librt.so.0.0
-r--r--r--  1 root  wheel  8931 Feb  3 01:47 /usr/lib/librt.so.0.0
lrwxr-xr-x  1 root  wheel    12 Feb  6 17:53 /usr/lib/librt.so.1 -> librt.so.1.0
-r--r--r--  1 root  wheel  8830 Feb  6 17:53 /usr/lib/librt.so.1.0
%
---

5.0.2 ruby19 binary works fine on 5.1.2.

>How-To-Repeat:
- install NetBSD/i386 5.1.2
- pkg_add 
http://ftp7.jp.netbsd.org:/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2011Q4/All/ruby19
- upgrade that system to 5.99.64
- run ruby19

>Fix:
No idea. __cerror() compat function is missing in libc?



Home | Main Index | Thread Index | Old Index