DPDK CI discussions
 help / color / Atom feed
* [dpdk-ci] Gcc error false positive from ci/iol-testing
@ 2020-09-04 18:03 Chautru, Nicolas
  2020-09-08 15:31 ` Brandon Lo
  0 siblings, 1 reply; 2+ messages in thread
From: Chautru, Nicolas @ 2020-09-04 18:03 UTC (permalink / raw)
  To: ci; +Cc: Yigit, Ferruh

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Hi,
I am seeing an odd compilation error reported from ci/iol testing using this variant
Arch Linux
  Kernel: latest
  Compiler: gcc latest
https://patches.dpdk.org/patch/75690/

What version of gcc is this build used with exactly so that to be able to reproduce this?
It reports a "maybe-uninitialized" error but I don't see that with any other compiler and from the code I cannot see any branch which would lead to touch undeclared variable.

Thanks and regards,
Nic

[-- Attachment #2: Type: text/html, Size: 2949 bytes --]

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal">I am seeing an odd compilation error reported from ci/iol testing using this variant<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">Arch Linux<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp; Kernel: latest<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">&nbsp; Compiler: gcc latest<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://patches.dpdk.org/patch/75690/">https://patches.dpdk.org/patch/75690/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">What version of gcc is this build used with exactly so that to be able to reproduce this?
<o:p></o:p></p>
<p class="MsoNormal">It reports a &#8220;maybe-uninitialized&#8221; error but I don&#8217;t see that with any other compiler and from the code I cannot see any branch which would lead to touch undeclared variable.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks and regards, <o:p></o:p></p>
<p class="MsoNormal">Nic<o:p></o:p></p>
</div>
</body>
</html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-ci] Gcc error false positive from ci/iol-testing
  2020-09-04 18:03 [dpdk-ci] Gcc error false positive from ci/iol-testing Chautru, Nicolas
@ 2020-09-08 15:31 ` Brandon Lo
  0 siblings, 0 replies; 2+ messages in thread
From: Brandon Lo @ 2020-09-08 15:31 UTC (permalink / raw)
  To: Chautru, Nicolas; +Cc: ci, Yigit, Ferruh

Hi Nic,

Doing a gcc --version gives me this result:
gcc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130

If there is anything I should do to help resolve this issue, please let me know.

Thanks,
Brandon

On Fri, Sep 4, 2020 at 2:04 PM Chautru, Nicolas
<nicolas.chautru@intel.com> wrote:
>
> Hi,
>
> I am seeing an odd compilation error reported from ci/iol testing using this variant
>
> Arch Linux
>
>   Kernel: latest
>
>   Compiler: gcc latest
>
> https://patches.dpdk.org/patch/75690/
>
>
>
> What version of gcc is this build used with exactly so that to be able to reproduce this?
>
> It reports a “maybe-uninitialized” error but I don’t see that with any other compiler and from the code I cannot see any branch which would lead to touch undeclared variable.
>
>
>
> Thanks and regards,
>
> Nic



-- 

Brandon Lo

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

blo@iol.unh.edu

www.iol.unh.edu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 18:03 [dpdk-ci] Gcc error false positive from ci/iol-testing Chautru, Nicolas
2020-09-08 15:31 ` Brandon Lo

DPDK CI discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/ci/0 ci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ci ci/ http://inbox.dpdk.org/ci \
		ci@dpdk.org
	public-inbox-index ci


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.ci


AGPL code for this site: git clone https://public-inbox.org/ public-inbox