IWRL6432BOOST: warning encountered while creating a program

Part Number: IWRL6432BOOST

Tool/software:

so when creating a replica of the empty project example i have encountered a problem hoe to solve this warning in linker section creation i am getting a warning 

**** Build of configuration Debug for project first_project ****

"C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
 
Building file: "../main.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg"  "../main.c"
Finished building: "../main.c"
 
Building file: "syscfg/ti_dpl_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_dpl_config.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_dpl_config.c"
Finished building: "syscfg/ti_dpl_config.c"
 
Building file: "syscfg/ti_drivers_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_config.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_drivers_config.c"
Finished building: "syscfg/ti_drivers_config.c"
 
Building file: "syscfg/ti_drivers_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_drivers_open_close.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_drivers_open_close.c"
Finished building: "syscfg/ti_drivers_open_close.c"
 
Building file: "syscfg/ti_pinmux_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_pinmux_config.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_pinmux_config.c"
Finished building: "syscfg/ti_pinmux_config.c"
 
Building file: "syscfg/ti_power_clock_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_power_clock_config.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_power_clock_config.c"
Finished building: "syscfg/ti_power_clock_config.c"
 
Building file: "syscfg/ti_board_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_board_config.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_board_config.c"
Finished building: "syscfg/ti_board_config.c"
 
Building file: "syscfg/ti_board_open_close.c"
Invoking: Arm Compiler
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project" --include_path="C:/ti/MMWAVE_L_SDK_05_04_00_01/source" --include_path="C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/ti_board_open_close.d_raw" --include_path="C:/Users/vasikaran/OneDrive/Documents/mmwave_workspace/first_project/Debug/syscfg" --obj_directory="syscfg"  "syscfg/ti_board_open_close.c"
Finished building: "syscfg/ti_board_open_close.c"
 
Building target: "first_project.out"
Invoking: Arm Linker
"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=FPv4SPD16 -me --define=SOC_XWRL64XX -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi -z -m"first_project.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib" -i"C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" -i"C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib" -i"C:/ti/MMWAVE_L_SDK_05_04_00_01/source/drivers/lib" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="first_project_linkInfo.xml" --rom_model -o "first_project.out" "./main.obj" "./syscfg/ti_dpl_config.obj" "./syscfg/ti_drivers_config.obj" "./syscfg/ti_drivers_open_close.obj" "./syscfg/ti_pinmux_config.obj" "./syscfg/ti_power_clock_config.obj" "./syscfg/ti_board_config.obj" "./syscfg/ti_board_open_close.obj" "../iwrl6432_cm4.cmd"  -lnortos.xwrL64xx.m4f.ti-arm-clang.release.lib -ldrivers.xwrL64xx.m4f.ti-arm-clang.release.lib -llibc.a 
<Linking>
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<boot_armv7m.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<DebugP_log.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<DebugP_nortos.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<ClockP_nortos.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<ClockP_nortos_m4.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #99922: C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<printf.obj>: Invalid meta-info kind encountered in symbol metadata section (.symtab_meta)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<printf.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<HwiP_armv7m.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<HwiP_armv7m_handlers_nortos.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<SysTickTimerP.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/kernel/nortos/lib/nortos.xwrL64xx.m4f.ti-arm-clang.release.lib<SemaphoreP_nortos.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/drivers/lib/drivers.xwrL64xx.m4f.ti-arm-clang.release.lib<pinmux.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #99922: C:/ti/MMWAVE_L_SDK_05_04_00_01/source/drivers/lib/drivers.xwrL64xx.m4f.ti-arm-clang.release.lib<soc.obj>: Invalid meta-info kind encountered in symbol metadata section (.symtab_meta)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/drivers/lib/drivers.xwrL64xx.m4f.ti-arm-clang.release.lib<soc.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #16032-D: object files have incompatible wchar_t types ("C:/ti/MMWAVE_L_SDK_05_04_00_01/source/drivers/lib/drivers.xwrL64xx.m4f.ti-arm-clang.release.lib<soc_rcm.obj>" = --wchar_t=32, "./main.obj" = --wchar_t=16)
warning #10247-D: creating output section ".text.stack_init" without a SECTIONS specification
warning #10247-D: creating output section ".text.DebugP_logZoneEnable" without a SECTIONS specification
warning #10247-D: creating output section ".text._DebugP_assert" without a SECTIONS specification
warning #10247-D: creating output section ".text._DebugP_assertNoLog" without a SECTIONS specification
warning #10247-D: creating output section ".data.gDebugLogZone" without a SECTIONS specification
warning #10247-D: creating output section ".rodata.str1.1" without a SECTIONS specification
warning #10247-D: creating output section ".text._DebugP_logZone" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_timerTickIsr" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_addToList" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_getTimeUsec" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_timerClearOverflowInt" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_getTimerCount" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_init" without a SECTIONS specification
warning #10247-D: creating output section ".text.ClockP_deinit" without a SECTIONS specification
warning #10247-D: creating output section ".text._vsnprintf" without a SECTIONS specification
warning #10247-D: creating output section ".text._out_char" without a SECTIONS specification
warning #10247-D: creating output section ".text.vprintf_" without a SECTIONS specification
warning #10247-D: creating output section ".text._out_null" without a SECTIONS specification
warning #10247-D: creating output section ".text._ntoa_long_long" without a SECTIONS specification
warning #10247-D: creating output section ".text._ntoa_long" without a SECTIONS specification
warning #10247-D: creating output section ".text._ftoa" without a SECTIONS specification
warning #10247-D: creating output section ".text._etoa" without a SECTIONS specification
warning #10247-D: creating output section ".text._ntoa_format" without a SECTIONS specification
warning #10247-D: creating output section ".text._out_rev" without a SECTIONS specification
warning #10247-D: creating output section ".rodata._ftoa.pow10" without a SECTIONS specification
warning #10247-D: creating output section ".text.hwi" without a SECTIONS specification
warning #10247-D: creating output section ".text.HwiP_inISR" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_Params_init" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_setup" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_start" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_stop" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_getCount" without a SECTIONS specification
warning #10247-D: creating output section ".text.SysTickTimerP_getReloadCount" without a SECTIONS specification
warning #10247-D: creating output section ".text.Pinmux_config" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_clocksEnable" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_moduleClockEnable" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_moduleSetClockFrequency" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_controlModuleLockMMR" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_controlModuleUnlockMMR" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_rcmEnableADPLLClock" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_rcmSetM4ClockSrc" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_rcmSetPeripheralClock" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_rcmEnablePeripheralClock" without a SECTIONS specification
warning #10247-D: creating output section ".text.SOC_getEfusePgVersion" without a SECTIONS specification
warning #10247-D: creating output section ".rodata.cst8" without a SECTIONS specification
warning #10247-D: creating output section ".rodata.cst16" without a SECTIONS specification
warning #10247-D: creating output section ".rodata.gSocRcmWdtClkSrcValMap" without a SECTIONS specification
warning #10247-D: creating output section ".rodata.gSocRcmSpiClkSrcValMap" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
Finished building target: "first_project.out"
 

