From owner-freebsd-stable Fri Oct 5 23: 0:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (lafontaine.noos.net [212.198.2.72]) by hub.freebsd.org (Postfix) with ESMTP id 03BBC37B407 for ; Fri, 5 Oct 2001 23:00:15 -0700 (PDT) Received: (qmail 78138408 invoked by uid 0); 6 Oct 2001 06:00:13 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.72 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 6 Oct 2001 06:00:13 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f9660Cm19517; Sat, 6 Oct 2001 08:00:12 +0200 (CEST) (envelope-from root) Message-Id: <200110060600.f9660Cm19517@gits.dyndns.org> Subject: Re: bug or feature: "make world" static linking In-Reply-To: To: "E.B. Dreger" Date: Sat, 6 Oct 2001 08:00:11 +0200 (CEST) Cc: 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: Fri, 5 Oct 2001 18:10:21 -0700 > > From: Kris Kennaway > > > > 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 ? what gives `make -V CFLAGS -V COPTFLAGS -V CXXFLAGS' in /usr/src ? > > It shouldn't be doing this unless you tell it to. What other local > > settings have you changed? > > Although I had messed with CFLAGS settings in '/usr/share/mk/': do you say that you edit sys.mk ? you shouldn't. any changes *must* go to /etc/make.conf. what is the contents of /etc/make.conf ? also, did you edit /etc/defaults/make.conf (same assertion as sys.mk) ? > 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 much better would be to `make install' in /usr/src/share/mk [snip] 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