From owner-freebsd-stable@FreeBSD.ORG Thu Jul 20 02:05:13 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CA1016A4DE for ; Thu, 20 Jul 2006 02:05:13 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id E512043D46 for ; Thu, 20 Jul 2006 02:05:11 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:7yWLBihPzxY8VXFyQ1klwfCF+72RZgqK+so74//2uludcPos+SCOSt/oGpOm399C@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k6K24xa3025370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jul 2006 11:04:59 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 20 Jul 2006 11:04:58 +0900 Message-ID: From: Hajimu UMEMOTO To: "M. Warner Losh" In-Reply-To: <20060719.181215.63038086.imp@bsdimp.com> References: <44BE8912.9010807@palisadesys.com> <20060719.181215.63038086.imp@bsdimp.com> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-RELEASE-p1 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.5 (ameno.mahoroba.org [IPv6:::1]); Thu, 20 Jul 2006 11:05:01 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on ameno.mahoroba.org Cc: freebsd-stable@FreeBSD.ORG, ghelmer@palisadesys.com Subject: Re: Can't run newly-compiled RELENG_6 programs under RELENG_6_1: missing __res_state X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 02:05:13 -0000 Hi, >>>>> On Wed, 19 Jul 2006 18:12:15 -0600 (MDT) >>>>> "M. Warner Losh" said: imp> In message: <44BE8912.9010807@palisadesys.com> imp> Guy Helmer writes: imp> : We just tried running programs under RELENG_6_1 that were compiled under imp> : RELENG_6 checked out 2006-07-19, and couldn't because of the undefined imp> : symbol "__res_state"l, which I would assume is a result of the recent imp> : MFC of the BIND 9 resolver library. Is this to be expected? It will imp> : cause a bit of a hassle... imp> It is not officially supported by the project. You are running a imp> binary compiled on a newer version of the system on an older version imp> of the system. This has sometimes worked in the past, but is outside imp> the area that's expected to work. There's been a number of breakages imp> similar to this in past RELENG branches (there was one in 3.x and a imp> lot on 4.x). Yes, I believe running RELENG_6 binary on RELENG_6_1 is not supported by the project. imp> Having said that, can someone track down the problem in more detail to imp> see if there might not be something we can do to mitigate the problem imp> in the older versions? What is __res_state? __res_state is a function to initialize actual _res variable. The users usually use _res. _res is substituted with __res_state by the macro defined in resolv.h to support multi thread application. Though it used to be ___res, it is replaced by __res_state during resolver update. We have compatibility cruft for ___res to keep ABI backward compatibility. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/