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.

Compiler/CC2640R2F: Linker Assertion Failed

Part Number: CC2640R2F


Tool/software: TI C/C++ Compiler

CC2640R2 SDK 1.35.00.33

CCS v7.1, Compiler Version = TI v16.9.1.LTS (v16.9.3.LTS has the same result)

Got the following when linking our project. Any idea?

'Building target: ble5_dxs_cc264r2em_app.out'

'Invoking: ARM Linker'

"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" --cmd_file="C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/config/build_components.opt" --cmd_file="C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/config/factory_config.opt" --cmd_file="C:/Users/ming/ccs_v7_ble_sdk135/ble5_dxs_cc264r2em_stack_library/TOOLS/build_config.opt"  -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --define=DEVICE_FAMILY=cc26x0r2 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=0 --define=BOARD_DISPLAY_USE_UART_ANSI=1 --define=BOARD_DISPLAY_EXCLUDE_LCD --define=BOARD_DISPLAY_EXCLUDE_UART --define=GAPROLE_TASK_STACK_SIZE=520 --define=CC264BPA_TIEM_R2 --define=CC264_R2 --define=CC26XX --define=CC26XX_R2 --define=HEAPMGR_METRICS --define=HEAPMGR_SIZE=3000 --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=4 --define=ICALL_STACK0_ADDR --define=ICALL_RAM0_ADDR --define=POWER_SAVING --define=STACK_LIBRARY --define=USE_CORE_SDK --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=MODEL_NO=\"TIEM\" --define=MFG_NAME=\"GT-tronics\" --define=SERIAL_NO=\"0000\" --define=HW_VER=\"2.0\" --define=SW_VER=\"3.0\" --define=CAPABILITY=\"TIEM\" --define=MAX_PDU_SIZE=27 --define=FLASH_EXT_W25 --define=CHECK_FLASH_W25_MAN_ID --define=GT_TL_USE_UART --define=GT_TL_RX_BUF_SIZE=324 --define=GT_TL_TX_BUF_SIZE=256 --define=xGT_FORCE_CLI --define=GT_USE_AT_CMD_2 --define=ATCMD_USE_UART --define=AT_CMD_VERBOSE_DISABLE --define=AT_CMD_PRESET_USE_SPI_FLASH --define=GT_IO_MGT_ENABLE_CORE --define=xGT_IO_MGT_ENABLE_EXPANDER --define=xGT_ACT_PROC --define=xGT_ACT_PROC_ENGINE --define=xGT_ACT_PROC_LIB_FNS --define=GT_ACT_PROC_UTILS --define=TI_DRIVERS_SPI_DMA_INCLUDED --define=TI_DRIVERS_I2C_INCLUDED --define=TI_DRIVERS_PWM_INCLUDED --define=Board_CONNST=PIN_UNASSIGNED --define=Board_CDMSW=PIN_UNASSIGNED -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"ble5_dxs_cc264r2em_app.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" --reread_libs --define=CC26X0ROM=2 --define=AUX_AS_RAM --diag_suppress=16002-D --diag_suppress=10247-D --diag_suppress=10325-D --diag_suppress=10229-D --diag_wrap=off --display_error_number --warn_sections --xml_link_info="ble5_dxs_cc264r2em_app_linkInfo.xml" --rom_model -o "ble5_dxs_cc264r2em_app.out" "./ActProc/actProc.obj" "./ActProc/actProcEngine.obj" "./ActProc/actProcLibFns.obj" "./ActProc/actProcTemplate.obj" "./ActProc/actProcUtils.obj" "./Application/connLEPeripheral.obj" "./Application/devinfoservice.obj" "./Application/dxs.obj" "./Application/util.obj" "./AtCmd/atCmd2GenUsr.obj" "./AtCmd/atCmdBuilder.obj" "./AtCmd/atCmdParser.obj" "./AtCmd/atCmdRsp.obj" "./AtCmd/atcmd_task.obj" "./DataLogger/DlgrWrapper.obj" "./DataLogger/datalogger.obj" "./Drivers/ECC/ECCROMCC26XX.obj" "./Drivers/I2C/I2C.obj" "./Drivers/I2C/I2CCC26XX.obj" "./Drivers/I2C/I2CSlave.obj" "./Drivers/PIN/PINCC26XX.obj" "./Drivers/POWER/PowerCC26XX.obj" "./Drivers/POWER/PowerCC26XX_calibrateRCOSC.obj" "./Drivers/PWM/PWM.obj" "./Drivers/PWM/PWMTimerCC26XX.obj" "./Drivers/SPI/SPI.obj" "./Drivers/SPI/SPICC26XXDMA.obj" "./Drivers/TIMER/Timer.obj" "./Drivers/TRNG/TRNGCC26XX.obj" "./Drivers/UART/UART.obj" "./Drivers/UART/UARTCC26XX.obj" "./HwAbs/Drivers/Flash/flash_w25.obj" "./HwAbs/Interfaces/gtBspI2c.obj" "./HwAbs/Interfaces/gtBspPwm.obj" "./HwAbs/Interfaces/gtBspSpi.obj" "./ICall/icall.obj" "./ICall/icall_cc2650.obj" "./ICall/icall_user_config.obj" "./ICallBLE/ble_user_config.obj" "./ICallBLE/icall_api_lite.obj" "./PROFILES/DXService.obj" "./PROFILES/gatt_uuid.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/peripheral.obj" "./Startup/board.obj" "./Startup/ccfg_app_ble.obj" "./Startup/main.obj" "./Transport/gt_tl.obj" "./Transport/gt_tl_ringbuf.obj" "./Transport/gt_tl_spi.obj" "./Transport/gt_tl_uart.obj" "./Utils/gtIOMgt.obj" "./Utils/gtUtils.obj" "./Utils/nvidAlloc.obj" "./Utils/sysIoPin.obj" -l"configPkg/linker.cmd" -l"C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/devices/cc26x0r2/driverlib/bin/ccs/driverlib.lib" -l"C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/lib/drivers_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/kernel/tirtos/packages/ti/dpl/lib/dpl_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/drivers/rf/lib/rf_singleMode_cc26x0r2.aem3" -l"C:/Users/ming/ccs_v7_ble_sdk135/ble5_dxs_cc264r2em_stack_library/FlashROM_Library/ble_r2.symbols" -l"C:/Users/ming/ccs_v7_ble_sdk135/ble5_dxs_cc264r2em_stack_library/FlashROM_Library/lib_linker.cmd" -l"C:/Users/ming/ccs_v7_ble_sdk135/ble5_dxs_cc264r2em_stack_library/FlashROM_Library/ble5_dxs_cc264r2em_stack_library.lib" -l"C:/ti/simplelink_cc2640r2_sdk_1_35_00_33/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app_aux.cmd" -llibc.a -llibc.a 

<Linking>

Assertion failed: sym != this, file c:\jenkins\workspace\buildtoolswindows\cgt\master\objedit04\of_symbol.h, line 434



This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.



INTERNAL ERROR: C:\ti\ccsv7\tools\compiler\ti-cgt-arm_16.9.1.LTS\bin\armlnk.exe had an internal inconsistency and aborted





>> Compilation failure

This is caused by a defect in the compiler itself. TI Customer

makefile:245: recipe for target 'ble5_dxs_cc264r2em_app.out' failed

Support may be able to suggest a workaround to avoid this.



Upgrading to the newest version of the compiler may fix this problem.



Contact TI in the E2E support forums at http://e2e.ti.com under

"Development Tools", "TI C/C++ Compiler". See the link titled

"Submitting an issue". Include this ENTIRE error message and a

copy of the .pp file created when option --preproc_with_comment

(-ppc) is used.



makefile:241: recipe for target 'all' failed

gmake[1]: *** [ble5_dxs_cc264r2em_app.out] Error 1

gmake: *** [all] Error 2



**** Build Finished ****