Hi!

In case others are struggling with this problem...

When running a simulation in my Ubuntu 20.04 system I got "Error: no such 
instruction: `endbr64'".

I spent a lot of time on this including making links to /usr/include without 
success. Then I tried

!gcc /tmp/hello.c
/tmp/cc2Od0Ug.s: Assembler messages:
/tmp/cc2Od0Ug.s:12: Error: no such instruction: `endbr64'
!which as
/srv/data/opt/Xilinx/Vivado/2021.1/tps/lnx64/binutils-2.26/bin/as

in the Matlab console. Aha! The problem is obvious because the version of the 
system as is 2.34.

In Xilinx/Vivado/2021.1/tps/lnx64/binutils-2.26 I
mv bin bin.bak
and compiling and simulating now works!

Cheers,
Kaj

--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/918b9cdb-ccad-fd5b-dd75-1e21f253c835%40utu.fi.

Reply via email to