Re: Unfortunate dynamic linking for everything

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 22 Nov 2003 16:02:17 -0500 (EST)
On Sat, 22 Nov 2003, Dimitry Andric wrote:

> On 2003-11-22 at 00:39:45 Tim Kientzle wrote:
> 
> > Right now, /sbin/init is statically linked.
> 
> Not here... I've built everything with WITH_DYNAMICROOT since the time
> the option was introduced, and as such: 
> 
> # file /sbin/init
> /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped
> # ldd /sbin/init
> /sbin/init:
>         libutil.so.3 => /lib/libutil.so.3 (0x28074000)
>         libcrypt.so.2 => /lib/libcrypt.so.2 (0x2807f000)
>         libc.so.5 => /lib/libc.so.5 (0x28097000)
> 
> In fact, the only statically linked executable I can currently find in
> my base system (= -CURRENT as of 2003-11-11) is /sbin/devd...

The commit to force init to be linked statically was made on 2003/11/19,
so your system is too old to see the change.  Commit message attached
below.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Network Associates Laboratories

revision 1.28
date: 2003/11/19 19:57:20;  author: gordon;  state: Exp;  lines: +2 -0
Make init statically linked by default. It's not worth the pain of having
a dynamically linked init as recently seen by ia64 woes.

Approved by:    re (jhb)
Received on Sat Nov 22 2003 - 12:04:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC