We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20575

7.1 EDK, GNU - powerpc-eabi/bin/ld: final link failed: File truncated


Keywords: XPS, GNU, Powerpc, PowerPC, GCC, ppc, powerpc-eabi-gcc, linker, ld

Urgency: Standard

General Description:
With a new compiler introduced in EDK 7.1, the following error is generated when I compile EDK 6.3 designs:

/cygdrive/d/Xilinx_Software_71/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/3.4.1/../../../../powerpc-eabi/bin/ld: final link failed: File truncated
collect2: ld returned 1 exit status
make: *** [software_projects/TestApp/executable.elf] Error 1


There are two possible resolutions:

1. Regenerate the linker script using the Linker Script writer in XPS. In XPS, select Tools -> Generate Linker Script ....
2. Verify that the linker script currently being used has the following sections:

.text : {
__text_start = .;

__text_end = .;
} > memory

.rodata : {
__rodata_start = .;

__rodata_end = .;
} > memory

.data : {
__data_start = .;

__data_end = .;
} > memory
AR# 20575
日期 04/13/2007
状态 Archive
Type 综合文章