From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 11:27:00 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 45A9116A420 for ; Fri, 23 Nov 2007 11:27:00 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id AB2EB13C4D3 for ; Fri, 23 Nov 2007 11:26:59 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so2804315nfb for ; Fri, 23 Nov 2007 03:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gGGdqrGF+/sjgTd6ubViwXnYxi/dskWcSo9Xwkm+nH8=; b=Ahw+3CJXOfE3nu78tVbIoCJ3Tk72Wn6BnbAJBK5G5du7ocPTnrBr/Y1+g9Blt9YDYTD62iffDZ5SJLI4BrIRB+QHAARAIjssv0yoVmVzdvIVlpmTPJxgyJSRYZrxJE64tPf2tB6n8i2xJwWXtn3hgZXGofeaLrrQie7qPj08lLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sMN7IwzaWGi0sEVS734UVtGAvv73oCs8ScWSHg5rFS55D9KlJEFJFHwARvVcUbaNuVCvdSNm0eXRJYoh32x4qoRZtAF2IHFHgCK6xXOaRY6bU7yJNSEim2FFNp2QOGLfhXZ3GznVSuK7QXmcPKtrozVyKMyFGgxKR5QdGM0wT7U= Received: by 10.82.138.6 with SMTP id l6mr2828602bud.1195817211042; Fri, 23 Nov 2007 03:26:51 -0800 (PST) Received: by 10.82.115.11 with HTTP; Fri, 23 Nov 2007 03:26:50 -0800 (PST) Message-ID: <6eb82e0711230326w411ff4at62bfc18383b33df6@mail.gmail.com> Date: Fri, 23 Nov 2007 19:26:50 +0800 From: "Rong-en Fan" To: "Sean McNeil" In-Reply-To: <4745CB09.4020601@mcneil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4744AA82.1060506@mcneil.com> <4745CB09.4020601@mcneil.com> Cc: Daniel Eischen , current@freebsd.org Subject: Re: Now -stable is broken from undefined reference to `__mb_sb_limit' 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: Fri, 23 Nov 2007 11:27:00 -0000 On Nov 23, 2007 2:31 AM, Sean McNeil wrote: > Daniel Eischen wrote: > > On Wed, 21 Nov 2007, Sean McNeil wrote: > > > >> Why was this stuff MFCd? > >> > >> cc -O2 -fno-strict-aliasing -pipe -g > >> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5 > >> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1 > >> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roken > >> -I. -I/usr/local/include -DOPENLDAP=1 -DHAVE_CONFIG_H > >> -I/usr/src/kerberos5/libexec/ipropd-master/../../include -DINET6 -g > >> -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipropd-master > >> ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lroken > >> /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers/libvers.a > >> -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber > >> /usr/local/lib/libldap.so: undefined reference to `__mb_sb_limit' > >> *** Error code 1 > >> > >> Stop in /usr/src/kerberos5/libexec/ipropd-master. > > > > I don't think it should have been MFC'd, but that ship has already > > sailed. You're going to have to rebuild openldap first I think. > > Or perhaps build (kerberos) without LDAP. > > > I agree, it should not have been MFC'd. If you think it through, > essentially it has both broken the -STABLE model and made 6-STABLE > useless. Rebuilding openldap doesn't help I would have to build without > kerberos, install, rebuild openldap, build again and install, then > rebuild all my ports. This is not suppose to happen. Apply this then rebuild libc, it should be fine. I just sent it to re@ for approval. RCS file: /home/ncvs/src/lib/libc/locale/none.c,v retrieving revision 1.13.2.2 diff -u -r1.13.2.2 none.c --- lib/libc/locale/none.c 21 Nov 2007 01:31:48 -0000 1.13.2.2 +++ lib/libc/locale/none.c 23 Nov 2007 11:17:04 -0000 @@ -181,6 +181,7 @@ /* setup defaults */ int __mb_cur_max = 1; +int __mb_sb_limit = 256; size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, size_t, mbstate_t * __restrict) = _none_mbrtowc; int (*__mbsinit)(const mbstate_t *) = _none_mbsinit; > > Since I was interested in ZFS anyway, I have opted to pull down 7-STABLE > and do the exact steps above. My other option was to no longer track > 6-STABLE. I'm sure that is what most people will decide to do. Very > aggravating. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >