On Mon, Jun 4, 2012 at 4:34 AM, Henri Hennebert <h...@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

If you change this , does it fix the issue?

Scot
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to