Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2018 12:14:07 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        KIRIYAMA Kazuhiko <kiri@kx.openedu.org>
Cc:        current@freebsd.org
Subject:   Re: /usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp:5:1: error: expected unqualified-id
Message-ID:  <03B2E393-9625-43DF-A0C8-DBA6F3211D34@FreeBSD.org>
In-Reply-To: <201804190448.w3J4mGnd021731@kx.openedu.org>
References:  <201804190448.w3J4mGnd021731@kx.openedu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_4CA8B3AA-3CB6-4116-8706-06A2EFF3D552
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 19 Apr 2018, at 06:48, KIRIYAMA Kazuhiko <kiri@kx.openedu.org> wrote:
>=20
> r332743 make builworld failed:
>=20
> c++  -O2 -pipe =
-I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang =
-I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm =
-I/usr/src/contrib/llvm/tools/clang/lib/Basic =
-I/usr/src/contrib/llvm/tools/clang/lib/Driver =
-I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include =
-I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL =
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS =
-DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" =
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" =
-DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/amd64.amd64/tmp\" =
-ffunction-sections -fdata-sections -gline-tables-only -MD =
-MF.depend.Frontend_SerializedDiagnosticReader.o =
-MTFrontend/SerializedDiagnosticReader.o -Qunused-arguments =
-I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include  -std=3Dc++11 =
-fno-exceptions -fno-rtti -gline-tables-only -stdlib=3Dlibc++ =
-Wno-c++11-extensions  -c =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp -o Frontend/Se!
> rializedDiagnosticReader.o
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:1: error: expected unqualified-id
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
> ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:13: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                   ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:21: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                                     ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:29: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                                                       ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:37: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                                                                        =
 ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:60: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                                                                        =
                           ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:5:61: error: source file is not valid UTF-8
> /7 This fi<U+001D>!<D9>is dW<U+0002>0<8B>ibut[<U+0015>d<8C>nder =
<U+0005>,<9C> University of IllinEV<AD><90>Open Source
>                                                                        =
                               ^
> =
/usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.=
cpp:10:10: fatal error: 'qlang/Frontend/SerializeNagnosticReader(h' file =
not found
> #include "qlang/Frontend/SerializeN<87>oagnosticReader(h"
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It definitely looks like your source files are corrupted, as this is
certainly not the normal contents.  Please check your RAM and storage
for errors.  If there are no errors, try deleting the source tree, and
obtaining a fresh checkout.

-Dimitry


--Apple-Mail=_4CA8B3AA-3CB6-4116-8706-06A2EFF3D552
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWthr7wAKCRCwXqMKLiCW
o4EAAJ0TGUSEC2WGAKm+ix4VRl3e2GhKKACeIpO/nzXjvKIuczs6bjdpc74YAqg=
=ZkTX
-----END PGP SIGNATURE-----

--Apple-Mail=_4CA8B3AA-3CB6-4116-8706-06A2EFF3D552--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03B2E393-9625-43DF-A0C8-DBA6F3211D34>