<div dir="ltr">Hi everyone,<div><br></div><div>Thank you for submitting.</div><div>I have started a bug ticket for this so we can track it: <a href="https://bugs.dpdk.org/show_bug.cgi?id=566">https://bugs.dpdk.org/show_bug.cgi?id=566</a></div><div><br></div><div>Thanks,</div><div>Brandon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 27, 2020 at 5:17 AM Richardson, Bruce <<a href="mailto:bruce.richardson@intel.com">bruce.richardson@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> -----Original Message-----<br>
> From: David Marchand <<a href="mailto:david.marchand@redhat.com" target="_blank">david.marchand@redhat.com</a>><br>
> Sent: Sunday, October 25, 2020 8:36 AM<br>
> To: <a href="mailto:dpdklab@iol.unh.edu" target="_blank">dpdklab@iol.unh.edu</a>; Lincoln Lavoie <<a href="mailto:lylavoie@iol.unh.edu" target="_blank">lylavoie@iol.unh.edu</a>><br>
> Cc: <a href="mailto:ci@dpdk.org" target="_blank">ci@dpdk.org</a>; Thomas Monjalon <<a href="mailto:thomas@monjalon.net" target="_blank">thomas@monjalon.net</a>>; Richardson, Bruce<br>
> <<a href="mailto:bruce.richardson@intel.com" target="_blank">bruce.richardson@intel.com</a>><br>
> Subject: Compiling dpdk in non compilation tests<br>
> <br>
> Looking at CI reports this morning, I noticed this on the series "ice:<br>
> update base code".<br>
> <br>
> <a href="https://lab.dpdk.org/results/dashboard/patchsets/13992/" rel="noreferrer" target="_blank">https://lab.dpdk.org/results/dashboard/patchsets/13992/</a><br>
> <br>
> - Compilation is failing on OpenSuse, but I think this is because its<br>
> toolchain does not have AVX512 support.<br>
> This seems to be a regression introduced by the series, indeed, cool.<br>
> <br>
> <br>
> - On Ubuntu 18.04, build is fine, but unit tests are ko.<br>
> Looking into the unit tests zipped logs, I can see that:<br>
> * the unit tests job builds its own binaries,<br>
> * the unit tests environment is not the same as the build test<br>
> environment (only copying significant differences below):<br>
> <br>
> Build:<br>
> The Meson build system<br>
> Version: 0.55.3<br>
> ...<br>
> C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu<br>
> 7.5.0-3ubuntu1~18.04) 7.5.0")<br>
> C linker for the host machine: cc ld.bfd 2.30<br>
> ...<br>
> Run-time dependency libpcap found: YES 1.8.1<br>
> Has header "pcap.h" with dependency libpcap: YES<br>
> ...<br>
> Fetching value of define "__AVX2__" : 1<br>
> Fetching value of define "__AVX512BW__" : 1<br>
> Fetching value of define "__AVX512CD__" : 1<br>
> Fetching value of define "__AVX512DQ__" : 1<br>
> Fetching value of define "__AVX512F__" : 1<br>
> Fetching value of define "__AVX512VL__" : 1<br>
> ...<br>
> Run-time dependency jansson found: YES 2.11<br>
> ...<br>
> <br>
> vs<br>
> <br>
> Unit tests:<br>
> The Meson build system<br>
> Version: 0.53.1<br>
> ...<br>
> C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu<br>
> 7.5.0-3ubuntu1~18.04) 7.5.0")<br>
> C linker for the host machine: cc GNU ld.bfd 2.30<br>
> ...<br>
> Run-time dependency libpcap found: NO (tried pkgconfig)<br>
> Library pcap found: NO<br>
> ...<br>
> Fetching value of define "__AVX2__" :<br>
> Fetching value of define "__AVX512BW__" :<br>
> Fetching value of define "__AVX512CD__" :<br>
> Fetching value of define "__AVX512DQ__" :<br>
> Fetching value of define "__AVX512F__" :<br>
> Fetching value of define "__AVX512VL__" :<br>
> ...<br>
> Run-time dependency jansson found: NO (tried pkgconfig and cmake)<br>
> ...<br>
> <br>
> <br>
> The Unit tests env does not have a AVX512 enabled toolchain, or<br>
> something in meson disables it, hence the compilation fails and the<br>
> unit tests are marked as failed while it has nothing to do with<br>
> functional tests.<br>
> <br>
<br>
FYI: The original release of Ubuntu 18.04 had broken AVX-512 support<br>
in binutils. However, the fix for that issue has recently been <br>
backported to 18.04, so running "apt-get update && apt-get upgrade"<br>
should fix that support.<br>
<br>
/Bruce<br>
<br>
PS: Yes, I'm old-skool and use apt-get rather than just "apt". I<br>
don't like how plain apt does fancy things with the terminal for<br>
the progress bar! 😊<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Brandon Lo</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">UNH InterOperability Laboratory</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">21 Madbury Rd, Suite 100, Durham, NH 03824</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(17,85,204);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:blo@iol.unh.edu" target="_blank">blo@iol.unh.edu</a></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(17,85,204);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.iol.unh.edu/" target="_blank">www.iol.unh.edu</a></span></p></span></div></div></div></div>