Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 08:00:11 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        "E.B. Dreger" <eddy+public+spam@noc.everquick.net>
Cc:        Kris Kennaway <kris@obsecurity.org>, stable@FreeBSD.ORG
Subject:   Re: bug or feature: "make world" static linking
Message-ID:  <200110060600.f9660Cm19517@gits.dyndns.org>
In-Reply-To: <Pine.LNX.4.20.0110060334230.2862-100000@www.everquick.net>

next in thread | previous in thread | raw e-mail | index | archive | help
E.B. Dreger wrote:
> > Date: Fri, 5 Oct 2001 18:10:21 -0700
> > From: Kris Kennaway <kris@obsecurity.org>
> 
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110060600.f9660Cm19517>