AnsweredAssumed Answered

CodeWarrior 10.6.4 for ColdFire linker errors after tool update

Question asked by Paul Carpenter on Mar 2, 2018
Latest reply on Apr 17, 2018 by Jorge Antonio Alcala Vazquez

I previously compiled and linked a project with no errors (lots of warnings, yes, but no errors) with CodeWarrior v10.6.4 for ColdFire (5282).  I then had to reinstall CodeWarrior v10.6.4.  This time after the installation I decided to apply all of the suggested updates to the tool.  Now I cannot build the same project that used to build -- with absolutely no changes to source code, linked libraries, or project settings -- as I get linker errors about multiply-defined variables (see build output log below).  It seems these variables are rooted in the CodeWarrior tool chain, not in my source code, and appear to be related to math and/or floating point support...

 

Just to confirm nothing changed besides the tool I plan to uninstall CodeWarrior again and reinstall, but I will not apply the tool updates and see if the same project links again.

 

Does anyone have an idea of what's wrong and how to resolve this please?

 

Thanks.

Paul

 

'Building target: application_CW10.elf'
'Executing target #22 application_CW10.elf'
'Invoking: ColdFire Linker'
"C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf" @@"application_CW10.args" -o "application_CW10.elf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/RTOS/mcu/contrib/lib/C_4i_CF_StdABI_MSL.a" "-llibrt.a" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/RTOS/mcu/contrib/lib/fp_coldfire.o" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/RTOS/mcu/eos/CW10_6_out/eos.alf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/RTOS/mcu/libtimers/out/libtimers_CW10_6.alf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/RTOS/mcu/libdnp/out/libdnp_CW10_6.alf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/MCU/buildtemp/vm/vmmap_CW10.alf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/MCU/loglib/out/loglib_CW10.elf" -l"C:/SVNWork/PQ044_CCP9/013_SMS_Master_V3/branches/012_MCU_CW10_Upgrade/MCU/utllib/out/utllib_CW10.elf"
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\main.c|1577|0|0|0|0)
=
>Multiply-defined: "__double_huge" in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\MBSInterface.c|690|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DNPInterface.c|957|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SetpointScheduler.c|992|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SNTPClient.c|425|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\ScadaInterface.c|224|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DPRInterface.c|614|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DSPVMInterface.c|276|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\main.c|1577|0|0|0|0)
=
>Multiply-defined: "__extended_huge" in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\ScadaInterface.c|224|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DSPVMInterface.c|276|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SetpointScheduler.c|992|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SNTPClient.c|425|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DNPInterface.c|957|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DPRInterface.c|614|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\MBSInterface.c|690|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\main.c|1577|0|0|0|0)
=
>Multiply-defined: "__float_huge" in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\ScadaInterface.c|224|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DNPInterface.c|957|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DPRInterface.c|614|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\MBSInterface.c|690|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SNTPClient.c|425|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DSPVMInterface.c|276|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SetpointScheduler.c|992|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\main.c|1577|0|0|0|0)
=
>Multiply-defined: "__float_nan" in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DSPVMInterface.c|276|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SetpointScheduler.c|992|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\ScadaInterface.c|224|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\SNTPClient.c|425|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DNPInterface.c|957|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\DPRInterface.c|614|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
(C:\SVNWork\PQ044_CCP9\013_SMS_Master_V3\branches\012_MCU_CW10_Upgrade\MCU\src\MBSInterface.c|690|0|0|0|0)
=
>Previously defined in
C:/Freescale/CW MCU v10.6.4/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Link failed.

Errors caused tool to abort.
mingw32-make: *** [application_CW10.elf] Error 1

Outcomes