Altera_Forum
Honored Contributor
7 years agoError: L6366E: my_strcopy.o attributes are not compatible with the provided attribute
Hello,
I’m working on cyclone V based project using DS-5 AE tools. I created a project using the Altera-Cyclone-V_RAM example of the DS-5 Examples & Programming Libraries’ The project compiles well and I can debug it without problem. Then I created the assembler file according to the following example: [url]https://developer.arm.com/products/software-development-tools/ds-5-development-studio/resources/tutorials/beyond-hello-world-advanced-arm-compiler-features (https://developer.arm.com/products/software-development-tools/ds-5-development-studio/resources/tutorials/beyond-hello-world-advanced-arm-compiler-features)[/URL] This example is very simple and the file my_strcopy.s contains the following code: preserve8area scopy, code, readonly
export my_strcopy ; export symbol
my_strcopy ; r0 -> dest string
; r1 -> source string
ldrb r2, [r1],#1 ; load byte + update addr
strb r2, [r0],#1 ; store byte + update addr
cmp r2,# 0 ; check for null
bne my_strcopy ; keep going if not
bx lr ; return
end When I compile the project I got the following error message: armlink --cpu=Cortex-A9.no_neon.no_vfp --fpu=vfpv3 --scatter="../scatter.scat" --info=sizes -o"../Hello_and_ASM.axf" ./hello.o ./my_strcopy.o error: l6366e: my_strcopy.o attributes are not compatible with the provided attributes. Object my_strcopy.o contains Build Attributes that are incompatible with the provided attributes. Tag_THUMB_ISA_use = No Thumb instructions were permitted to be used (=0) Tag_Advanced_SIMD_arch = Use of the Advanced SIMD Architecture (Neon) was permitted (=1) Finished: 3 information, 0 warning and 1 error messages. What can I do? Thanks for your Help Kind regards Jerome