From owner-cvs-all Thu Sep 23 6:36:48 1999 Delivered-To: cvs-all@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A69315858; Thu, 23 Sep 1999 06:36:39 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from [212.238.132.94] (helo=scones.sup.scc.nl) by post.mail.nl.demon.net with esmtp (Exim 2.12 #1) id 11U94I-000LGY-00; Thu, 23 Sep 1999 13:37:50 +0000 Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id PAA32993; Thu, 23 Sep 1999 15:36:07 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <37EA2CC7.6654633D@scc.nl> Date: Thu, 23 Sep 1999 15:36:07 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: Dmitrij Tejblum Cc: Nate Williams , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/secure/lib/libcrypt Makefile src/lib/libcrypt Makefile References: <199909231253.QAA02741@tejblum.pp.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Dmitrij Tejblum wrote: > > Marcel Moolenaar wrote: > > This is comparing apples with peers. Interpreters either supply > > versioning information to the source code or they don't. If they do, > > then it should be used to handle incompatibilities in a user friendly > > way. I they don't, then you obviously don't have a choice, other than > > writing backwards compatible code as much as possible. > > ELF is an interpreted language. ELF (Executable and Linking Format) is not a language. It's a file format. > The interesting now part of the program would look somewhat like this: > INTERP /usr/libexec/ld-elf.so.1 > NEEDED libcrypt.so.2 > NEEDED libc.so.3 If ELF and interpreted languages were similar, then why aren't we programming with version numbers in every freaking statement? > (The INTERP line is handled by the kernel in a way similar to '#!' line > in a script. The rest is handled by the *ELF interpreter*. --- I just > want to convince you that it is indeed _very_ similar) The difference is, like you said, that /bin/sh doesn't contain a version number in it's name. Don't stretch your point, you're being silly. > > Shared libraries have versioning information. Use it! > > This is an illusion. "Version number" is just a part of > the name, no more. I could call my shared library 'foo.bar.baz', and > it would work. No, by convention, libc.so and libc5.so are different libraries. libc.so.5 and libc.so.6 are different versions of the same library. What does ``-lmd4 -lmd5'' mean to you? I hope you just have compiled with md4 and md5 support and not mixed two versions of you md library... > > Don't start the versioning discussion all over again. Instead, continu > > the discussion on -hackers, please. > > Sorry for the huge delay in that discussion. But there on -hackers I > suggested a far more radical and different thing than what is discussed > now. (Moreover, my arguments in that discussion are quite different > than here.) IMO it would be better to agree on this topic, before we > continue that. It's basicly the same topic. The trigger may be different, but the underlying assumptions and ideas are very clearly visible (not just yours, but anyones). > (W.R.T. your sigset_t changes (in case your wondered): I started to think > (after some Peter's words) that any ideas that restore compatibility can > be implemented (if they are agreed by the people, of course) later your > changes that breaks the compatibility. Indeed, I only want compatibility > for -RELEASEs, and -current may be broken it this respect for some time. > I am not 100% sure about it, though.) I'm not quite sure what you're saying. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message