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

Re: Current State of Debian Sparc Port



In article <199801031850.NAA23305$netgod.net@lists.netg.se> you write:

>Mark> Nonetheless, strings /lib/libncurses.so.3.4 only lists libc.so.6
>Mark> and ld-linux.so.2.
>
>Is it safe then to create a wrapper script around ldd that absorbs the
>spurious libc5 dependency, so correct packages can still be made?

It should be, but the correct solution would of course be to fix
ldd.

>Incidentially the ldso 1.9.6-2 from hamm seems to work better, but
>fails when run against some libs; this might be good enough for dpkg.

>/lib/ld-linux.so.2:
>ldd: /lib/ld-linux.so.2 exited with signal 11
>/lib/libcom_err.so.2:
>ldd: /lib/libcom_err.so.2 exited with signal 11

This is due to the fact that /lib/ld-linux.so.2 guesses (wrongly) that
the MMU page size is 8k (it is actually 4k). libc6 should be fixed to
do a syscall for getpagesize() instead of returning 8k as it does now.
I have a ld-linux.so.2 that has been binary-patched to guess 4k
instead, and it works much better. Its available at
ftp://ftp.netg.se/pub/Linux/sparc/ld-linux.so.2.gz if you want to try
it out.

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |       Mud at Kingdoms        | iko@netg.se
NetGuide Scandinavia |   telnet kingdoms.se 1812    | Fax: +46 31 50 79 39
http://www.netg.se   |                              | Tel: +46 31 50 79 40


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: