Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 16:02:17 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        Tim Kientzle <kientzle@acm.org>
Subject:   Re: Unfortunate dynamic linking for everything
Message-ID:  <Pine.NEB.3.96L.1031122160121.57028A-100000@fledge.watson.org>
In-Reply-To: <12310878141.20031122170314@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031122160121.57028A-100000>