From owner-freebsd-stable Sun Oct 7 13:48:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from a.mx.everquick.net (a.mx.everquick.net [216.89.137.3]) by hub.freebsd.org (Postfix) with ESMTP id 63D9537B403 for ; Sun, 7 Oct 2001 13:48:15 -0700 (PDT) Received: from localhost (eddy@localhost) by a.mx.everquick.net (8.10.2/8.10.2) with ESMTP id f97Klvw17511; Sun, 7 Oct 2001 20:47:57 GMT X-EverQuick-No-Abuse: Report any e-mail abuse to Date: Sun, 7 Oct 2001 20:47:56 +0000 (GMT) From: "E.B. Dreger" To: Neil Blakey-Milner Cc: Cyrille Lefevre , Kris Kennaway , stable@FreeBSD.ORG Subject: Re: bug or feature: "make world" static linking In-Reply-To: <20011007220844.A95425@mithrandr.moria.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Sun, 7 Oct 2001 22:08:44 +0200 > From: Neil Blakey-Milner > > I think that I'll do a clean install on another drive, and post > > the results of that. > > What's in your environment? What does 'env' say? Pretty plain: PWD=/root PAGER=more FTP_PASSIVE_MODE=YES HOSTNAME=foundation.brotsman.test PS1=\n(\h:\l) [\u:\w]\n\d \t\n\$ BLOCKSIZE=K USER=root MACHTYPE=i386--freebsd4.4 MAIL=/var/mail/root LOGNAME=root SHLVL=1 SHELL=/usr/local/bin/bash HOSTTYPE=i386 OSTYPE=freebsd4.4 TERM=cons25 HOME=/root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin _=/usr/bin/env 'ldd' reports that the binaries are "not a dynamic executable", the stripped bins are much larger than distribution, and I note libc functions such as strcpy() in the .text segment of the unstripped versions. FWIW, I just did a clean install on another drive (not the above env), and observed the same static linking. No compiler or linker food in my env. Out-of-box source, Makefiles, et cetera. It's nothing insurmountable... I can force dynamic linking, then use static on /bin, /sbin, /boot, and so on... but I'm puzzled why _everything_ is [seemingly] static by default. Has anyone else done a "make buildworld" on 4.4-R? I can't see why I'd obtain different behavior than anyone else, but 1) the binary release is clearly dynamically linked where one expects and 2) mine are beyond a doubt using static linking. I'm confused... Eddy --------------------------------------------------------------------------- Brotsman & Dreger, Inc. - EverQuick Internet Division Phone: +1 (316) 794-8922 Wichita/(Inter)national Phone: +1 (785) 865-5885 Lawrence --------------------------------------------------------------------------- Date: Mon, 21 May 2001 11:23:58 +0000 (GMT) From: A Trap To: blacklist@brics.com Subject: Please ignore this portion of my mail signature. These last few lines are a trap for address-harvesting spambots. Do NOT send mail to , or you are likely to be blocked. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message