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.

AM4379: Invoking: GNU Linker Error, makefile:166: recipe for target 'xxx...' failed

Part Number: AM4379
Other Parts Discussed in Thread: SYSBIOS

Hi, All

Working on a QSPI bootloader project for AM4379 Cortex A.

Since I'm using CCS, I download "Sysbios_ind_sdk 02_01_03_02" from here for easy import.
https://software-dl.ti.com/sitara_indus/esd/SYSBIOSSDK-IND-SITARA/latest/index_FDS.html

Set the workspace directly at ..\ti\sysbios_ind_sdk_02.01.03.02\sdk\starterware and import the bootloader and all dependent projects.

I have no problem compiling each dependencies project, but the bootloader got compiling error when loading dependencies linkers in makefile.

Didn't modify any code but only import the original CCS project for the SDK. Wonder what causes the gmake error and failed allocation.

# Tool invocations
../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.out: $(OBJS) $(LDS_SRCS) $(GEN_CMDS) C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/board/ccs/am43xx_boot_debug/../../../binary/board/lib/am43xx-evm/a9/ccs/am43xx_boot_debug/libboard_boot.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/dal/ccs/am43xx_debug/../../../binary/dal/lib/am43xx-evm/a9/ccs/am43xx_debug/libdal.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/soc/ccs/am43xx_boot_qspi_debug/../../../binary/soc/lib/am43xx-evm/a9/ccs/am43xx_boot_qspi_debug/libsoc_boot_qspi.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/utils/ccs/am43xx_debug/../../../binary/utils/lib/am43xx-evm/a9/ccs/am43xx_debug/libutils.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/library/qspilib/ccs/am43xx_debug/../../../../binary/qspi_lib/lib/am43xx-evm/a9/ccs/am43xx_debug/libqspi_lib.a C:/ti/sysbios_ind_sdk_02.01.03.02/sdk/starterware/device/ccs/am43xx_debug/../../../binary/device/lib/am43xx-evm/a9/ccs/am43xx_debug/libdevice.a
	@echo 'Building target: "$@"'
	@echo 'Invoking: GNU Linker'
	"C:/ti/gcc-arm-none-eabi-4_7-2013q3-20130916-win32/gcc-arm-none-eabi-4_7-2013q3-20130916-win32/bin/arm-none-eabi-gcc-4.7.4.exe" -mtune=cortex-a9 -marm -mlong-calls -DBOOT_QSPI -DAM43XX_FAMILY_BUILD -Dam4379 -funsigned-char -ffunction-sections -fdata-sections -g -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.map" --entry Entry -Wl,--gc-sections -L"../../../binary/dal/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/qspi_lib/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/device/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/board/lib/am43xx-evm/a9/ccs/am43xx_boot_debug/" -L"../../../binary/utils/lib/am43xx-evm/a9/ccs/am43xx_debug/" -L"../../../binary/soc/lib/am43xx-evm/a9/ccs/am43xx_boot_qspi_debug/" -Wl,--defsym,HEAPSIZE=0x400 -Wl,--defsym,STACKSIZE=0x18000 -o"../../../binary/bootloader/bin/am43xx-evm/ccs/bootloader_boot_qspi_a9host_debug.out" $(ORDERED_OBJS)
	@echo 'Finished building target: "$@"'
	@echo ' '
	@$(MAKE) --no-print-directory post-build





CCS: v11.2

Properties configuration in General: am43xx_boot_qspi_debug [ Active]

Compiler in General: GNU v4.7.4 Linaro (default)

Linker command file in General: AM437x.lds

Liner command files in GNU Linker: ../../../examples/gcc/am43xx_boot_xip_ccs.lds (default)

Regards,

Ernie