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/TMS320F28388D: Build error when compiler optimization is turned on

Part Number: TMS320F28388D

Tool/software: TI C/C++ Compiler

Hi expert,

My customer meets below error when build a project with compiler optimization turned on. 

Description	Resource	Path	Location	Type
Failed linktime optimization null: Failed linktime optimization	VAIYD60598_B_CPU1		 	C/C++ Problem
gmake: *** [all] Error 2	VAIYD60598_B_CPU1		 	C/C++ Problem
gmake[1]: *** [VAIYD60598_B_CPU1.out] Error 1	VAIYD60598_B_CPU1		 	C/C++ Problem
gmake[1]: Target 'secondary-outputs' not remade because of errors.	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "_lock.c", and is incompatible null: option --float_support=fpu64 is set in "_lock.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "copy_decompress_lzss.c", and is null: option --float_support=fpu64 is set in "copy_decompress_lzss.c", and is	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "copy_decompress_none.c", and is null: option --float_support=fpu64 is set in "copy_decompress_none.c", and is	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "copy_zero_init.c", and is null: option --float_support=fpu64 is set in "copy_zero_init.c", and is	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "cpy_tbl.c", and is incompatible null: option --float_support=fpu64 is set in "cpy_tbl.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "e_fmodf.c", and is incompatible null: option --float_support=fpu64 is set in "e_fmodf.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "hostopen.c", and is incompatible null: option --float_support=fpu64 is set in "hostopen.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "hostwrite.c", and is null: option --float_support=fpu64 is set in "hostwrite.c", and is	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "memcpy.c", and is incompatible null: option --float_support=fpu64 is set in "memcpy.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "memset.c", and is incompatible null: option --float_support=fpu64 is set in "memset.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "pre_init.c", and is incompatible null: option --float_support=fpu64 is set in "pre_init.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "s_floorf.c", and is incompatible null: option --float_support=fpu64 is set in "s_floorf.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "s_truncf.c", and is incompatible null: option --float_support=fpu64 is set in "s_truncf.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "strcmp.c", and is incompatible null: option --float_support=fpu64 is set in "strcmp.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "strlen.c", and is incompatible null: option --float_support=fpu64 is set in "strlen.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
option --float_support=fpu64 is set in "ti_fmax.c", and is incompatible null: option --float_support=fpu64 is set in "ti_fmax.c", and is incompatible	VAIYD60598_B_CPU1		 	C/C++ Problem
symbol "SyC_States" redeclared with incompatible type: null: symbol "SyC_States" redeclared with incompatible type:	VAIYD60598_B_CPU1		 	C/C++ Problem

Could you help us with one or two ways to debug this? I didn't find much information from google search.

Thanks

Sheldon