Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 1995 01:22:19 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
To:        hackers@freebsd.org, Scott Mace <smace@metal.neosoft.com>
Cc:        nate@freebsd.org
Subject:   Re: interesting tidbit from 2.1.0-RELEASE make world
Message-ID:  <UbRYEkmmw7@ache.dialup.demos.ru>
In-Reply-To: <199511261623.KAA08479@metal.ops.neosoft.com>; from Scott Mace at Sun, 26 Nov 1995 10:23:27 -0600 (CST)
References:  <199511261623.KAA08479@metal.ops.neosoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199511261623.KAA08479@metal.ops.neosoft.com> Scott Mace
    writes:

>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 common.o  
>displayq.o: Definition of symbol `_warn' (multiply defined)
>/usr/lib/libc.a(err.o): Definition of symbol `_warn' (multiply defined)
>*** Error code 1

Yes, static building hits again.
Linking order of functions with same name is unpredictable with current ld
when static used. It is long-standing bug without any progress. :-(

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
http://dt.demos.su/~ache : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



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