Peter Wemm wrote:
> > cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 
-I
>     /usr/obj/usr/src/gnu/usr.bin/perl/miniperl   -I/usr/obj/usr/src/tmp/usr/i
nc
>     lude  -static -o miniperl miniperlmain.o  -lperl -lm -lcrypt
>    ^^^^^^^^^^^^^^^
> > /usr/obj/usr/src/tmp/usr/lib/libcrypt.a(crypt-shs.o): In function `crypt_sh
s'
:
> This is only the case for -static..  Shared libraries have dependency
> information, static libraries do not.

This makes some degree of sense, but could there not be (was there not?)
a mechanism that resolves ans many of the symbols as possible at "ar
time", so that...

> 2) compile libcrypt.a differently to libcrypt.so, ie: add in the md*.o and
> sha*.o static binaries into libcrypt by using SRCS+= sha.c in the !PIC case

... happens automagically?

> 3) help move ld.so to / so we can link everything dynamic.. :-)

Hmm. It will still be broken for the diehards who insist on having
everything static :-)

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to