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.

Run-time library rtsv7A8_A_le_n_eabi.lib does not build for AM335x

Other Parts Discussed in Thread: AM3358, TI-CGT, TMS570LS0332, HALCOGEN

I am trying to compile one of the example projects from Starterware and a compilation error pops up regarding an error in mklib. The compilation log is given below:

"C:\\ti\\ccsv6\\utils\\bin\\gmake" all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/hw" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/armv7a" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/armv7a/am335x" -g --define=am3358 --diag_wrap=off --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="main.pp"  "../main.c"
'Finished building: ../main.c'
' '
'Building file: ../tdb_gpio.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/hw" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/armv7a" --include_path="C:/ti/AM335X_StarterWare_02_00_01_01/include/armv7a/am335x" -g --define=am3358 --diag_wrap=off --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="tdb_gpio.pp"  "../tdb_gpio.c"
'Finished building: ../tdb_gpio.c'
' '
'Building target: gpio_test.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --define=am3358 --diag_wrap=off --display_error_number --diag_warning=225 -z -m"gpio_test.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --reread_libs --define=A8_CORE=1 --display_error_number --diag_wrap=off --warn_sections --xml_link_info="gpio_test_linkInfo.xml" --rom_model -o "gpio_test.out" "./main.obj" "./tdb_gpio.obj" "../gpio_test.cmd"  -l"C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\am335x\drivers\Debug\drivers.lib" -l"C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\am335x\system_config\Debug\system.lib" -l"C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\utils\Debug\utils.lib" -l"libc.a"
<Linking>
warning #10366-D: automatic library build: using library "C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.7\lib\rtsv7A8_A_le_n_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
'[' is not recognized as an internal or external command,
operable program or batch file.
'[' is not recognized as an internal or external command,
operable program or batch file.
process_begin: CreateProcess(NULL, armcl array_del.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7A8 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false --neon -me -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~2.7/lib/src -fr c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -fs c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -ft c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj, ...) failed.
process_begin: CreateProcess(NULL, armcl array_new.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7A8 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false --neon -me -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~2.7/lib/src -fr c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -fs c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -ft c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj, ...) failed.
process_begin: CreateProcess(NULL, armcl array_nodel.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7A8 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false --neon -me -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~2.7/lib/src -fr c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -fs c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -ft c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj, ...) failed.
process_begin: CreateProcess(NULL, armcl array_nonew.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7A8 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false --neon -me -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~2.7/lib/src -fr c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -fs c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj -ft c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj, ...) failed.
make (e=2): The system cannot find the file specified.

gmake.exe[1]: *** [c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj/array_del.obj] Error 2
gmake.exe[1]: *** Waiting for unfinished jobs....
make (e=2): The system cannot find the file specified.

gmake.exe[1]: *** [c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj/array_new.obj] Error 2
make (e=2): The system cannot find the file specified.

gmake.exe[1]: *** [c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj/array_nodel.obj] Error 2
make (e=2): The system cannot find the file specified.

gmake.exe[1]: *** [c:/users/neeraj~1/appdata/local/temp/ti9505~1/obj/array_nonew.obj] Error 2
>> ERROR: mklib: gmake error during rtsv7A8_A_le_n_eabi.lib build
warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to "rtsv7A8_A_le_n_eabi.lib", but "rtsv7A8_A_le_n_eabi.lib" was not found
warning #10247-D: creating output section ".cinit" without a SECTIONS specification

 undefined      first referenced                                                                                          
  symbol            in file                                                                                               
 ---------      ----------------                                                                                          
 __STACK_END    C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\am335x\system_config\Debug\system.lib<init.obj>
 __TI_auto_init C:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ccs\am335x\system_config\Debug\system.lib<init.obj>
 __TI_zero_init                                                                                                           
 printf         ./main.obj                                                                                                

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "gpio_test.out" not built

>> Compilation failure
gmake: *** [gpio_test.out] Error 1

**** Build Finished ****

 

I noticed a similar error in another post. But, It had to do something with conflicting versions of Cygwin which I don't have. I installed CCS on another computer with Windows 7 (The computer that gave the error has Windows 10) and it worked fine. I also tried to independently generate the run-time library using command prompt and mklib. That showed the same error as the one on this compilation log. I suspect that there are compatibility issues with Windows 10. 

Please weigh in on this. Thanks.

  • We cannot reproduce the problem.  Please send in your exact CCS project.  That might do it.  This post has details on how to submit a CCS project.

    Thanks and regards,

    -George

  • Hi TI-Team,

    I'm running into the same problem since I have updated to the newest compiler release 5.2.7 for ARM-Compiler for TMS570LS0332.empty_HALCOGEN_project.zip

    To crosscheck I delete rtsv7R4_A_be_eabi.lib for TMS570LS0332 Compiler 5.2.6 and CCS was able to rebuild the library if I change the compiler to 5.2.6.

    Also on the windows command line I was able to build the library with mklib.

    But after I change the Compiler in the project to 5.2.7 I get the same error message. (See end of the posting).

    And also on the command line mklib gives the same error message.

    Additionally I get following Error in CCS:

    Description Resource Path Location Type
    Program "C:/TI/ccsv6/utils/bin/gmake" is not found in PATH empty_HALCOGEN_project    C/C++ Problem 

    The content is correct, gmake is not in my PATH. But I expect that the Path for gmake is given by CCS_UTILS_DIRECTORY in CCS.

    Or is there something changed from Version 5.2.6 to Version 5.2.7?

    Please find attached an "empty" HALCoGen Project with the same behavior.

    Thanks for your support.

    Frank

    warning #10366-D: automatic library build: using library "C:\TI\ccsv6\tools\compiler\ti-cgt-arm_5.2.7\lib\rtsv7R4_A_be_eabi.lib" for the first time, so it must be built. This may take a few minutes.

    Der Befehl "[" ist entweder falsch geschrieben oder

    konnte nicht gefunden werden.

    Der Befehl "[" ist entweder falsch geschrieben oder

    konnte nicht gefunden werden.

    process_begin: CreateProcess(NULL, armcl array_del.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl array_new.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl array_nodel.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl array_nonew.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl array_pdel.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl array_pnew.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl delete.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    process_begin: CreateProcess(NULL, armcl delnothrow.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums -c --ti_lib --keep_unneeded_types=false -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~1.7/lib/src -fr c:/users/malzan/appdata/local/temp/tic0e3~1/obj -fs c:/users/malzan/appdata/local/temp/tic0e3~1/obj -ft c:/users/malzan/appdata/local/temp/tic0e3~1/obj, ...) failed.

    make (e=2): Das System kann die angegebene Datei nicht finden.

     

  • Thank you for the test case.  I can reproduce the problem.  I filed SDSCM00052840 in the SDOWP system to have this investigated.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George