From owner-freebsd-stable Mon Oct 8 1:21: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (aragon.noos.net [212.198.2.75]) by hub.freebsd.org (Postfix) with ESMTP id AFBAE37B405 for ; Mon, 8 Oct 2001 01:21:01 -0700 (PDT) Received: (qmail 34043783 invoked by uid 0); 8 Oct 2001 08:20:59 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.75 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Oct 2001 08:20:59 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f988Kq752444; Mon, 8 Oct 2001 10:20:52 +0200 (CEST) (envelope-from root) Message-Id: <200110080820.f988Kq752444@gits.dyndns.org> Subject: Re: bug or feature: "make world" static linking In-Reply-To: To: "E.B. Dreger" Date: Mon, 8 Oct 2001 10:20:52 +0200 (CEST) Cc: Neil Blakey-Milner , Kris Kennaway , stable@FreeBSD.ORG Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL94c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 E.B. Dreger wrote: > > Date: Sun, 7 Oct 2001 22:08:44 +0200 > > From: Neil Blakey-Milner [snip] > Has anyone else done a "make buildworld" on 4.4-R? I can't see not in -release, but yes in -stable w/ no problem. > 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. could you give us the output of the following commands : ls -l /usr/lib/libc.* ls -l /usr/bin/yes ldd /usr/bin/yes cd /usr/src/usr.bin/yes make clean all install ls -l /usr/bin/yes ldd /usr/bin/yes mine output is : -r--r--r-- 1 root wheel 1263638 Sep 21 08:24 /usr/lib/libc.a lrwxr-xr-x 1 root wheel 9 Sep 21 08:25 /usr/lib/libc.so -> libc.so.4 -r--r--r-- 1 root wheel 630892 Sep 21 08:25 /usr/lib/libc.so.4 -r-xr-xr-x 1 root wheel 3120 Sep 21 08:46 /usr/bin/yes /usr/bin/yes: libc.so.4 => /usr/lib/libc.so.4 (0x28068000) rm -f yes yes.o yes.1.gz yes.1.cat.gz cc -O -pipe -funroll-loops -march=pentium -c /disk2/4.x-stable/src/usr.bin/yes/yes.c cc -O -pipe -funroll-loops -march=pentium -o yes yes.o gzip -cn /disk2/4.x-stable/src/usr.bin/yes/yes.1 > yes.1.gz install -C -c -s -o root -g wheel -m 555 yes /usr/bin install -C -c -o root -g wheel -m 444 yes.1.gz /usr/share/man/man1 -r-xr-xr-x 1 root wheel 3120 Sep 21 08:46 /usr/bin/yes /usr/bin/yes: libc.so.4 => /usr/lib/libc.so.4 (0x28068000) don't care about -funroll-loops -march=pentium, I've the following lines in /etc/make.conf : CPUTYPE= i586/mmx CFLAGS+= -funroll-loops Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message