From owner-freebsd-current@FreeBSD.ORG Wed Nov 28 01:25:37 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3054316A417 for ; Wed, 28 Nov 2007 01:25:37 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id DF05A13C45B for ; Wed, 28 Nov 2007 01:25:36 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so310828anc for ; Tue, 27 Nov 2007 17:25:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=ClCVWjBT38r1MMOBih93QuevsO+zgLbjhq9jUZHnwOU=; b=WSqCA4nNc8wJyiDO41re6Xn6sIAYJKIh6nLObj2+wBvwWf1gLQ46a6pFzBvx0WBR3ohQC5FXaf+8B3DtHY+yJdKxA9wGn33jx7knVComEnx8q5/whwRvfNsHsqdH+RM0MX8X255qXI6OCtCv4i+q158R+Lnw1t4EAxLGD8nZgNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=Bdv3avONZYUO1dpzubQHh39ZbFGCxa8RoXXdJ4B1m3cQC9fnQ7EwhblmvnsmZ9hNekmkauZQlx6LegeLCD1PsIyuY8R20IbEBNT8zDbtptja+HBUl4qETa1y/MV9EGttYcCPr0fQc+4mnyH1YXVAPQ3Jokzmo6YRhiSaSNBGD0k= Received: by 10.100.131.3 with SMTP id e3mr7790919and.1196211389521; Tue, 27 Nov 2007 16:56:29 -0800 (PST) Received: from kan.dnsalias.net ( [24.218.183.247]) by mx.google.com with ESMTPS id 7sm1429188wrl.2007.11.27.16.56.27 (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2007 16:56:28 -0800 (PST) Date: Tue, 27 Nov 2007 19:56:23 -0500 From: Alexander Kabaev To: Jason Evans Message-ID: <20071127195623.686cb9dc@kan.dnsalias.net> In-Reply-To: <474C88F3.9040301@freebsd.org> References: <200711271622.lARGMLSB066265@repoman.freebsd.org> <20071127135729.4c5c6f89@kan.dnsalias.net> <474C88F3.9040301@freebsd.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/b_n6+K7hXjYAhEk+cJ9QuN1"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: current@FreeBSD.org Subject: Re: Versions.def (was Re: cvs commit: src/lib/libc/gen Symbol.map) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 01:25:37 -0000 --Sig_/b_n6+K7hXjYAhEk+cJ9QuN1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 27 Nov 2007 13:15:31 -0800 Jason Evans wrote: > Alexander Kabaev wrote: > > On Tue, 27 Nov 2007 16:22:21 +0000 (UTC) > > Jason Evans wrote: > >> Modified files: > >> lib/libc/gen Symbol.map=20 > >> Log: > >> Add _pthread_mutex_init_calloc_cb to libc's map, for which malloc > >> defines a stub. > >=20 > > Is it a new function in FreeBSD 8.0 or are you planning to commit > > it to FreeBSD 7.0-current. If it is for 8.0 only, it does not > > belong where you put it. >=20 > My intent is to MFC this change after FreeBSD 7.0 is released. This=20 > brings up some questions and problems. This change adds=20 > _pthread_mutex_init_calloc_cb as a private interface that is > implemented by lib{c,thr,kse}, so from the user's perspective there > is no API change, but of course the libraries have to be in sync with > each other. >=20 > 1) Do we need to introduce a new namespace to > src/lib/libc/Versions.def for such a change? >=20 > 2) If we do introduce a new namespace in RELENG_7, does that mean > that every time we MFC an interface, we have to add a new namespace? >=20 > 3) Suppose that we do add the FBSDprivate_1.1 namespace. It it a=20 > successor to FBSD_1.1 or FBSDprivate_1.0? It appears that we cannot=20 > have it both ways, which leads me to suspect that FBSDprivate_1.0 > should not be a successor to FBSD_1.0 (i.e. it should have no > dependencies), and that FBSDprivate_1.1 should be a successor to > FBSDprivate_1.0. >=20 > FWIW, it looks like once we get the Versions.def issues figured out, > I'm guessing that _pthread_mutex_init_calloc_cb should be in=20 > src/lib/libc/stdlib/Symbol.map since its definition is in the stdlib=20 > directory rather than the gen directory. >=20 > Thanks, > Jason Hi Jason, sorry for the fuss. I didn't realize that you have added new symbol to FBSDPrivate section. No rules apply to it, so you are in the clear. -- Alexander Kabaev --=20 Alexander Kabaev --Sig_/b_n6+K7hXjYAhEk+cJ9QuN1 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHTLy3Q6z1jMm+XZYRAiwNAKCHoXGRRm7PFaeZM/R1t46aZGFQxwCgjmvh S3kd+2159ctvKIadiQkMZZg= =jxiD -----END PGP SIGNATURE----- --Sig_/b_n6+K7hXjYAhEk+cJ9QuN1--