[llvm-bugs] [Bug 43839] New: LLVM ICE when building Chrome for aarch64 with asserts enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 29 10:38:51 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43839

            Bug ID: 43839
           Summary: LLVM ICE when building Chrome for aarch64 with asserts
                    enabled
           Product: new-bugs
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: cmtice at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 22743
  --> https://bugs.llvm.org/attachment.cgi?id=22743&action=edit
Shell script for reproducing error

When attempting to build Chrome for aarch64 with ASSERTS ENABLED, LLVM  died:

1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.     
../../../../../chromeos-cache/distfiles/target/chrome-src-internal/src/v8/src/common/ptr-compr-inl.h:36:19:
Generating code for declaration 'v8::internal::GetIsolateRoot'
 #0 0x00000000040466f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/bin/clang+++0x40466f8)
 #1 0x0000000004044200 llvm::sys::RunSignalHandlers()
(/usr/bin/clang+++0x4044200)
 #2 0x0000000004046dc1 (/usr/bin/clang+++0x4046dc1)
 #3 0x00007fe3a7d70540 __restore_rt (/lib64/libpthread.so.0+0x12540)
 #4 0x00007fe3a7264d31 raise (/lib64/libc.so.6+0x35d31)
 #5 0x00007fe3a7266a41 abort (/lib64/libc.so.6+0x37a41)
 #6 0x00007fe3a725d437 (/lib64/libc.so.6+0x2e437)
 #7 0x00007fe3a725d4e2 (/lib64/libc.so.6+0x2e4e2)
 #8 0x0000000004315e31 (/usr/bin/clang+++0x4315e31)
 #9 0x0000000004315ecb
clang::CodeGen::CodeGenFunction::EmitAlignmentAssumption(llvm::Value*,
clang::Expr const*, clang::SourceLocation, unsigned int, llvm::Value*)
(/usr/bin/clang+++0x4315ecb)
#10 0x000000000449c346
clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned
int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot)
(/usr/bin/clang+++0x449c346)
#11 0x00000000043412bc
clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*,
clang::CodeGen::ReturnValueSlot) (/usr/bin/clang+++0x43412bc)
#12 0x0000000004352c2c (/usr/bin/clang+++0x4352c2c)
#13 0x000000000434636f (/usr/bin/clang+++0x434636f)
#14 0x000000000435ca59 (/usr/bin/clang+++0x435ca59)
#15 0x00000000043462da
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool)
(/usr/bin/clang+++0x43462da)
#16 0x000000000431febc clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr
const*, clang::CodeGen::AggValueSlot, bool) (/usr/bin/clang+++0x431febc)
#17 0x000000000432bf56
clang::CodeGen::CodeGenFunction::EmitBinaryOperatorLValue(clang::BinaryOperator
const*) (/usr/bin/clang+++0x432bf56)
#18 0x00000000043207b8 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr
const*) (/usr/bin/clang+++0x43207b8)
#19 0x000000000436a552 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>) (/usr/bin/clang+++0x436a552)
#20 0x00000000043760bc
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) (/usr/bin/clang+++0x43760bc)
#21 0x0000000004311ca4
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
(/usr/bin/clang+++0x4311ca4)
#22 0x00000000042609db
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*) (/usr/bin/clang+++0x42609db)
#23 0x0000000004258827
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*) (/usr/bin/clang+++0x4258827)
#24 0x000000000424c594 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c594)
#25 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#26 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#27 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#28 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#29 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#30 0x000000000424c5c0 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/clang+++0x424c5c0)
#31 0x000000000424b3c9 clang::CodeGen::CodeGenModule::Release()
(/usr/bin/clang+++0x424b3c9)
#32 0x000000000495c88f (/usr/bin/clang+++0x495c88f)
#33 0x0000000004959887 (/usr/bin/clang+++0x4959887)
#34 0x0000000005a04125 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/clang+++0x5a04125)
#35 0x000000000488c953 clang::FrontendAction::Execute()
(/usr/bin/clang+++0x488c953)
#36 0x00000000047feb21
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/clang+++0x47feb21)
#37 0x000000000495442e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/clang+++0x495442e)
#38 0x0000000002b4ef9e cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/bin/clang+++0x2b4ef9e)
#39 0x0000000002b4c343 main (/usr/bin/clang+++0x2b4c343)
#40 0x00007fe3a7250a8e __libc_start_main (/lib64/libc.so.6+0x21a8e)
#41 0x0000000002b4902a _start (/usr/bin/clang+++0x2b4902a)
clang++: ^[[0;1;31merror: ^[[0munable to execute command: Aborted^[[0m
clang++: ^[[0;1;31merror: ^[[0mclang frontend command failed due to signal (use
-v to see invocation)^[[0m
Chromium OS 9.0_pre365631_p20190821-r23 clang version 10.0.0
(/var/cache/chromeos-cache/distfiles/host/egit-src/llvm-project
1bea97c971d60f261f1bdfaa7b6d9cb30a6962fd) (based on LLVM 10.0.0svn)
Target: aarch64-cros-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang++: ^[[0;1;30mnote: ^[[0mdiagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.^[[0m
clang++: ^[[0;1;30mnote: ^[[0mdiagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:^[[0m
clang++: ^[[0;1;30mnote: ^[[0mdiagnostic msg:
../../../../../chromeos-cache/dis\
tfiles/target/chrome-src-internal/src/tools/clang/crashreports/serializer-for-background-compilation-64f231.cpp^[[0m
clang++: ^[[0;1;30mnote: ^[[0mdiagnostic msg:
../../../../../chromeos-cache/dis\
tfiles/target/chrome-src-internal/src/tools/clang/crashreports/serializer-for-background-compilation-64f231.sh^[[0m
clang++: ^[[0;1;30mnote: ^[[0mdiagnostic msg:

********************^[[0m

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191029/7be8b053/attachment-0001.html>


More information about the llvm-bugs mailing list