Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: compile error when I enabled HW ASan on Android U #1904

Closed
VijayLi11 opened this issue Jul 6, 2023 · 0 comments
Closed

[Bug]: compile error when I enabled HW ASan on Android U #1904

VijayLi11 opened this issue Jul 6, 2023 · 0 comments
Labels

Comments

@VijayLi11
Copy link

VijayLi11 commented Jul 6, 2023

Description

When I enable hwasan on android U,it can't compile succ

PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace.
#0 0x0000000002a047d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a047d8)
#1 0x0000000002a03940 llvm::sys::RunSignalHandlers() (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a03940)
#2 0x0000000002a04c2a (prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a04c2a)
#3 0x00007f84a10bd420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
#4 0x00007f84a0ab100b raise /build/glibc-SzIz7B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#5 0x00007f84a0a90859 abort /build/glibc-SzIz7B/glibc-2.31/stdlib/abort.c:81:7
#6 0x0000000001f432e2 llvm::report_fatal_error(llvm::Twine const&, bool) (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x1f432e2)
#7 0x0000000001ca7c45 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x1ca7c45)
#8 0x000000000229cc07 llvm::UpgradeDebugInfo(llvm::Module&) (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x229cc07)
#9 0x000000000285b86c (prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x285b86c)
#10 0x000000000203e70a llvm::Module::materializeAll() (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x203e70a)
#11 0x000000000203e3fa llvm::BitcodeModule::getModuleImpl(llvm::LLVMContext&, bool, bool, bool, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > (llvm::StringRef)>) (prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x203e3fa)
#12 0x000000000228b9db llvm::BitcodeModule::parseModule(llvm::LLVMContext&, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > (llvm::StringRef)>) (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x228b9db)
#13 0x000000000228b8c4 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x228b8c4)
#14 0x000000000228b672 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x228b672)
#15 0x000000000228b3cd (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x228b3cd)
#16 0x000000000228b2cb (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x228b2cb)
#17 0x00000000026da333 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x26da333)
#18 0x000000000274aea4 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x274aea4)
#19 0x000000000274ad9f (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x274ad9f)
#20 0x000000000274ad86 (/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x274ad86)
#21 0x00007f84a10b1609 start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:478:7
#22 0x00007f84a0b8d133 __clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:97:0
clang-14: error: unable to execute command: Aborted (core dumped)
clang-14: error: linker command failed due to signal (use -v to see invocation)

Upstream bug

No response

Commit to cherry-pick

No response

Affected versions

r25

Canary version

No response

Host OS

Linux

Host OS version

Ubuntu 20.04

Affected ABIs

x86_64

@VijayLi11 VijayLi11 added the bug label Jul 6, 2023
@VijayLi11 VijayLi11 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant