From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 920173af for ; Mon, 31 Dec 2018 00:09:19 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id BFA1EAF365; Mon, 31 Dec 2018 10:09:17 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 69E5A94140; Mon, 31 Dec 2018 10:08:47 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 59AF2AF363; Mon, 31 Dec 2018 10:08:44 +1000 (AEST) X-Greylist: delayed 504 seconds by postgrey-1.36 at minnie.tuhs.org; Mon, 31 Dec 2018 10:08:43 AEST Received: from smtp.zmail.com (smtp01.zmail.com [82.165.227.142]) by minnie.tuhs.org (Postfix) with ESMTPS id DAE7F94140 for ; Mon, 31 Dec 2018 10:08:43 +1000 (AEST) Received: from india-live-spam04.icom.lan (india-live-spam04.icom.lan [10.72.59.44]) by smtp.zmail.com (Postfix) with ESMTP id C61933006B8 for ; Mon, 31 Dec 2018 00:00:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by india-live-spam04.icom.lan (Postfix) with ESMTP id C19FF1000BE for ; Mon, 31 Dec 2018 00:00:17 +0000 (UTC) Received: from smtp.zmail.com ([10.72.59.196]) by localhost (india-live-spam04.icom.lan [10.72.59.40]) (amavisd-new, port 20025) with ESMTP id 148xjGMcoXJp for ; Mon, 31 Dec 2018 00:00:17 +0000 (UTC) Received: from india-live-be01.icom.lan (india-live-be01.icom.lan [10.72.59.31]) by smtp.zmail.com (Postfix) with ESMTP id 6B9F91A063E; Mon, 31 Dec 2018 00:00:17 +0000 (UTC) MIME-Version: 1.0 In-Reply-To: References: <20181229010900.19F6218C074@mercury.lcs.mit.edu>, Date: Mon, 31 Dec 2018 00:00:17 +0000 (UTC) Message-ID: <401865440.113885.1546214417318.JavaMail.tomcat@india-live-be01> To: paul.winalski@gmail.com, Noel Chiappa Content-Type: text/plain; charset=UTF-8 X-Origin-Reference: 41_VHJhc2g=_PENBQkg9X1ZScjFLUHVYVlhReXNGXzlSMkRxTnBZWmVFaWlENVJFcmdaRFJxblE5TWhhd0BtYWlsLmdtYWlsLmNvbT4=_REPLY X-Origin: Paul Winalski X-Origin-Recipient: Noel Chiappa X-Origin-Received: 30 Dec 2018 18:35:22 +0000 (+00:00) X-Origin-Subject: Re: [TUHS] Deleted lib1 and lib2 in v6, recoverable? X-Priority: 3 Content-Transfer-Encoding: 7bit From: Donald ODona X-Mailer: zMail Mailer (beta) Subject: Re: [TUHS] Deleted lib1 and lib2 in v6, recoverable? X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" At 30 Dec 2018 18:35:22 +0000 (+00:00) from Paul Winalski : > > I think this has been pretty much universal behavior for all linkers > on all OSes since the 1960s. It continues to be true today. > > Sometimes one runs into a situation where a module loaded from lib1.a > has an undefined symbol that causes a module from lib2.a to be loaded, > and that module in turn has an undefined symbol that is defined in > lib1.a. In that case, you have to cause the linker to scan lib1.a > twice: > > ld main.o lib1.a lib2.a lib1.a > thats not true, because the M$ and borland linkers of the 80ths under MSDOS(sic!) already processed indexed libraries. Therefore the multiple inclusion of libraries wans'nt needed.