Project

General

Profile

Bug #1370

[clang-3.8] Unknown DWARF version

Added by Dmitry Moskalchuk about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Category:
toolchain
Target version:
Start date:
04/22/2016
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
arm
Host OS:
Toolchain:
clang-3.8
Android version:
CrystaX Version:

Description

$ ./run.sh

COMMAND: /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -o /dev/null -c -g -save-temps -I/home/crystax/work/ndk/ndk/platform/ndk/platforms/android-9/arch-arm/usr/include test.c

Unknown version
UNREACHABLE executed at /home/crystax/work/ndk/ndk/toolchain/llvm-3.8/llvm/lib/MC/MCDwarf.cpp:1254!
0 clang 0x0000000002a3b795 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 clang 0x0000000002a39686 llvm::sys::RunSignalHandlers() + 54
2 clang 0x0000000002a397fd
3 libpthread.so.0 0x00007f3fa7eb4340
4 libc.so.6 0x00007f3fa71e0cc9 gsignal + 57
5 libc.so.6 0x00007f3fa71e40d8 abort + 328
6 clang 0x0000000002a2048c
7 clang 0x00000000029c4f99 llvm::MCDwarfFrameEmitter::Emit(llvm::MCObjectStreamer&, llvm::MCAsmBackend*, bool) + 3337
8 clang 0x00000000029c9bca llvm::MCELFStreamer::FinishImpl() + 74
9 clang 0x000000000293de1c
10 clang 0x0000000000996a69
11 clang 0x000000000099948c cc1as_main(llvm::ArrayRef, char const*, void*) + 6604
12 clang 0x0000000000963138 main + 6456
13 libc.so.6 0x00007f3fa71cbec5 __libc_start_main + 245
14 clang 0x0000000000993689
Stack dump:

  1. Program arguments: /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin/clang -cc1as -triple armv7-none-linux-android -filetype obj -main-file-name test.c -target-cpu cortex-a8 -target-feature -fp-only-sp -target-feature +d16 -target-feature +vfp3 -target-feature -fp16 -target-feature -vfp4 -target-feature -fp-armv8 -target-feature -neon -target-feature -crypto -I /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-9/arch-arm/usr/include -mrelocation-model pic -mrelax-all -o /dev/null test.s
  2. Program arguments: -triple armv7-none-linux-android -filetype obj -main-file-name test.c -target-cpu cortex-a8 -target-feature -fp-only-sp -target-feature +d16 -target-feature +vfp3 -target-feature -fp16 -target-feature -vfp4 -target-feature -fp-armv8 -target-feature -neon -target-feature -crypto -I /home/crystax/work/ndk/ndk/platform/ndk/platforms/android-9/arch-arm/usr/include -mrelocation-model pic -mrelax-all -o /dev/null test.s 0 clang 0x0000000002a3b795 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37 1 clang 0x0000000002a39686 llvm::sys::RunSignalHandlers() + 54 2 clang 0x0000000002a397fd 3 libpthread.so.0 0x00007f3fa7eb4340 4 libc.so.6 0x00007f3fa71e0cc9 gsignal + 57 5 libc.so.6 0x00007f3fa71e40d8 abort + 328 6 clang 0x0000000002a2048c 7 clang 0x00000000029c4f99 llvm::MCDwarfFrameEmitter::Emit(llvm::MCObjectStreamer&, llvm::MCAsmBackend*, bool) + 3337 8 clang 0x00000000029c9bca llvm::MCELFStreamer::FinishImpl() + 74 9 clang 0x000000000293de1c 10 clang 0x0000000000996a69 11 clang 0x000000000099948c cc1as_main(llvm::ArrayRef, char const*, void*) + 6604 12 clang 0x0000000000963138 main + 6456 13 libc.so.6 0x00007f3fa71cbec5 __libc_start_main + 245 14 clang 0x0000000000993689 clang: error: unable to execute command: Aborted (core dumped) clang: error: clang integrated assembler command failed due to signal (use -v to see invocation) clang version 3.8 Target: armv7-none-linux-android Thread model: posix InstalledDir: /home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.8/prebuilt/linux-x86_64/bin clang: note: diagnostic msg: PLEASE submit a bug report to https://tracker.crystax.net/projects/ndk and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/test-5e2f8e.c
clang: note: diagnostic msg: /tmp/test-5e2f8e.sh
clang: note: diagnostic msg:


clang-crash2.zip (926 Bytes) Dmitry Moskalchuk, 04/22/2016 09:32 AM


Related issues

Blocks CrystaX NDK - Task #1318: Add just released clang-3.8Closed2016-03-08

History

#1 Updated by Dmitry Moskalchuk about 3 years ago

  • Blocks Task #1318: Add just released clang-3.8 added

#2 Updated by Dmitry Moskalchuk about 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF