07-11-2020 11:33 AM
I am trying to follow the Vitis Hello World example, and it fails @ from here
[centos@ip-172-31-28-216 ~]$ ./host vadd.awsxclbin ./host: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./host)
I tried online recommendations and got it to work by installing anaconda and copying over the needed library!
I then reran the source command and then executed the following:
[centos@ip-172-31-28-216 ~]$ ./host vadd.awsxclbin Found Platform Platform Name: Xilinx INFO: Reading vadd.awsxclbin Loading: 'vadd.awsxclbin' Trying to program device[0]: xilinx_aws-vu9p-f1_dynamic_5_0 XRT build version: 2.3.0 Build hash: 9e13d57c4563e2c19bf5f518993f6e5a8dadc18a Build date: 2020-02-06 15:08:44 Git branch: 2019.2 PID: 24766 UID: 1000 [Sat Jul 11 18:03:18 2020] HOST: ip-172-31-28-216.us-west-2.compute.internal EXE: /home/centos/host [XRT] ERROR: See dmesg log for details. err=-5 [XRT] ERROR: Failed to load xclbin. src/host.cpp:86 Error calling cl::Program program(context, {device}, bins, NULL, &err), error code is: -44
And here is the dmesg:
b-92d6-9eea49579b1b on device xclbin: 00000000-0000-0000-0000-000000000000 [ 3191.934552] mailbox.u mailbox.u.13631488: mailbox_request: sending request: 8 via SW [ 3191.939632] mailbox.u mailbox.u.13631488: mailbox_read: Software TX msg is too big [ 3192.701050] icap.u icap.u.15728640: __icap_peer_xclbin_download: peer xclbin download err: -5 [ 3192.706628] icap.u icap.u.15728640: get_axlf_section_hdr: section 8 offset: 1048, size: 88 [ 3192.712188] icap.u icap.u.15728640: icap_parse_bitstream_axlf_section: icap_parse_bitstream_axlf_section kind 8, err: 0 [ 3192.719475] icap.u icap.u.15728640: get_axlf_section_hdr: section 6 offset: 760, size: 288 [ 3192.724644] icap.u icap.u.15728640: icap_parse_bitstream_axlf_section: icap_parse_bitstream_axlf_section kind 6, err: 0 [ 3192.731618] icap.u icap.u.15728640: get_axlf_section_hdr: section 7 offset: 1136, size: 40 [ 3192.737304] icap.u icap.u.15728640: icap_parse_bitstream_axlf_section: icap_parse_bitstream_axlf_section kind 7, err: 0 [ 3192.744339] icap.u icap.u.15728640: get_axlf_section_hdr: could not find section header 9 [ 3192.749656] icap.u icap.u.15728640: icap_parse_bitstream_axlf_section: icap_parse_bitstream_axlf_section kind 9, err: -22 [ 3192.756843] icap.u icap.u.15728640: get_axlf_section_hdr: section 11 offset: 1176, size: 682 [ 3192.762185] icap.u icap.u.15728640: get_axlf_section_hdr: section 8 offset: 1048, size: 88 [ 3192.767350] icap.u icap.u.15728640: get_axlf_section_hdr: section 6 offset: 760, size: 288 [ 3192.772860] icap.u icap.u.15728640: icap_download_bitstream_axlf: icap_download_bitstream_axlf err: -5 [ 3192.778906] xocl 0000:00:1d.0: exec_reset: exec_reset(1) cfg(0) [ 3192.782742] xocl 0000:00:1d.0: exec_reset: exec_reset resets [ 3192.786417] xocl 0000:00:1d.0: exec_reset: exec->xclbin(00000000-0000-0000-0000-000000000000),xclbin(00000000-0000-0000-0000-000000000000) [ 3192.794364] xocl 0000:00:1d.0: xocl_read_axlf_helper: Failed to download xclbin, err: -5 [ 3192.807666] [drm] client exits pid(24766) [ 3192.810495] xocl 0000:00:1d.0: xocl_drvinst_close: CLOSE 2 [ 3192.813938] xocl 0000:00:1d.0: xocl_drvinst_close: NOTIFY ffff92c467415010
Thanks in advance!
07-12-2020 09:37 PM
Hi @Frankie-guz ,
For the first issue :
./host: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./host)
Please try setting the following LD_LIBRARY_PATH and try again.
setenv LD_LIBRARY_PATH $XILINX_VITIS/lib/lnx64.o/:$LD_LIBRARY_PATH
For the second issue :
Check if the xclbin build is matching with platform you are targeting.
Thanks,
Vishnu
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------