This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hello TI experts
We are porting the open source library "ceres solver" on TI C66x DSP.
Considering Compiler/C6000-CGT: 8.3.4 have supported C++ 14 (ANSI/ISO/IEC 14882:2014 standard),
we use it to compile the sources of ceres solver and the makefile of DSPLIB is referred.
However, the following failure is encountered.
--------------------------------------------------------------------------------------------------------------------
"D:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\cg_tools\windows\ti-cgt-c6000_8.3.4/bin/"cl6x -c -mv6600 --abi=eabi -c -k -mw -o3 --symdebug:none --mem_model:data=far -DCERES_NO_THREADS -DCERES_USE_EIGEN_SPARSE -DCERES_NO_LAPACK -DCERES_NO_SUITESPARSE -DCERES_NO_CXSPARSE -DCERES_NO_THREADS -DCERES_NO_UNORDERED_MAP -I.-ID:/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/algorithms/ceres_c66x.00.01.00.00 -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\eigen3_c66x.00.01.00.00 -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\eigen3_c66x.00.01.00.00/src -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\eigen3_c66x.00.01.00.00/Eigen -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\ceres_c66x.00.01.00.00/include -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\ceres_c66x.00.01.00.00/include/ceres -ID:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\cg_tools\windows\ti-cgt-c6000_8.3.4/include -Dti_targets_elf_C66 -Dxdc_target_types__=ti/targets/std.h -eo.oe66 -ea.se66 -fr=obj/include/ceres/sparse_matrix -fs=obj/include/ceres/sparse_matrix -ppa -ppd=obj/include/ceres/sparse_matrix/dense_sparse_matrix.oe66.dep include/ceres/sparse_matrix/dense_sparse_matrix.cc
"D:\PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\eigen3_c66x.00.01.00.00\src/Core/products/Parallelizer.h", line 20: warning: variable "m_maxThreads" was set but never used
TP>> internal error: Bad kind: TYPE::name
>> Compilation failure
gmake[1]: *** [obj/include/ceres/sparse_matrix/dense_sparse_matrix.oe66] Error 1
We don't know what matter is it.
Thanks for your help!
Supplement an information: For the compiler option -o3 or -o2 or -o1, the failure is same.
When the option is changed to -o0, the result is passed.
An internal error always means there is a problem in the compiler. I need to reproduce it and then submit a bug report to the compiler development team. So I can do that, for the source file dense_sparse_matrix.cc, please follow the directions in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George
Since it has been a while, I presume you have resolved the problem. I'd appreciate hearing how you resolved it.
Thanks and regards,
-George