Subject: Re: Broken shared lib? (sparc port)
To: Motoyuki Konno <motoyuki@bsdclub.org>
From: Motoyuki Konno <motoyuki@bsdclub.org>
List: current-users
Date: 07/07/2000 08:32:39
Hi,

I've done more tests.

o  On i386 machine, this error does not occur.

   I think this is sparc port specific problem.

o  I formatted the hard drive and re-install the NetBSD sparc
   20000607 snapshot (not the 20000620-1.5 snapshot), and
   make build the yesterday's -current.  Then the same error 
   occured.

o  I tried to "make build" the yesterday's netbsd-1.5 source.
   The same error occured.


Motoyuki Konno <motoyuki@bsdclub.org> wrote:
> I installed NetBSD 20000620-1.5 snapshot to my SPARC server 5,
> and tried to update to today's -current.
> 
>   # cvs checkout -P src
>   # cd src; make build
>   [snip]
>   install ===> libc
>   install -r  -c  -o root  -g wheel -m 600 libc.a /usr/lib/libc.a
>   ranlib -t /usr/lib/libc.a
>   chmod 444 /usr/lib/libc.a
>   install -r  -c  -o root  -g wheel -m 600 libc_p.a /usr/lib/libc_p.a
>   ranlib -t /usr/lib/libc_p.a
>   chmod 444 /usr/lib/libc_p.a
>   install -r  -c  -o root  -g wheel -m 600 libc_pic.a /usr/lib/libc_pic.a
>   ranlib -t /usr/lib/libc_pic.a
>   chmod 444 /usr/lib/libc_pic.a
>   install -r  -c  -o root  -g wheel -m 444 libc.so.12.62 /usr/lib/libc.so.12.
62
>   rm -f /usr/lib/libc.so.12
>   ln -s libc.so.12.62  /usr/lib/libc.so.12
>   rm -f /usr/lib/libc.so
>   ln -s libc.so.12.62  /usr/lib/libc.so
>   install -r  -c  -o root  -g wheel -m 444 llib-lc.ln /usr/libdata/lint
>   /usr/lib/libc.so.12: Undefined symbol "" (reloc type = 12, symnum = 6)
>   *** Error code 1
> 
> As libc shared library seems to be broken, many commands do not work.
> For example,
> 
>   # more file
>   /usr/lib/libc.so.12: Undefined symbol "" (reloc type = 12, symnum = 6)
> 
> After I recover libc.so.12.62 from the 20000620-1.5 snapshot, 
> the errors do not occur.
> 
> I update the kernel and all userland (except shared libs) to current,
> and then tried to "make build", the result is same.
> 
> --
> ------------------------------------------------------------------------
> Motoyuki Konno                  motoyuki@bsdclub.org             (Home)
>                                 http://www.freebsd.org/~motoyuki/ (WWW)
> 
>