You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the new xdna2 integration that landed couple of days ago by updating the example application
that is on WIKI so that it is build and installed also for the XDNA2 by using the
triplet aie2p-none-unknown-elf and noticed that there is error on llvm's relocate function.
I however got error on relocate function in lld/ELF/Arch/AIE.cpp throwing error "Unknown AIE version in EFLAGS"
I checked that the Arch in EFLAGS for the produced binary I had was 2 for xdna1 target and 3 for xdna2 target.
Following patch seems to fix the problem and I was able to test the application.
This solves "Unknown AIE version in EFLAGS"
error when test application is build for the
triplet aie2p-none-unknown-elf target.
For this target the EFLAGS is 3.
fixes: Xilinx#258
Signed-off-by: Mika Laitio <[email protected]>
I tested the new xdna2 integration that landed couple of days ago by updating the example application
that is on WIKI so that it is build and installed also for the XDNA2 by using the
triplet aie2p-none-unknown-elf and noticed that there is error on llvm's relocate function.
I however got error on relocate function in lld/ELF/Arch/AIE.cpp throwing error "Unknown AIE version in EFLAGS"
I checked that the Arch in EFLAGS for the produced binary I had was 2 for xdna1 target and 3 for xdna2 target.
Following patch seems to fix the problem and I was able to test the application.
Below is the Makefile I used to build it and full example which includes also the linker-scripts, etc. can be found from
https://github.com/lamikr/rocm_sdk_builder/tree/master/docs/examples/aie/store_pii
The text was updated successfully, but these errors were encountered: