From owner-freebsd-stable@FreeBSD.ORG Tue Jun 5 08:17:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B1BD1065673 for ; Tue, 5 Jun 2012 08:17:17 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 44F0E8FC08 for ; Tue, 5 Jun 2012 08:17:17 +0000 (UTC) Received: by yenl8 with SMTP id l8so4433068yen.13 for ; Tue, 05 Jun 2012 01:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4OeSOrw2O7L4qMUNM/jVSZNUK+1W93sEBBa35qsIV94=; b=jh3OollbaD0ot5J8KojHGjdYz78wKMQFOKU+tJMKugO1FzUQ9oqBoDmPeileUhjh1/ aojMGgdRVKLL4Vr0/SmNYUUQgoUJJusQi6q2N2CIEwWvaYvnnD4uPEw3Z9zZOyD3a3Sz 2rYEK1vTBcoE1Jsd8juo9yIzJcjcPlAHugS4LMy/k2k3UbpH7E6TDmMnkbHWLUBwy7c6 3WfKiQW4KdmLyc/ZbT6BW3OLm9uTFFztUPLjcubdXhCW2yknKE9fGll0zGI6rvRhv2Q9 7/GxwMQ1c+gNDGbiqPFmcqq/F2cRSFOvhzclzxY3pv7lwTaTdy4u53n4zMUC0uJa28YK 3tow== MIME-Version: 1.0 Received: by 10.60.19.67 with SMTP id c3mr14869165oee.2.1338884236481; Tue, 05 Jun 2012 01:17:16 -0700 (PDT) Received: by 10.60.116.38 with HTTP; Tue, 5 Jun 2012 01:17:16 -0700 (PDT) In-Reply-To: <4FCC8137.2070301@restart.be> References: <4FCC8137.2070301@restart.be> Date: Tue, 5 Jun 2012 03:17:16 -0500 Message-ID: From: Scot Hetzel To: Henri Hennebert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:17:17 -0000 On Mon, Jun 4, 2012 at 4:34 AM, Henri Hennebert wrote: > On 06/04/2012 10:53, Trond Endrest=F8l 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=3D162588 > make.conf snipet from PR 162588: .if defined(WITH_CLANG) .if !defined(CC) || ${CC} =3D=3D "cc" CC=3Dclang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3Dclang++ .endif .if !defined(CPP) || ${CPP} =3D=3D "cpp" CPP=3Dclang -E .endif NO_WERROR=3D WERROR=3D .endif # WITH_CLANG acccording to http://wiki.freebsd.org/BuildingFreeBSDWithClang#Quickstart, you should be using: CPP=3Dclang-cpp If you change this , does it fix the issue? Scot