From owner-freebsd-hackers Sun Nov 26 15:25:26 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA10878 for hackers-outgoing; Sun, 26 Nov 1995 15:25:26 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA10871 for ; Sun, 26 Nov 1995 15:25:21 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id PAA13441; Sun, 26 Nov 1995 15:20:47 -0800 To: Scott Mace cc: hackers@freebsd.org Subject: Re: interesting tidbit from 2.1.0-RELEASE make world In-reply-to: Your message of "Sun, 26 Nov 1995 10:23:27 CST." <199511261623.KAA08479@metal.ops.neosoft.com> Date: Sun, 26 Nov 1995 15:20:47 -0800 Message-ID: <13439.817428047@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org Precedence: bulk Actually, a *lot* of stuff will fall over if you try to link -static. I noticed this recently in the ports collection (trying to build stand-alone versions of some ports) and was not pleased at what it implied, namely that we've lost the ability to transition from -static to dynamic without stuff falling over. I would expect something that used dl*() calls to die when linked static, but that's about it! Jordan > crash # make > ===> lp > ===> lpc > ===> lpd > cc -O -m486 -pipe -I/usr/src/usr.sbin/lpr/lpd/../common_source -static -o lpd lpd.o printjob.o recvjob.o displayq.o rmjob.o startdaemon.o lpdchar.o commo n.o > displayq.o: Definition of symbol `_warn' (multiply defined) > /usr/lib/libc.a(err.o): Definition of symbol `_warn' (multiply defined) > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > Just for grins I set usr.sbin to link statically... :-) > > Scott