**** Build Finished ****

how to solve this warning but i have copied the same linker as in empty project example this is code for linker below

/* make sure below retain is there in your linker command file, it keeps the vector table in the final binary */
--retain="*(.vectors)"
/* This is the stack that is used by code running within main()
 * In case of NORTOS,
 * - This means all the code outside of ISR uses this stack
 * In case of FreeRTOS
 * - This means all the code until vTaskStartScheduler() is called in main()
 *   uses this stack.
 * - After vTaskStartScheduler() each task created in FreeRTOS has its own stack
 */
--stack_size=8192
/* This is the heap size for malloc() API in NORTOS and FreeRTOS
 * This is also the heap used by pvPortMalloc in FreeRTOS
 */
--heap_size=8192


SECTIONS
{
    /* This has the M4F entry point and vector table, this MUST be at 0x0 */
    .vectors:{} palign(8) > M4F_VECS
    .bss:    {} palign(8) > M4F_RAM12     /* This is where uninitialized globals go */
    RUN_START(__BSS_START)
    RUN_END(__BSS_END)
    .text:   {} align(8) >> M4F_RAM12 | M4F_RAM3     /* This is where code resides */
    .data:   {} align(8) >> M4F_RAM12 | M4F_RAM3     /* This is where initialized globals and static go */
    .rodata: {} align(8) >> M4F_RAM12 | M4F_RAM3     /* This is where const's go */
    .sysmem: {} palign(8) > M4F_RBL     /* This is where the malloc heap goes */
    .stack:  {} palign(8) > M4F_RBL     /* This is where the main() stack goes */
    .l3:     {} palign(8) > HWASS_SHM_MEM     /* This is where L3 data goes */
}

MEMORY
{
    M4F_VECS : ORIGIN = 0x00400000 , LENGTH = 0x00000200
    M4F_RAM12  : ORIGIN = 0x00400200 , LENGTH = (0x00058000 - 0x200) /* 32KB of RAM2 is being used by RBL */
    M4F_RBL    : ORIGIN = 0x00458000 , LENGTH = 0x8000 /* 32KB of RAM2 is being used by RBL */
    M4F_RAM3  : ORIGIN = 0x00460000 , LENGTH = 0x00020000

    HWASS_SHM_MEM : ORIGIN = 0x60000000, LENGTH = 0x00080000 /* 256KB in APPSS PD, 96KB in FECSS PD and 160KB in HWA PD */
}

  • Hello, 

    Based on your build log I can see that you are using a different compiler version that what is used in the other example projects from SDK 5.4.0.1. It looks like you are using ti-cgt-arm_20.2.7.LTS whereas the example projects use ti-cgt-armllvm_2.1.3.LTS, can you try building with this compiler to see if the warnings are still present?

    Best Regards,

    Josh