NetBSD-Bugs archive

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

port-macppc/47464: Undefined symbol _SDA_BASE_ or _SDA2_BASE_ with old programs



>Number:         47464
>Category:       port-macppc
>Synopsis:       cannot run older programs (around 2005/2006 time frame) due to 
>undefined symbols _SDA_BASE_ and _SDA2_BASE_
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 18 02:35:00 +0000 2013
>Originator:     Christian Groessler
>Release:        NetBSD 6.99.16
>Organization:
        
>Environment:
        
        
System: NetBSD muc-twinppc 6.99.16 NetBSD 6.99.16 (TWINPPC.MP) #0: Tue Jan 15 
17:53:39 CET 2013 
chris@muc-twinppc:/local/netbsd-src/obj/sys/arch/macppc/compile/TWINPPC.MP 
macppc
Architecture: powerpc
Machine: macppc
>Description:
        I have some programs compiled back in 2005/2006 which don't run anymore 
in the current version.
I haven't used NetBSD/macppc in the recent years, so I cannot tell when the 
problem first appeared.

$ ls -l
total 104
-rwxr-xr-x  1 chris  chris  31872 May 12  2005 ldpcos.nbppc*
-rwxr-xr-x  1 chris  chris  20028 Oct 18  2006 m20*
$ ./m20 
Undefined symbol "_SDA_BASE_" referenced from COPY relocation in ./m20
$ ldd m20 
m20:
        -lc.12 => /usr/lib/libc.so.12
$ file m20 
m20: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), 
dynamically linked (uses shared libs), for NetBSD 3.0, stripped

$ ./ldpcos.nbppc 
Undefined symbol "_SDA2_BASE_" referenced from COPY relocation in ./ldpcos.nbppc
$ ldd ldpcos.nbppc 
ldpcos.nbppc:
        -lc.12 => /usr/lib/libc.so.12
$ file ldpcos.nbppc 
ldpcos.nbppc: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 
(SYSV), dynamically linked (uses shared libs), for NetBSD 2.0, stripped


>How-To-Repeat:
Sample executables are on ftp://ftp.groessler.org/pub/chris/tmp/sda-base.tgz

>Fix:
        

>Unformatted:
                -current from around Jan-15-2013


Home | Main Index | Thread Index | Old Index