Re: /usr/src/contrib/llvm/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp:5:1: error: expected unqualified-id

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 19 Apr 2018 12:14:07 +0200
On 19 Apr 2018, at 06:48, KIRIYAMA Kazuhiko <kiri_at_kx.openedu.org> wrote:
> 
> r332743 make builworld failed:
> 
> 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=\"x86_64-unknown-freebsd12.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"/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=c++11 -fno-exceptions -fno-rtti -gline-tables-only -stdlib=libc++ -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


Received on Thu Apr 19 2018 - 08:14:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC