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: 
Observer ifalkdf
Observer
1,393 Views
Registered: ‎12-24-2018

use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

When i run csynthe_design in Vivado_hls 2018.03, i met following ERROR, and my module runs properly in Vivado_hls 2018.02. Give me some advice please, and thanks very much.

 

ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_storeups': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\xmmintrin.h:630
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_movntps'; did you mean '__builtin_ia32_movntss'?: D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\xmmintrin.h:678
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_cvtps2pd': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:380
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_cvtdq2pd'; did you mean '__builtin_ia32_cvtdq2ps'?: D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:386
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_storeupd': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:586
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_pavgb128': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:671
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_pavgw128': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:677
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_storedqu': D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:1177
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_storelv4si'; did you mean '__builtin_ia32_storelps'?: D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:1189
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_movntpd'; did you mean '__builtin_ia32_movntsd'?: D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:1195
ERROR: [HLS 214-124] use of undeclared identifier '__builtin_ia32_movntdq'; did you mean '__builtin_ia32_movntq'?: D:\Xilinx\Vivado\2018.3\win64\tools\clang\lib\clang\3.1\include\emmintrin.h:1201

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
1,303 Views
Registered: ‎10-04-2011

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

Hello @ifalkdf,

Unfortunately, for this error, we do not have a record of this, so it is new to us. What exact OS version of Windows are you running? For example, the supported version of Windows 10 according to the 2018.3 release notes is:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_3/ug973-vivado-release-notes-install-license.pdf

Windows 10.0 1803 update, 10.0 1809 Update (64-bit), English/Japanese

The only thing I can think of outside the Windows version is that these are GNU tool libraries, so is it possible that you have CYGWIN or another source of GNU tools installed and in the path that may be causing conflicts? 

OK, sorry I do not have specific information about this error for you, but I hope this helps.

Regards,
Scott

 

 

 

0 Kudos
7 Replies
Moderator
Moderator
1,304 Views
Registered: ‎10-04-2011

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

Hello @ifalkdf,

Unfortunately, for this error, we do not have a record of this, so it is new to us. What exact OS version of Windows are you running? For example, the supported version of Windows 10 according to the 2018.3 release notes is:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_3/ug973-vivado-release-notes-install-license.pdf

Windows 10.0 1803 update, 10.0 1809 Update (64-bit), English/Japanese

The only thing I can think of outside the Windows version is that these are GNU tool libraries, so is it possible that you have CYGWIN or another source of GNU tools installed and in the path that may be causing conflicts? 

OK, sorry I do not have specific information about this error for you, but I hope this helps.

Regards,
Scott

 

 

 

0 Kudos
Observer ifalkdf
Observer
1,289 Views
Registered: ‎12-24-2018

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution
Hello, @scampbell. Thanks for your reply. I will check my env according to your advice.

I do not find out the code in my module that causes the problem exactly. I will provide more details in the future if I find it.
0 Kudos
Observer lematthias
Observer
1,181 Views
Registered: ‎09-15-2018

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

Hello,

I have encountered the same errors with a module in 2018.3 on Ubuntu 18.04. It works fine in 2018.2 on Ubuntu 16.04.
I'll try to have a look at the source code over the next days to see what exactly triggers this error.
Thanks in advance!

0 Kudos
Observer ifalkdf
Observer
1,141 Views
Registered: ‎12-24-2018

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution
Hello @lematthias,
I use WIN10 1803 17134.523.
0 Kudos
Contributor
Contributor
596 Views
Registered: ‎02-24-2019

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

I confirmed this bug happened on both 2018.3 and 2019.1 versions of vivado hls when  compling with xfopencv

 

 

0 Kudos
Scholar u4223374
Scholar
588 Views
Registered: ‎04-26-2015

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

It looks like this would occur because something that was written very specifically for a CPU confused HLS.

 

In the case of xfopencv, it appears that the library is designed for SDSoC and SDAccel - not for bare HLS (HLS has its own hls::cv library for that). The difference is that the SD* tools do not synthesize the entire code, only a selected part (the rest runs on the CPU). I would suggest switching to the hls::cv library (or to SDSoC) and seeing if that works for you.

0 Kudos
Contributor
Contributor
582 Views
Registered: ‎02-24-2019

Re: use of undeclared identifier '__builtin_ia32_* ' and csynth_design failure

Jump to solution

Hi u4223374,

thank you for your comments. You are very accurate on explaining the current situation. But I need to use xfopencv in bare HLS because of xfopencv::sgbm.  Accidentally bare HLS works when I use 2018.2. However, it is very buggy to use "xfopencv 2018.3 with vivado hls 2018.2".

Due to unknown reasons, xfopencv triggers the use of clang 3.1 instead of clang 3.9 in 2018.3 and 2019.1 versions but not in 2018.2,.  

So my problem can very probably become "How to force vivado hls to use clang 3.9 rather than 3.1.

Eli

 

0 Kudos