From owner-freebsd-stable@FreeBSD.ORG Tue Jun 5 08:26:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25F4A1065801 for ; Tue, 5 Jun 2012 08:26:31 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:56bf:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFE98FC2F for ; Tue, 5 Jun 2012 08:26:30 +0000 (UTC) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:56bf:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3W65hP2l2LzfrB; Tue, 5 Jun 2012 10:26:29 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.5.2 tignes.restart.be 3W65hP2l2LzfrB DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1338884789; bh=YZlyLOBtKIh2bJezdB82jvHuNpkypWMX/5QBjGloYHk=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Tue,=2005=20Jun=202012=2010:26:27=20+0200|From:=20Henri=2 0Hennebert=20|To:=20Scot=20Hetzel=20|CC:=20freebsd-stable@freebsd.org|Subject:=20Re:=20cvsup{,=2 0d}=20woes=20after=20upgrading=20to=20RELENG_9=20on=20amd64=20this =20weekend|References:=20=20<4FCC8137.2070301@restart.be>=20|In-Reply-To:=20; b=eIv9s6t+sB6DLzNXJxOpbbJbF7YZeD91zcqEcNxrYjQ8zgT+1qCT2xsLQ20MrfCbm wREOe0iBqGRy3LAdn3VliuJNhKFMRZ+By5EHmoGNFVeLm8eSFysSvm2S+eT44VCSPn I1tOYUngMfYFT2PC3DTxJMCzjYZyMU0V3NX4+Lxc= Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:56bf:1:2::]) (authenticated bits=0) by restart.be (8.14.5/8.14.5) with ESMTP id q558QRvW052184; Tue, 5 Jun 2012 10:26:28 +0200 (CEST) (envelope-from hlh@restart.be) Message-ID: <4FCDC2B3.6030805@restart.be> Date: Tue, 05 Jun 2012 10:26:27 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:12.0) Gecko/20120515 Thunderbird/12.0.1 MIME-Version: 1.0 To: Scot Hetzel References: <4FCC8137.2070301@restart.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: cvsup{, d} woes after upgrading to RELENG_9 on amd64 this weekend 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: Tue, 05 Jun 2012 08:26:31 -0000 On 06/05/2012 10:17, Scot Hetzel wrote: > On Mon, Jun 4, 2012 at 4:34 AM, Henri Hennebert wrote: >> On 06/04/2012 10:53, Trond Endrestøl wrote: >>> >>> Hi, >>> >>> After upgrading to RELENG_9 as of yesterday on my amd64 system, cvsup >>> bombs out with Bus error: 10. >>> >>> Example: >>> >>> # /usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile >>> Parsing supfile "/usr/src/stable-supfile" >>> Connecting to localhost >>> Connected to localhost >>> Server software version: SNAP_16_1h >>> Negotiating file attribute support >>> Exchanging collection information >>> Establishing multiplexed-mode data connection >>> Running >>> Updating collection src-all/cvs >>> Bus error: 10 >>> >>> The only recent change I can think of is switching to clang for >>> building the kernel and base. Made I should rebuild world and kernel >>> using gcc. >>> >> This is the culprit, you must compile libc and libz with gcc. >> >> See http://www.freebsd.org/cgi/query-pr.cgi?pr=162588 >> > > make.conf snipet from PR 162588: > > .if defined(WITH_CLANG) > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > .if !defined(CPP) || ${CPP} == "cpp" > CPP=clang -E > .endif > NO_WERROR= > WERROR= > .endif # WITH_CLANG > > acccording to http://wiki.freebsd.org/BuildingFreeBSDWithClang#Quickstart, > you should be using: > > CPP=clang-cpp > I change this a while ago and it don't change the problem at hand Henri > If you change this , does it fix the issue? > > Scot >