Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 1995 15:20:47 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Scott Mace <smace@metal.neosoft.com>
Cc:        hackers@freebsd.org
Subject:   Re: interesting tidbit from 2.1.0-RELEASE make world 
Message-ID:  <13439.817428047@time.cdrom.com>
In-Reply-To: Your message of "Sun, 26 Nov 1995 10:23:27 CST." <199511261623.KAA08479@metal.ops.neosoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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