New issue
Advanced search Search tips

Issue 885324 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 884427
Owner: ----
Closed: Sep 18
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

Build failure

Project Member Reported by tmathmeyer@chromium.org, Sep 18

Issue description

I'm getting a build fail when building chromium for windows (on a linux machine):

gn args:
is_debug = false
proprietary_codecs = true
ffmpeg_branding = "Chrome"
is_component_build = true
enable_ac3_eac3_audio_demuxing = true
enable_mse_mpeg2ts_stream_parser = true
use_goma = false
enable_nacl = false
dcheck_always_on = true
symbol_level = 1 
target_os = "win"
is_clang = true
goma_dir = "/usr/local/google/home/tmathmeyer/chromium/goma"



1.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:1088:2: current parser token ';'
2.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:164:1: parsing namespace 'blink'
3.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:166:1: parsing struct/union/class body 'blink::AXObject'
4.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:295:32: LLVM IR generation of inline function 'blink::swap'
5.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:295:32: Generating code for declaration 'blink::swap'
6.      /usr/local/google/home/tmathmeyer/chromium/src/out/Windows/../../third_party/blink/renderer/platform/heap/heap_page.h:717:3 <Spelling=../../third_part
y/blink/renderer/platform/wtf/allocator.h:110:9>: LLVM IR generation of declaration 'blink::BaseArena::operator new'
7.      ../../third_party/blink/renderer/modules/accessibility/ax_object.h:243:5: Generating code for declaration 'blink::AXObject::InOrderTraversalIterator::
InOrderTraversalIterator'
#0 0x00000000020d5c84 (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x20d5c84)
#1 0x00000000020d3b1e llvm::sys::RunSignalHandlers() (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x20d3b1e)
#2 0x00000000020d5e42 (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x20d5e42)
#3 0x00007fb9c09370c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x110c0)
#4 0x00007fb9bf6f2fcf gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x32fcf)
#5 0x00007fb9bf6f43fa abort (/lib/x86_64-linux-gnu/libc.so.6+0x343fa)
#6 0x00007fb9bf6ebe37 (/lib/x86_64-linux-gnu/libc.so.6+0x2be37)
#7 0x00007fb9bf6ebee2 (/lib/x86_64-linux-gnu/libc.so.6+0x2bee2)
#8 0x00000000023bf34c clang::CodeGen::CodeGenTypes::getCGRecordLayout(clang::RecordDecl const*) (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x2
3bf34c)
...
#98 0x000000000335c666 clang::ParseAST(clang::Sema&, bool, bool) (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x335c666)
#99 0x00000000027751c0 clang::FrontendAction::Execute() (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x27751c0)
#100 0x000000000271d6b1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x271d6b1)
#101 0x0000000002819399 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x2819399)
#102 0x00000000008d8694 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x8d8694)
#103 0x00000000008d5e95 main (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x8d5e95)
#104 0x00007f078c0232b1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b1)
#105 0x00000000008d2e3d _start (../../third_party/llvm-build/Release+Asserts/bin/clang-cl+0x8d2e3d)
clang-cl: error: unable to execute command: Aborted
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 8.0.0 (trunk 340925)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin
clang-cl: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run
script.
clang-cl: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-cl: note: diagnostic msg: /tmp/modules_initializer-c34260.cpp
clang-cl: note: diagnostic msg: /tmp/modules_initializer-c34260.sh
clang-cl: note: diagnostic msg:



I can attach the files as well, if necessary. I have already tried deleting the out/Windows directory and starting the build fresh.
 
Cc: h...@chromium.org thakis@chromium.org
Mergedinto: 884427
Status: Duplicate (was: Untriaged)
You omitted the crucial "assertion failed" line, but this is likely a dupe of  issue 884427 
I do not have an 'assertion failed' line in my log; my logs jump directly from:

.........lity/accessibility_cc.pch /Yu../../third_party/blink/renderer/core/precompile_core.h /TP /wd4577 /GR- /c ../../third_party/blink/renderer/modules/accessibilit
y/ax_virtual_object.cc /Foobj/third_party/blink/renderer/modules/accessibility/accessibility/ax_virtual_object.obj /Fd"obj/third_party/blink/renderer/modules/
accessibility/accessibility_cc.pdb"

to:
clang-cl: /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/tools/clang/lib/CodeGen/CodeGenTypes.cpp:770: const clang::CodeGen::CGRecordLayout &clang::Cod
eGen::CodeGenTypes::getCGRecordLayout(const clang::RecordDecl *): Assertion `Layout && "Unable to find record layout information for type"' failed.
Stack dump:
0.      Program arguments: ..........

but otherwise, yeah, it does look like a duplicate issue.
What you just posted has

eGen::CodeGenTypes::getCGRecordLayout(const clang::RecordDecl *): Assertion `Layout && "Unable to find record layout information for type"' failed.

which is missing from comment 0 :-)
ah, grep lied to me =p

Sign in to add a comment