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.

Linker error when building ARM code after EZSDK upgrade

I upgraded the EZSDK of my DDR2 c6a816x EVM and I got NFS boot to work, but when I go to rebuild some ARM Linux-side code I now get a strange error, highlighted in bold, from the linker.  I believe that the paths are correct as the code is compiled ok:

make debug

Building 'debug' profile by calling: make -f makefile_profile.mak PROFILE=debug

4. ----- Starting Configuro for track_cfg.cfg (note, this may take a minute)

Configuro has completed; it's results are in track_cfg

3. ----- Need to generate dep info for: DoDSPtask.c

Generating dependency file : debug/DoDSPtask.d

cc1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Formatting dependency file: debug/DoDSPtask.d

Dependency file successfully created: debug/DoDSPtask.d

3. ----- Need to generate dep info for: ProcManager.c

Generating dependency file : debug/ProcManager.d

cc1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Formatting dependency file: debug/ProcManager.d

Dependency file successfully created: debug/ProcManager.d

3. ----- Need to generate dep info for: runDSP.c

Generating dependency file : debug/runDSP.d

cc1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Formatting dependency file: debug/runDSP.d

Dependency file successfully created: debug/runDSP.d

2. ----- Need to generate: debug/runDSP.o (due to: runDSP.c ...)

runDSP.c:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Successfully created: debug/runDSP.o

2. ----- Need to generate: debug/ProcManager.o (due to: ProcManager.c ...)

ProcManager.c:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Successfully created: debug/ProcManager.o

2. ----- Need to generate: debug/DoDSPtask.o (due to: DoDSPtask.c ...)

DoDSPtask.c:1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch, assuming CPU feature set

Successfully created: debug/DoDSPtask.o

1. ----- Need to generate executable file: runDSP_debug.xv5T

/home/lholeva/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .gnu.attributes not found for insert

collect2: ld returned 1 exit status

make[1]: *** [runDSP_debug.xv5T] Error 1

Done building 'debug' for /home/lholeva/r1397/8168/Code/r1397

Hopefully this is something obvious. 

Update:

The above linker error appears to have something to do with xdc.  I have successively managed to build another ARM only program, read a jpeg image and display it using the frame buffer, using the CodeSorcery toolchain with a simple makefile that eliminated all references to xdc and configuro.

 

Lee Holeva