From owner-freebsd-stable Sun Oct 7 12:22:49 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 9ED1E37B401 for ; Sun, 7 Oct 2001 12:22:45 -0700 (PDT) Received: from localhost (eddy@localhost) by a.mx.everquick.net (8.10.2/8.10.2) with ESMTP id f97JMQI16789; Sun, 7 Oct 2001 19:22:26 GMT X-EverQuick-No-Abuse: Report any e-mail abuse to Date: Sun, 7 Oct 2001 19:22:25 +0000 (GMT) From: "E.B. Dreger" To: Cyrille Lefevre Cc: Kris Kennaway , stable@FreeBSD.ORG Subject: Re: bug or feature: "make world" static linking In-Reply-To: <200110060600.f9660Cm19517@gits.dyndns.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: Sat, 6 Oct 2001 08:00:11 +0200 (CEST) > From: Cyrille Lefevre > > > > After investigating with 'ldd', it was pretty obvious that the > > > > binaries had been _statically_ linked. Easy enough to change > > > > by adding "-Xlinker -Bdynamic" to CFLAGS. > > where did you change that ? Environment variable. > what gives `make -V CFLAGS -V COPTFLAGS -V CXXFLAGS' in /usr/src ? BEGIN VERBATIM--->> -O -pipe -O -pipe <<--- END VERBATIM > do you say that you edit sys.mk ? you shouldn't. any changes *must* Noted, although I have since changed it back. > go to /etc/make.conf. what is the contents of /etc/make.conf ? Not present. > also, did you edit /etc/defaults/make.conf (same assertion as sys.mk) ? No. > > 1. I think that I changed all back, and didn't change anything > > that looked like linker food; > > just to be sure, diff -u /usr/src/share/mk /usr/share/mk Only in /usr/src/share/mk: Makefile > much better would be to `make install' in /usr/src/share/mk Noted, although the 'diff' and 'make' indicate that all is normal. Now that I'm more awake, I'll do a test run (no additional flags or messing around), and post again if I still observe static linking in /usr/* files. 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