From owner-freebsd-current@FreeBSD.ORG Sun Mar 4 20:34:35 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 DB36E106566B for ; Sun, 4 Mar 2012 20:34:35 +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 7F2348FC14 for ; Sun, 4 Mar 2012 20:34:35 +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 <1S4I8Y-0002Ti-0x>; Sun, 04 Mar 2012 21:34:34 +0100 Received: from e178032031.adsl.alicedsl.de ([85.178.32.31] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1S4I8X-0001yK-Rw>; Sun, 04 Mar 2012 21:34:34 +0100 Message-ID: <4F53D1D3.2010607@zedat.fu-berlin.de> Date: Sun, 04 Mar 2012 21:34:27 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120223 Thunderbird/10.0.2 MIME-Version: 1.0 To: Pegasus Mc Cleaft References: <4F536D41.1030302@zedat.fu-berlin.de> <201203041628.q24GS12l088270@pozo.com> <201203041751.02531.ken@mthelicon.com> In-Reply-To: <201203041751.02531.ken@mthelicon.com> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig67CE1E2681AB976F48D1D247" X-Originating-IP: 85.178.32.31 Cc: freebsd-current@freebsd.org Subject: Re: CLANG buildworld failure: lint: cannot exec /usr/obj/usr/src/tmp/usr/bin/cc: No such file or directory 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: Sun, 04 Mar 2012 20:34:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig67CE1E2681AB976F48D1D247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/04/12 18:51, Pegasus Mc Cleaft wrote: > On Sunday 04 March 2012 16:27:56 Manfred Antar wrote: >> At 05:25 AM 3/4/2012, O. Hartmann wrote: >>> Buildworld of FBSD 10.o-CUR/amd64 fails with the below shown error >>> messages since this weekend: >>> >>> >>> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3 >>> -fno-strict-aliasing -march=3Dnative >>> -I/usr/src/usr.bin/xlint/xlint/../lint1 -DPREFIX=3D\"\" >>> -I/usr/src/usr.bin/xlint/xlint/../arch/amd64 >>> -I/usr/src/usr.bin/xlint/xlint/../common -std=3Dgnu99 -fstack-protect= or >>> -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter >>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-typ= e >>> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter >>> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs >>> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o xlint >>> xlint.o mem.o >>> clang: warning: argument unused during compilation: '-std=3Dgnu99' >>> gzip -cn /usr/src/usr.bin/xlint/xlint/lint.1 > lint.1.gz >>> =3D=3D=3D> usr.bin/xlint/llib (all) >>> lint -cghapbx -Cposix /usr/src/usr.bin/xlint/llib/llib-lposix >>> llib-lposix: >>> lint: cannot exec /usr/obj/usr/src/tmp/usr/bin/cc: No such file or >>> directory *** [llib-lposix.ln] Error code 1 >>> >>> Stop in /usr/src/usr.bin/xlint/llib. >>> *** [all] Error code 1 >>> >>> Stop in /usr/src/usr.bin/xlint. >>> *** [all] Error code 1 >>> >>> Stop in /usr/src/usr.bin. >>> *** [usr.bin.all__D] Error code 1 >>> >>> Stop in /usr/src. >>> *** [everything] Error code 1 >>> >>> Stop in /usr/src. >>> *** [buildworld] Error code 1 >>> >>> Stop in /usr/src. >>> >>> >>> Regards, >>> Oliver >> >> I got the same error 1 day ago on i386 platform. >=20 > I got the same error, but got around it by putting: >=20 > WITH_CLANG_IS_CC=3Dno >=20 > in /etc/src.conf >=20 > ta, > Peg >=20 Where are those new "WITH_CLANG_XXXX" tags documented? In my case things developed even worse. After the last "make update" in /usr/src (SVN based), I can't even build a kernel (make buildworld fails very early): =3D=3D=3D> games/fortune/strfile (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend CC=3D'clang' mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dgnu99 /usr/src/games/fortune/strfile/strfile.c echo strfile: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -std=3Dgnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -std=3Dgnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o strfile strfile.o -legacy clang: warning: argument unused during compilation: '-std=3Dgnu99' strfile.o: In function `main': /usr/src/games/fortune/strfile/strfile.c:(.text+0x2e0): undefined reference to `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x382): undefined reference to `_ThreadRuneLocale' strfile.o: In function `cmp_str': /usr/src/games/fortune/strfile/strfile.c:(.text+0x860): undefined reference to `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x8bb): undefined reference to `_ThreadRuneLocale' /usr/src/games/fortune/strfile/strfile.c:(.text+0x9b4): undefined reference to `_ThreadRuneLocale' strfile.o:/usr/src/games/fortune/strfile/strfile.c:(.text+0xa0e): more undefined references to `_ThreadRuneLocale' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [strfile] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 1 error --------------enig67CE1E2681AB976F48D1D247 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) iQEcBAEBAgAGBQJPU9HZAAoJEOgBcD7A/5N8igoH/2jQaR7jR8iWemSYLz/AlF1y 0Q7tB5SsfUbBgiJN7d5TyqB2Q0HTKeSk14kKrjQqoiTySz5j60nXjAtm28VyqPIr 8web6GL8jW53loi183S0ghFM32vzGImVd4zm+uLAajcP4irOh33SMkHd53JCGpCs ZjyNbmVWcGWKXtP21F1c4GWYDQ1ebUAL4WZturw9omQKL94h9pUlkOEMrK8mzxnz j8TCOHl8SJr7VjjT0VDWOMxJBLfBQ2BpetVtJCPoX8AkQTuL+VtXJG7tvtITHycp RcxecV7WWHBB9eFh3NOSNbib28jisBTeL+RR4UQSONOcQKsPIgb8f45TATMdxgw= =sKjS -----END PGP SIGNATURE----- --------------enig67CE1E2681AB976F48D1D247--