New issue
Advanced search Search tips

Issue 803729 link

Starred by 2 users

Issue metadata

Status: Verified
Owner: ----
Closed: Jan 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ToT bots are failing gclient runhooks with Symbol Symbol compile error in lld/wasm/Writer.cpp

Project Member Reported by inglorion@chromium.org, Jan 19 2018

Issue description

Logs: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.clang%2FToTLinux%2F1363%2F%2B%2Frecipes%2Fsteps%2Fgclient_runhooks%2F0%2Fstdout

Excerpt:
[1999/2108] Building CXX object tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o
FAILED: tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o 
/b/c/b/ToTLinux/src/third_party/llvm-build-tools/gcc485precise/bin/g++   -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/wasm -I/b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm -I/b/c/b/ToTLinux/src/third_party/llvm/tools/lld/include -Itools/lld/include -I/usr/include/libxml2 -Iinclude -I/b/c/b/ToTLinux/src/third_party/llvm/include -DLLVM_FORCE_HEAD_REVISION -fPIC -fvisibility-inlines-hidden -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O3    -UNDEBUG  -fno-exceptions -fno-rtti -MMD -MT tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o -MF tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o.d -o tools/lld/wasm/CMakeFiles/lldWasm.dir/Writer.cpp.o -c /b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm/Writer.cpp
/b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm/Writer.cpp:67:17: error: declaration of ‘const lld::wasm::Symbol* {anonymous}::WasmExportEntry::Symbol’ [-fpermissive]
   const Symbol *Symbol;
                 ^
In file included from /b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm/Config.h:17:0,
                 from /b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm/Writer.cpp:13:
/b/c/b/ToTLinux/src/third_party/llvm/tools/lld/wasm/Symbols.h:27:7: error: changes meaning of ‘Symbol’ from ‘class lld::wasm::Symbol’ [-fpermissive]
 class Symbol {
       ^

 
Labels: clang
Status: Verified (was: Untriaged)
Fixed in Clang r322921.

Sign in to add a comment