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.
Hi team,
Here's an issue from the customer may need your help:
The customer has referenced the post and this link. (NOTE: They are using the required tdm64-gcc-5.1.0-2.exe, and the error occurred)
1. CCS11 and tdm64-gcc-5.1.0-2.exe are installed, ld.exe error occurred during compilation, compilation cannot go on properly.
2. After replacing the latest version of tdm, the following files are generated correctly, but the VCD file is missing:
Could you help check this case? Thanks.
Best Regards,
Cherry
Hi,
Sorry for the delay in feedback. I have not get the updates from the end customer. If there's anything new, I will follow up asap.
Thanks and regards,
Cherry
Cherry,
Any update on this?
It is most likely cause from a minor setup issue. Please share the customers error they get in the console.
Nima
Hi Nima,
Sorry for the delay in response. I just came back due to Chinese new year and there still no responds from the user. Please let me check with them, will get back to you soon.
Thanks and regards,
Cherry
Hi Nima,
Sorry for the delay in response. I just get the update from the customer today:
C2000Ware_DigitalPower_SDK_3_03_00_00
Using tdm64-gcc-5.1.0-2 generates a compilation error, currently using tdm64-gcc-10.3.0-2 with no associated error.
The following is a build generated with tdm64-gcc-10.3.0-2. It is able to compile but not generate a *.VCD file:
**** Build of configuration Debug for project clb_ex1_combinatorial_logic ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../clb_ex1_combinatorial_logic.syscfg"
Invoking: SysConfig
"C:/ti/ccs1110/ccs/utils/sysconfig_1.11.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/.metadata/product.json" -d "F28004x" --script "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/clb_ex1_combinatorial_logic.syscfg" -o "syscfg" --compiler ccs
Running script...
Validating...
Generating Code (clb_ex1_combinatorial_logic.syscfg)...
Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_config.h...
Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_config.c...
Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb.dot...
Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_sim.cpp...
Finished building: "../clb_ex1_combinatorial_logic.syscfg"
Building file: "syscfg/clb_sim.cpp"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_sim.d_raw" --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_sim.cpp"
Finished building: "syscfg/clb_sim.cpp"
Building file: "../f28004x_codestartbranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="f28004x_codestartbranch.d_raw" --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../f28004x_codestartbranch.asm"
Finished building: "../f28004x_codestartbranch.asm"
Building file: "../device.c"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device.d_raw" --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../device.c"
Finished building: "../device.c"
Building file: "syscfg/clb_config.c"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_config.d_raw" --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_config.c"
Finished building: "syscfg/clb_config.c"
Building file: "../clb_ex1_combinatorial_logic.c"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="clb_ex1_combinatorial_logic.d_raw" --include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../clb_ex1_combinatorial_logic.c"
Finished building: "../clb_ex1_combinatorial_logic.c"
Building target: "clb_ex1_combinatorial_logic.out"
Invoking: C2000 Linker
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"clb_ex1_combinatorial_logic.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib/ccs/Debug" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_ex1_combinatorial_logic_linkInfo.xml" --rom_model -o "clb_ex1_combinatorial_logic.out" "./clb_ex1_combinatorial_logic.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device.obj" "./f28004x_codestartbranch.obj" "../28004x_generic_ram_lnk.cmd" -ldriverlib.lib -llibc.a
<Linking>
Finished building target: "clb_ex1_combinatorial_logic.out"
mkdir "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation"
makefile:173: recipe for target 'post-build' failed
子目录或文件 C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation 已经存在。
gmake[2]: [post-build] Error 1 (ignored)
C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include/type2 -IC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.d -MTC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o -IC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg -fno-threadsafe-statics -oC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp
C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/simulation_output.exe C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_top_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group
makefile:173: recipe for target 'post-build' failed
C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':
C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:328:29: warning: 'Top::TILE1_BOUNDARY_IN' will be initialized after [-Wreorder]
328 | CLB_INPUT_CONDITIONER TILE1_BOUNDARY_IN;
| ^~~~~~~~~~~~~~~~~
C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:365:47: warning: base 'sc_core::sc_module' [-Wreorder]
365 | sc_top_clock("sc_top_clock", 20, SC_NS)
| ^
C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:336:5: warning: when initialized here [-Wreorder]
336 | Top(const sc_module_name &name, sc_trace_file *_tf):
| ^~~
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o: bad string table size 1702112768
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o: file too short
collect2.exe: error: ld returned 1 exit status
gmake[2]: [post-build] Error 1 (ignored)
process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, ...) failed.
make (e=2): The system could not find the specified file.
gmake[2]: [post-build] Error 2 (ignored)
./simulation/simulation_output.exe
makefile:173: recipe for target 'post-build' failed
C:/ti/ccs1110/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg" "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb.dot"
CLB block diagram SVG was created!
CLB block diagram HTML was created!
**** Build Finished ****
Thanks and regards,
Cherry
Can you share the link to the install location of the working compiler version?