cvsup{, d} woes after upgrading to RELENG_9 on amd64 this weekend

Henri Hennebert hlh at restart.be
Tue Jun 5 08:26:31 UTC 2012


On 06/05/2012 10:17, Scot Hetzel wrote:
> On Mon, Jun 4, 2012 at 4:34 AM, Henri Hennebert<hlh at 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
>



More information about the freebsd-stable mailing list