Project

General

Profile

Actions

Bug #1044

closed

Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_TO_UINT!")

Added by Dmitry M. over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
09/07/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
x86_64
Host OS:
Toolchain:
clang-3.6, clang-3.7
Android version:
CrystaX NDK Version:

Description

/Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/clang++ -MMD -MP -MF ./obj/local/x86_64/objs/test/test.o.d -gcc-toolchain /Volumes/android/ndk/platform/ndk/toolchains/x86_64-4.9/prebuilt/darwin-x86_64 -target x86_64-none-linux-android -ffunction-sections -funwind-tables -fstack-protector-strong -fPIC -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -fPIE -fexceptions -frtti -Wall -Wextra -Werror -std=gnu++11 -c -I/Volumes/android/ndk/platform/ndk/sources/crystax/include -I/Volumes/android/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/include jni/test.cpp -o ./obj/local/x86_64/objs/test/test.o
Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_TO_UINT!"), function SoftenFloatOp_FP_TO_UINT, file /Volumes/HD2/cislave/workspace/ndk-build-all/HOST/darwin/LABEL/ndk-build/toolchain/llvm-3.6/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp, line 780.
0 clang++ 0x0000000101d73412 llvm::SmallVectorTemplateBase::grow(unsigned long) + 5266
Stack dump:

  1. Program arguments: /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/clang++ -cc1 -triple x86_64-none-linux-android -emit-obj -mnoexecstack -disable-free -main-file-name test.cpp -mrelocation-model pic -pic-level 2 -pie-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +sse4.2 -target-feature +popcnt -backend-option -x86-force-gv-stack-cookie -target-linker-version 242.2 -momit-leaf-frame-pointer -g -dwarf-column-info -ffunction-sections -coverage-file /Volumes/android/ndk/out/tests/clang3.6/build/crystax-test-clang-static_cast/target+PIE/./obj/local/x86_64/objs/test/test.o -resource-dir /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/../lib/clang/3.6 -dependency-file ./obj/local/x86_64/objs/test/test.o.d -MT ./obj/local/x86_64/objs/test/test.o -MP -D NDEBUG -D ANDROID -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I jni -I /Volumes/android/ndk/platform/ndk/sources/crystax/include -I /Volumes/android/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/include -internal-isystem /usr/local/include -internal-isystem /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/../lib/clang/3.6/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -Wformat -Werror=format-security -Wall -Wextra -Werror -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir /Volumes/android/ndk/out/tests/clang3.6/build/crystax-test-clang-static_cast/target+PIE -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -backend-option -force-align-stack -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -fno-cxx-missing-return-semantics -o ./obj/local/x86_64/objs/test/test.o -x c++ jni/test.cpp
  2. parser at end of file
  3. Code generation
  4. Running pass 'Function Pass Manager' on module 'jni/test.cpp'.
  5. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZNK14base_num_parseIcE6do_getESt19istreambuf_iteratorIcSt11char_traitsIcEES4_RSt8ios_baseRSt12_Ios_IostateRt' clang++: error: unable to execute command: Illegal instruction: 4 clang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.6 Target: x86_64-none-linux-android Thread model: posix clang++: note: diagnostic msg: PLEASE submit a bug report to http://source.android.com/source/report-bugs.html 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: /var/folders/g7/tjqc4xvx12bdmmgmsltvvcxh0000gp/T/test-8441d7.cpp
clang++: note: diagnostic msg: /var/folders/g7/tjqc4xvx12bdmmgmsltvvcxh0000gp/T/test-8441d7.sh
clang++: note: diagnostic msg:


make[2]: *** [obj/local/x86_64/objs/test/test.o] Error 254

Actions #1

Updated by Dmitry M. over 8 years ago

Actions #2

Updated by Dmitry M. over 8 years ago

  • Target version changed from 10.3.0 to 11.0.0
Actions #3

Updated by Dmitry M. almost 8 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
  • CrystaX NDK Version set to 10.3.1

This bug is not reproducible in clang-3.8, so closing this ticket as not actual anymore.

Actions

Also available in: Atom PDF