From owner-freebsd-current@FreeBSD.ORG Fri Jan 6 08:40:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C60B1106564A; Fri, 6 Jan 2012 08:40:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 668E18FC15; Fri, 6 Jan 2012 08:40:32 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Rj5Lj-0001I6-DM>; Fri, 06 Jan 2012 09:40:31 +0100 Received: from e178006202.adsl.alicedsl.de ([85.178.6.202] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Rj5Lj-0000Cg-6m>; Fri, 06 Jan 2012 09:40:31 +0100 Message-ID: <4F06B378.7050404@zedat.fu-berlin.de> Date: Fri, 06 Jan 2012 09:40:24 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120101 Thunderbird/9.0 MIME-Version: 1.0 To: Roman Divacky References: <4F062232.1020204@zedat.fu-berlin.de> <20120106073104.GA50351@freebsd.org> In-Reply-To: <20120106073104.GA50351@freebsd.org> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF10EB13667C5F3055D17CBE9" X-Originating-IP: 85.178.6.202 Cc: Current FreeBSD Subject: Re: WITH_LIBCPLUSPLUS on FreeBSD 10.0-CURRENT/amd64 fails with CLANG: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 08:40:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF10EB13667C5F3055D17CBE9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/06/12 08:31, Roman Divacky wrote: > what makes you think you're using clang? >=20 > On Thu, Jan 05, 2012 at 11:20:34PM +0100, O. Hartmann wrote: >> When compiling most recent CURRENT on amd64 platform, using CLANG and >> enabled WITH_LIBCPLUSPLUS, I receive the follwing error since two days= >> now. Build shown below was made avoiding -jX when doing buildworld. >> My blindness and my trust in a kind of "deus ex machina" :-( Sorry. Obviously, these lines in make.conf seem to fail recently when building the sources: ### ### CLANG ### =2Eif !defined(NO_CLANG) =2Eif ${.CURDIR:M/usr/src/*} || ${.CURDIR:M/usr/obj/*} || ${.CURDIR:M/sys= /*} =2Eif !defined(CC) || ${CC} =3D=3D "cc" CC=3D clang =2Eendif =2Eif !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3D clang++ =2Eendif =2Eif !defined(CPP) || ${CPP} =3D=3D "cpp" CPP=3D clang-cpp =2Eendif ## Don't die on warnings NO_WERROR=3D WERROR=3D ### Don't forget this when using Jails! #NO_FSCHG=3D # CFLAGS+=3D -pipe -O3 -fno-strict-aliasing COPTFLAGS+=3D -pipe -O3 =2Eendif =2Eendif I commented out the =2Eif ${.CURDIR:M/usr/src/*} || ${.CURDIR:M/usr/obj/*} || ${.CURDIR:M/sys= /*} for port's compiling purposes (some ports are pissed off when CLANG tries to compile). I commented them again and started a "make buildword" without any -jX again ... Oliver >> [SNIP] >> rpcgen -C -c /usr/src/lib/librpcsvc/../../include/rpcsvc/ypupdate_prot= =2Ex >> -o ypupdate_prot_xdr.c >> rm -f .depend >> CC=3D'cc -m32 -march=3Dnative -DCOMPAT_32BIT -isystem >> /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib3= 2 >> -B/usr/obj/usr/src/lib32/usr/lib32' mkdep -f .depend -a -DYP >> -I/usr/obj/usr/src/lib32/usr/include/rpcsvc -std=3Dgnu99 klm_prot_xdr= =2Ec >> mount_xdr.c nfs_prot_xdr.c nlm_prot_xdr.c rex_xdr.c rnusers_xdr.c >> rquota_xdr.c rstat_xdr.c rwall_xdr.c sm_inter_xdr.c spray_xdr.c >> yppasswd_xdr.c ypxfrd_xdr.c ypupdate_prot_xdr.c >> /usr/src/lib/librpcsvc/rnusers.c /usr/src/lib/librpcsvc/rstat.c >> /usr/src/lib/librpcsvc/rwall.c /usr/src/lib/librpcsvc/yp_passwd.c >> /usr/src/lib/librpcsvc/yp_update.c /usr/src/lib/librpcsvc/secretkey.c >> /usr/src/lib/librpcsvc/xcrypt.c >> =3D=3D=3D> lib/libsbuf (depend) >> =3D=3D=3D> lib/libtacplus (depend) >> =3D=3D=3D> lib/libutil (depend) >> =3D=3D=3D> lib/libypclnt (depend) >> =3D=3D=3D> lib/libcxxrt (depend) >> =3D=3D=3D> lib/libc++ (depend) >> rm -f .depend >> CC=3D'cc -m32 -march=3Dnative -DCOMPAT_32BIT -isystem >> /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib3= 2 >> -B/usr/obj/usr/src/lib32/usr/lib32' mkdep -f .depend -a >> -I/usr/src/lib/libc++/../../contrib/libc++/include >> -I/usr/src/lib/libc++/../../contrib/libcxxrt -DLIBCXXRT -std=3Dc++0x >> /usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/bind.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/chrono.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/condition_variable.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/debug.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/exception.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/future.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/hash.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/ios.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/iostream.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/locale.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/memory.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/mutex.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/new.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/random.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/regex.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/stdexcept.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/string.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/strstream.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/system_error.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/thread.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/typeinfo.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/utility.cpp >> /usr/src/lib/libc++/../../contrib/libc++/src/valarray.cpp >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> cc1plus: error: unrecognized command line option "-std=3Dc++0x" >> mkdep: compile failed >> >=20 --------------enigF10EB13667C5F3055D17CBE9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJPBrN+AAoJEOgBcD7A/5N8FgUH/3sDTci1r6JWpPNWc4hJpis/ /Ow5jsvFWj3qQ5KvgW6Cnts2sgvbsXWsfwhqj1qwmwautibRQqPXadOGLKtscr4Y +oUvtaE7dDLgx2j+L/BCav/79c9eAyHnB0zRhfRYZ46lNbzGVYryNEmJODoFyT/o u4lyrJ6vkH8mnzvAwpLUCnMWltOS5NoprlJSTXY4JV5D1eFxsUkSWq2WAGd8C24P u3RN0Jct/9blKu28GoiJWYW4v09Q/3AKkRtSCT0W/JHcun74C9gfBDYL4c2BI05u Vf4WZldXaZbjKw8fNuDKbEDnNETgUpRwz9btbnLUk82BDcEysGTB8LsMvFMuPC0= =UCP8 -----END PGP SIGNATURE----- --------------enigF10EB13667C5F3055D17CBE9--