llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.04k stars 11.98k forks source link

HEXAGON_Tools/6.2.09/qc/bin/hexagon-clang crashed #21104

Closed llvmbot closed 10 years ago

llvmbot commented 10 years ago
Bugzilla Link 20730
Resolution WONTFIX
Resolved on Aug 24, 2014 23:32
Version trunk
OS Linux
Attachments hexagon-clang: note
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

Number of parameters related to this issue

If remove any one of the "-I" parameters , like -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/core/variation/inc It will not crashed.


hexagon-clang: error: unable to execute command: No such file or directory hexagon-clang: error: hexagon-as command failed due to signal (use -v to see invocation) Target: hexagon Thread model: posix QuIC LLVM Hexagon Clang version 6.2.09, (git://git-hexagon-aus.quicinc.com/llvm/clang-mainline 08eb277d508e7cb93b01bcd12d82e4cdcbec4c69) (llvm/llvm-mainline 7110644051f22263525c8d81ebf7c06df35bcf8c) hexagon-clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. hexagon-clang: note: diagnostic msg:


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: hexagon-clang: note: diagnostic msg: /tmp/devcfg_pad_8916-gzHUWd hexagon-clang: /hotram/bots/hexbotmaster-sles3/hexagon-clang-62/build/llvm/tools/clang/lib/Driver/Driver.cpp:526: void clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&, const clang::driver::Command*): Assertion `I != std::string::npos && "Expected to find -main-file-name"' failed. 0 hexagon-clang 0x0000000001e045ef 1 hexagon-clang 0x0000000001e0655a 2 libpthread.so.0 0x00007f289643fcb0 3 libc.so.6 0x00007f28956904f5 gsignal + 53 4 libc.so.6 0x00007f2895693c5b abort + 379 5 libc.so.6 0x00007f28956891be 6 libc.so.6 0x00007f2895689262 7 hexagon-clang 0x00000000006e3506 8 hexagon-clang 0x000000000062d822 main + 4850 9 libc.so.6 0x00007f289567b78d __libc_start_main + 237 10 hexagon-clang 0x00000000006261c9 Stack dump:

  1. Program arguments: /home/jianchang/Qualcomm/HEXAGON_Tools/6.2.09/qc/bin/hexagon-clang -Wall -Wpointer-arith -Wno-missing-braces -Wstrict-prototypes -Wnested-externs -mv5 -Uqdsp6 -Uq6sim -Uqdsp6r0 -O2 -g -fdata-sections -ffunction-sections -nostdlib -fno-exceptions -fno-strict-aliasing -fstack-protector -DCUST_H="custeaaaanvzq.h" -DBUILD_TARGET="EAAAANVZQ" -DBUILD_VER="0000" -DBUILD_ASIC="8916" -DBUILD_LICENSE_ENVIRONMENT=NON_GPL_ENVIRONMENT -DNON_GPL_ENVIRONMENT=1 -DGPL_ENVIRONMENT=2 -DFILENAME="devcfg_pad_8916.S" -DMSMHW_APPS_PROC=2 -DMSMHW_MODEM_PROC=1 -DMSMHW_PROC_DEF=MSMHW_MODEM_PROC -DMSMHW_MODEM_PROC -DIMAGE_MODEM_PROC -DIMAGE_QDSP6_PROC -DFEATURE_RUN_ON_SINGLE_HWTHREAD -DARCH_QDSP6 -DTHREAD_SAFE -DCONFIG_RESTRICTED_VM=1 -DMACHINE_Q6SIM -DENDIAN_LITTLE -DMY_GCC_FILE="devcfg_pad_8916.S" -DASSERT=ASSERT_FATAL -Wno-medium -Wno-low -hexagon-predef-argset=modem-sw -mllvm -shrink-wrap-ext-wrapper-section=.wrap.func -DDAL_CONFIG_IMAGE_MODEM -DDAL_CONFIG_TARGET_ID=0x8916 -DMODEM_FW_NUM_PRIO=64 -DFEATURE_MSM8916 -DDEVCFG_TCSR_SOC_HW_ADDR=0x194D000 -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/core/dal/config/build -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/build/cust -I. -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/geran/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/wcdma/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/mmcp/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/common/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/test/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/sap/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/tmd/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/ts/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/mfs/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/time/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/qmimsgs/rmtfs/api -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/1x/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/datamodem/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/hdr/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/tdscdma/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/uim/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/utils/api/public -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/core/cust/inc -I/home/jianchang/Work/L5510/baselinetwo/modem_proc/core/variation/inc -c -o /home/jianchang/Work/L5510/baselinetwo/modem_proc/core/dal/config/build/mapss_b/qdsp6/EAAAANVZ/devcfg_pad_8916.o /home/jianchang/Work/L5510/baselinetwo/modem_proc/core/dal/config/build/mapss_b/qdsp6/EAAAANVZ/devcfg_pad_8916.S Aborted (core dumped)
asl commented 10 years ago

Please report this to QuIC (or where you obtained this pre-built clang, it's not standard).