-
Notifications
You must be signed in to change notification settings - Fork 258
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]: LLVM AOSP 13 build on WSL2 #1843
Comments
Can you share your output of
|
Version WSL : 1.0.3.0 Linux DESKTOP-M4B1VLQ 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux DISTRIB_ID=Ubuntu PS : Got to know that it first worked fine, but during the build, I got a build failure ( I didn't save the logs) , after that I restarted my machine , when launching, I get that error |
Try removing the |
(Closing as this doesn't appear to be an NDK issue, but feel free to continue the discussion. If we find that this affects any of the NDK compilers in an environment we support, we'll reopen) |
Description
android@DESKTOP-M4B1VLQ:~/aosp$ lunch aosp_raven-user
x
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
TARGET_PRODUCT=aosp_raven
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
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) (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a047d8)
#1 0x0000000002a03940 llvm::sys::RunSignalHandlers() (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a03940)
#2 0x0000000002a04c2a (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a04c2a)
#3 0x00007fb6fb3bf420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
#4 0x00000000027214b7 (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x27214b7)
#5 0x00000000021e1d2e void lld::elf::InputSection::relocateNonAlloc<llvm::object::ELFType<(llvm::support::endianness)1, true>, llvm::object::Elf_Rel_Impl<llvm::object::ELFType<(llvm::support::endianness)1, true>, true> >(unsigned char*, llvm::ArrayRef<llvm::object::Elf_Rel_Impl<llvm::object::ELFType<(llvm::support::endianness)1, true>, true> >) (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x21e1d2e)
#6 0x00000000021e03a3 (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x21e03a3)
#7 0x0000000002a1c4e2 (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a1c4e2)
#8 0x0000000002a1c3ba (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x2a1c3ba)
#9 0x00000000026d3ab4 (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x26d3ab4)
#10 0x000000000280b6cf (/home/android/aosp/prebuilts/clang/host/linux-x86/clang-r450784d/bin/ld.lld+0x280b6cf)
#11 0x00007fb6fb3b3609 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8609)
#12 0x00007fb6fae8f133 __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f133)
clang-14: error: unable to execute command: Segmentation fault
clang-14: error: linker command failed due to signal (use -v to see invocation)
08:05:43 ninja failed with: exit status 1
Upstream bug
No response
Commit to cherry-pick
No response
Affected versions
Canary
Canary version
No response
Host OS
Linux, Windows
Host OS version
UBUNTU 20.04 on WSL
Affected ABIs
arm64-v8a
The text was updated successfully, but these errors were encountered: