UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant jameshko
Participant
632 Views
Registered: ‎09-30-2016

Compile error for host code on SDAccel 2017.4 Examples Github

Jump to solution

Hello all,

 

I have successfully run hw emulation for an example from the SDAccel Github 2017.4 branch https://github.com/Xilinx/SDAccel_Examples/tree/2017.4

 

Next, I am trying to compile for ppc64le ( I was able to compile for hw if it is x86 as I am running it from an X86 machine ). However, my runtime is on a ppc64le machine, so I tried to use the ARCH=POWER. I m faced with compile error that suggest g++ version incompatibility.

 

Here are my command line:

export XCL_EMULATION_MODE=false

make ARCH=POWER all &> error.log

 

I have attached a more detailed error.log.

 

snippets of the error.log is as below:

/opt/Xilinx/SDx/2017.4/gnu/ppc64le/4.9.3/lnx64/bin/powerpc64le-linux-gnu-g++ -Wall -O0 -g -std=c++14 -I./src/ -I../../..//libs/xcl2 -I/opt/Xilinx/SDx/2017.4/runtime/include/1_2 ./src/host.cpp ../../..//libs/xcl2/xcl2.cpp -o host -L/opt/Xilinx/SDx/2017.4/runtime/lib/ppc64le -lxilinxopencl -llmx6.0
In file included from /opt/Xilinx/SDx/2017.4/gnu/ppc64le/4.9.3/lnx64/powerpc64le-linux-gnu/include/c++/4.9.3/bits/move.h:57:0,
from /opt/Xilinx/SDx/2017.4/gnu/ppc64le/4.9.3/lnx64/powerpc64le-linux-gnu/include/c++/4.9.3/bits/stl_pair.h:59,
from /opt/Xilinx/SDx/2017.4/gnu/ppc64le/4.9.3/lnx64/powerpc64le-linux-gnu/include/c++/4.9.3/utility:70,
from /opt/Xilinx/SDx/2017.4/runtime/include/1_2/CL/cl2.hpp:547,
from ../../..//libs/xcl2/xcl2.hpp:38,
from ./src/host.cpp:29:
/opt/Xilinx/SDx/2017.4/gnu/ppc64le/4.9.3/lnx64/powerpc64le-linux-gnu/include/c++/4.9.3/type_traits:87:39: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter
typedef integral_constant<bool, true> true_type;
^

.

.

.
Are there any other compiler that I can use to cross compile the host code for ppc64le? 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
590 Views
Registered: ‎06-17-2008

Re: Compile error for host code on SDAccel 2017.4 Examples Github

Jump to solution

Hi @jameshko 

 

I don't think we support PowerPC and you may find in 18.2 UGs that only x86 host is mentioned. I am not sure why the 'ARCH' option is kept in the Github examples but they are not supported or tested on PowerPC machines. 

 

View solution in original post

1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
591 Views
Registered: ‎06-17-2008

Re: Compile error for host code on SDAccel 2017.4 Examples Github

Jump to solution

Hi @jameshko 

 

I don't think we support PowerPC and you may find in 18.2 UGs that only x86 host is mentioned. I am not sure why the 'ARCH' option is kept in the Github examples but they are not supported or tested on PowerPC machines. 

 

View solution in original post