[llvm-bugs] [Bug 28899] New: hexagon-clang: error: unable to execute command: Program could not be executed

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 7 21:40:35 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28899

            Bug ID: 28899
           Summary: hexagon-clang: error: unable to execute command:
                    Program could not be executed
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xuzheng12367 at sina.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16909
  --> https://llvm.org/bugs/attachment.cgi?id=16909&action=edit
log of build qualcomm modem code

ubuntu 12.04 
use hexagon tools 6.4.06, it will occur hexagon crash

=== Compiling  mapss_b/qdsp6/9607.gen.prod/DevCfgSegInfo.c
hexagon-clang: error: unable to execute command: Program could not be executed
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.4.06,
(git://git-hexagon-aus.quicinc.com/llvm/clang-mainline
62979ad0642094eced906061be76e8d510ec6b02) (llvm/llvm-mainline
0afc9bc1c9eae90f0dbec56acae14d7bdb18ee9f)
hexagon-clang: note: diagnostic msg: Please report the bug through your
designated Qualcomm/QuIC support channel.
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/DevCfgSegInfo-hJ1LCM.c
hexagon-clang:
/tmp/bots/hexbotmaster-sles6/hexagon-clang-64/build/llvm/tools/clang/lib/Driver/Driver.cpp:529:
void
clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&,
const clang::driver::Command*): Assertion `I != std::string::npos && "Expected
to find -main-file-name"' failed.
=== Compiling  mapss_b/qdsp6/9607.gen.prod/rcinit_autogen.c
0  hexagon-clang   0x0000000001e9080f
1  hexagon-clang   0x0000000001e9277a
2  libpthread.so.0 0x00007feabd5bbcb0
3  libc.so.6       0x00007feabc811445 gsignal + 53
4  libc.so.6       0x00007feabc814bab abort + 379
5  libc.so.6       0x00007feabc80a10e
6  libc.so.6       0x00007feabc80a1b2
7  hexagon-clang   0x00000000006ebbe6
8  hexagon-clang   0x00000000006341c2 main + 4850
9  libc.so.6       0x00007feabc7fc76d __libc_start_main + 237
10 hexagon-clang   0x000000000062cb59
Stack dump:
0.    Program arguments:
/root/Qualcomm/HEXAGON_Tools/6.4.06/qc/bin/hexagon-clang -Werror -Wall
-Wpointer-arith -Wno-missing-braces -Werror=unused-result
-Werror=deprecated-declarations -Wstrict-prototypes -Wnested-externs -mv55
-Uqdsp6 -Uq6sim -Uqdsp6r0 -O2 -g -fdata-sections -ffunction-sections -nostdlib
-fno-exceptions -fno-strict-aliasing -fstack-protector
-DCUST_H="cust9607.gen.prodq.h" -DBUILD_TARGET="9607.gen.prodQ"
-DBUILD_VER="0000" -DBUILD_ASIC="9607"
-DBUILD_LICENSE_ENVIRONMENT=NON_GPL_ENVIRONMENT -DNON_GPL_ENVIRONMENT=1
-DGPL_ENVIRONMENT=2 -D__FILENAME__="DevCfgSegInfo.c" -D__MSMHW_APPS_PROC__=2
-D__MSMHW_MODEM_PROC__=1 -D__MSMHW_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="DevCfgSegInfo.c" -DASSERT=ASSERT_FATAL
-hexagon-predef-argset=modem-sw -mllvm -disable-store-widen
-fno-strict-aliasing -DDAL_CONFIG_IMAGE_MODEM -DDAL_CONFIG_TARGET_ID=0x9607
-DMODEM_FW_NUM_PRIO=64 -DFEATURE_MDM9607 -DDEVCFG_TCSR_SOC_HW_ADDR=0x194D000
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/config/build
-I/home/xuzheng/work_space_9x07/modem_proc/scripts/cust
-I/home/xuzheng/work_space_9x07/modem_proc/build/cust -I.
-I/home/xuzheng/work_space_9x07/modem_proc/geran/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/wcdma/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/mmcp/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/common/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/test/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/sap/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/tmd/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/ts/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/mfs/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/time/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/rmtfs/api
-I/home/xuzheng/work_space_9x07/modem_proc/1x/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/datamodem/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/hdr/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/mcfg_fwk/api
-I/home/xuzheng/work_space_9x07/modem_proc/tdscdma/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/uim/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/utils/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/core/cust/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/variation/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/dal
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/buses
-I/home/xuzheng/work_space_9x07/modem_proc/core/buses/api/spmi/bear
-I/home/xuzheng/work_space_9x07/modem_proc/core/buses/api/spi
-I/home/xuzheng/work_space_9x07/modem_proc/core/buses/api/i2c
-I/home/xuzheng/work_space_9x07/modem_proc/core/buses/api/icb
-I/home/xuzheng/work_space_9x07/modem_proc/core/buses/api/uart_lite
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/hwengines
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/systemdrivers
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/systemdrivers/pmic
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/systemdrivers/hwio/mdm9607
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/debugtools
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/memory/qservices
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/services
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/diag_mask_tbl/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/rex
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/arch/qdsp6
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/libstd
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/libstd/stringl
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/rex/os/qurt
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/rte
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/qurt
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/posix
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/kernel/qube
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/sys/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/config
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/config/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/drivers/Timer/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/hwengines/adc/devices/common/protected
-I/home/xuzheng/work_space_9x07/modem_proc/core/hwengines/adc/diag/protected
-I/home/xuzheng/work_space_9x07/modem_proc/core/hwengines/adc/config
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/busywait/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/hal/clk/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/clock/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/clock/config
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/clock/config/mdm9607
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/tlmm/config
-I/home/xuzheng/work_space_9x07/modem_proc/core/systemdrivers/tlmm/config/mdm9607
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/api
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/dog/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/err/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/rcevt/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/rcinit/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/sys_m/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/debugtools/utils/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/memory/qservices/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/DCM/rtos/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/LSM/common/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/platform/bmp/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/DCM/common/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/nv/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/time/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/time_qmi/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/utils/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/osal/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/diag/f3_trace/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/rlc/src
-I/home/xuzheng/work_space_9x07/modem_proc/core/services/osal/rex/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/kernel/rex_core/common/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/kernel/rex_core/posix/common/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/api/memory
-I/home/xuzheng/work_space_9x07/modem_proc/core/kernel/xpu2/hal/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/kernel/xpu2/hal/inc/9607
-I/home/xuzheng/work_space_9x07/modem_proc/core/kernel/arch/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/drivers/TestDrivers/src -o
/home/xuzheng/work_space_9x07/modem_proc/core/dal/config/build/mapss_b/qdsp6/9607.gen.prod/DevCfgSegInfo.o
-c
/home/xuzheng/work_space_9x07/modem_proc/core/dal/config/build/mapss_b/qdsp6/9607.gen.prod/DevCfgSegInfo.c 
=== Compiling  mapss_b/qdsp6/9607.gen.prod/rex_os_context.c
=== Assembling mapss_b/qdsp6/9607.gen.prod/devcfg_pad_9607.S
hexagon-clang: error: unable to execute command: Program could not be executed
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.4.06,
(git://git-hexagon-aus.quicinc.com/llvm/clang-mainline
62979ad0642094eced906061be76e8d510ec6b02) (llvm/llvm-mainline
0afc9bc1c9eae90f0dbec56acae14d7bdb18ee9f)
hexagon-clang: note: diagnostic msg: Please report the bug through your
designated Qualcomm/QuIC support channel.
hexagon-clang: note: diagnostic msg:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160808/7ddda585/attachment-0001.html>


More information about the llvm-bugs mailing list