Hello,
Weird link issue that gives following error that I cannot figure out:
**** Build of configuration Int Flash SramData Debug for project cyassl_client_gcc ****
"C:\\Freescale\\CW MCU v10.5\\gnu\\bin\\mingw32-make" -j16 all
'Building target: cyassl_client.elf'
'Executing target #2 cyassl_client.elf'
'Invoking: ARM Ltd Windows GCC C Linker'
"C:/Freescale/CW MCU v10.5/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" @"cyassl_client.args" -o"cyassl_client.elf"
c:/freescale/cw mcu v10.5/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: final link failed: Memory exhausted
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [cyassl_client.elf] Error 1
I'm using CW10.5 for Kinetis K70, ARM GCC compiler, and MQX4.0.2.2. I have another MQX application that does compile fine within the same build environment and its output looks like:
**** Build of configuration Int Flash SramData Debug for project ctaocrypt_test_gcc ****
"C:\\Freescale\\CW MCU v10.5\\gnu\\bin\\mingw32-make" -j16 all
'Building file: ../Sources/main.c'
'Building file: C:/Folders/Developers/WolfSSL/cyassl-2.8.0/ctaocrypt/test/test.c'
'Executing target #1 ../Sources/main.c'
'Executing target #2 C:/Folders/Developers/WolfSSL/cyassl-2.8.0/ctaocrypt/test/test.c'
'Invoking: ARM Ltd Windows GCC C Compiler'
"C:/Freescale/CW MCU v10.5/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/main.c" @"Sources/main.args" -MMD -MP -MF"Sources/main.d" -o"Sources/main.o"
'Invoking: ARM Ltd Windows GCC C Compiler'
"C:/Freescale/CW MCU v10.5/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "C:/Folders/Developers/WolfSSL/cyassl-2.8.0/ctaocrypt/test/test.c" @"Sources/ctaocrypt-test/test.args" -MMD -MP -MF"Sources/ctaocrypt-test/test.d" -o"Sources/ctaocrypt-test/test.o"
'Finished building: ../Sources/main.c'
' '
'Finished building: C:/Folders/Developers/WolfSSL/cyassl-2.8.0/ctaocrypt/test/test.c'
' '
'Building target: ctaocrypt_test.elf'
'Executing target #3 ctaocrypt_test.elf'
'Invoking: ARM Ltd Windows GCC C Linker'
"C:/Freescale/CW MCU v10.5/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" @"ctaocrypt_test.args" -o"ctaocrypt_test.elf"
'Finished building target: ctaocrypt_test.elf'
The error just doesn't seem to point out what the issue really is.
I have changed linker file to give megabytes of free space and I still get this same error so I do not think it linker file related.
Regards,
David