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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8MVKbq_FiwsHau16jU0V1dHE%2BNz8qMmwC0OO3mzxzbVg>