Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 10:26:27 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: cvsup{, d} woes after upgrading to RELENG_9 on amd64 this weekend
Message-ID:  <4FCDC2B3.6030805@restart.be>
In-Reply-To: <CACdU%2Bf8MVKbq_FiwsHau16jU0V1dHE%2BNz8qMmwC0OO3mzxzbVg@mail.gmail.com>
References:  <alpine.BSF.2.00.1206041038360.8570@mail.fig.ol.no> <4FCC8137.2070301@restart.be> <CACdU%2Bf8MVKbq_FiwsHau16jU0V1dHE%2BNz8qMmwC0OO3mzxzbVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/05/2012 10:17, Scot Hetzel wrote:
> On Mon, Jun 4, 2012 at 4:34 AM, Henri Hennebert<hlh@restart.be>  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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCDC2B3.6030805>