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]clang-12: error: unable to execute command: Bus error (core dumped) clang-12: error: linker command failed due to signal (use -v to see invocation) #1735

Closed
zqq19900101 opened this issue Jul 19, 2022 · 1 comment
Labels

Comments

@zqq19900101
Copy link

zqq19900101 commented Jul 19, 2022

Description

we use ubuntu 20.04 to make android S source code, an error occured with error msg : [Bus error (core dumped)]
below msg is the crash backtrace

#0 0x00000000025bd168 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25bd168)
#1 0x00000000025bcff0 llvm::sys::RunSignalHandlers() (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25bcff0)
#2 0x00000000025bd63a (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25bd63a)
#3 0x00007fc4608cc3c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
#4 0x00007fc46041a6c3 /build/glibc-eX1tMB/glibc-2.31/string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262:0
#5 0x00000000026afcb8 void lld::elf::InputSection::writeTo<llvm::object::ELFType<(llvm::support::endianness)1, true> >(unsigned char*) (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x26afcb8)
#6 0x00000000026cc61c (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x26cc61c)
#7 0x00000000026cefa0 (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x26cefa0)
#8 0x00000000025e0c4f (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25e0c4f)
#9 0x00000000025dfd95 (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25dfd95)
#10 0x00000000025e0103 (/mnt/sda/android12/D280_S/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/ld.lld+0x25e0103)
#11 0x00007fc4608c0609 start_thread /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:478:7
#12 0x00007fc4603ae293 clone /build/glibc-eX1tMB/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:97:0
clang-12: error: unable to execute command: Bus error (core dumped)

Affected versions

Canary

Canary version

No response

Host OS

Linux

Host OS version

Ubuntu 20.04.2 LTS Linux

Affected ABIs

arm64-v8a

Build system

Other (specify below)

Other build system

No response

minSdkVersion

21

Device API level

No response

@DanAlbert
Copy link
Member

Don't believe there's anything that can be done without a repro case.

@DanAlbert DanAlbert closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2022
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

2 participants