From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FD98440FA; Tue, 28 May 2024 23:41:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E80F3402EF; Tue, 28 May 2024 23:41:37 +0200 (CEST) Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com [103.168.172.149]) by mails.dpdk.org (Postfix) with ESMTP id 55AC7402BA for ; Tue, 28 May 2024 23:41:36 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id E689913800C5; Tue, 28 May 2024 17:41:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 28 May 2024 17:41:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1716932495; x=1717018895; bh=Ui2LQZgQjuYJHr/DjmqY/3Y2Fz069cEJgltaVRH6Cqw=; b= WIaq+F8Vba9nKwTHs16XLfksKRQDCh3QyXRSSU4kuE/j/u/J94RyUlMgk7whJ8M0 D9cZGb4QrogaJfozGnDhJ75f8nHiQ/cfxJxgvAKNItTxSI6riWakiF5fbuMAQ7NP 94lYJU7JqV8qWo4jP7SiJnICJKGjLZGi4auEsnRQqiWKc5wN99pyYWjk7ufmxaHg fH2RWtG4E8eVvnq2K0f2cnU8MoZuVWO2SSCw7ZbsC9QhWRHbWkyxgXw3Mq/vMDjy 6GkNIPZK93USaAzTLBQMYvREFqUPG3Ig9N1OJ0nOwc2IzZ4PWiyjNCdlWFIs1rjO S8Y5cenBGuCUyr8R4JdjKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716932495; x= 1717018895; bh=Ui2LQZgQjuYJHr/DjmqY/3Y2Fz069cEJgltaVRH6Cqw=; b=Q kkVqz80jiDolvX94MqfLCP6h/Sk3SeN06Oedklb+x4Qg/VIZpam+OYySpPGnBIa6 y2QTTLTMTfNeIDd+LEyZ8nMl1UTPLNHDdxL5x4HhKr89OTMCBYux7LneWTykIW0P f2ta+ZTjrlOX8iTHrtF75pWx2tjYgmCtgsQUXmQtZyBByBnBSGMIHXRMs8ILonqy UmBjsUzvgjC8rVoqRdz6OgOLfby4dJ37vm8RFmDMxGD5stmKNllnA0VwfmFLfw0q entol7gghZ8PlyqnUO7P7ri0H4uKTPSvLQ7atWwddGXGpBxCcVJcy2TkBORStMsZ urlq+A72abJtiz53Pfdhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdejledgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhephffvvefufffkjghfggfg tgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthh homhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeeuvefgkeek feffveeglefhuddtgfeuhedttdelhfduueefveefgedugeffgeethfenucffohhmrghinh epghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 May 2024 17:41:35 -0400 (EDT) From: Thomas Monjalon To: Cody Cheng Cc: ci@dpdk.org Subject: Re: Ubuntu 24.04 rte_pcapng.c warning Date: Tue, 28 May 2024 23:41:34 +0200 Message-ID: <3118540.U7HbjWM52l@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Hello, There was a patch pending for this issue. It has been merged quickly because it looks urgent, but I would have preferred a test of the patch from you. Next time ;) Thanks 28/05/2024 20:28, Cody Cheng: > Here is the warning: >=20 > FAILED: lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o > ccache cc -Ilib/76b5a35@@rte_pcapng@sta -Ilib -I../lib -Ilib/pcapng > -I../lib/pcapng -I. -I../ -Iconfig -I../config -Ilib/eal/include > -I../lib/eal/include -Ilib/eal/linux/include > -I../lib/eal/linux/include -Ilib/eal/x86/include > -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common > -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log > -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics > -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev > -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool > -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter > -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall > -Winvalid-pch -Wextra -Werror -std=3Dc11 -O3 -include rte_config.h > -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral > -Wformat-security -Wmissing-declarations -Wmissing-prototypes > -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare > -Wstrict-prototypes -Wundef -Wwrite-strings > -Wno-address-of-packed-member -Wno-packed-not-aligned > -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE > -fPIC -march=3Dnative -mrtm -DALLOW_EXPERIMENTAL_API > -DALLOW_INTERNAL_API -Wno-format-truncation > -DRTE_LOG_DEFAULT_LOGTYPE=3Dlib.pcapng -MD -MQ > 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -MF > 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o.d' -o > 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -c > ../lib/pcapng/rte_pcapng.c > In file included from /usr/include/string.h:548, > from ../lib/pcapng/rte_pcapng.c:9: > In function =E2=80=98memcpy=E2=80=99, > inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte= _pcapng.c:131:2, > inlined from =E2=80=98pcapng_section_block=E2=80=99 at ../lib/pcapng/= rte_pcapng.c:192:8: > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: error: > argument 2 null where non-null expected [-Werror=3Dnonnull] > 29 | return __builtin___memcpy_chk (__dest, __src, __len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 30 | __glibc_objsize0 (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in > a call to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 > In function =E2=80=98memcpy=E2=80=99, > inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte= _pcapng.c:131:2, > inlined from =E2=80=98rte_pcapng_add_interface=E2=80=99 at ../lib/pca= png/rte_pcapng.c:308:8: > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: error: > argument 2 null where non-null expected [-Werror=3Dnonnull] > 29 | return __builtin___memcpy_chk (__dest, __src, __len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 30 | __glibc_objsize0 (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in > a call to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 > In function =E2=80=98memcpy=E2=80=99, > inlined from =E2=80=98pcapng_add_option=E2=80=99 at ../lib/pcapng/rte= _pcapng.c:131:2, > inlined from =E2=80=98rte_pcapng_write_stats=E2=80=99 at ../lib/pcapn= g/rte_pcapng.c:371:9: > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: error: > argument 2 null where non-null expected [-Werror=3Dnonnull] > 29 | return __builtin___memcpy_chk (__dest, __src, __len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 30 | __glibc_objsize0 (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: note: in > a call to built-in function =E2=80=98__builtin___memcpy_chk=E2=80=99 > cc1: all warnings being treated as errors >=20 >=20 > On Tue, May 28, 2024 at 12:32=E2=80=AFPM Cody Cheng = wrote: >=20 > > Hi, > > > > We have added the Ubuntu 24.04 environment to the Community Lab! Due to= a > > warning in rte_pcapng.c, we have temporarily disabled Werror. Once this > > warning has been fixed, we will re-enable Werror. I have attached the l= ogs > > for the warning error below. > > > > log.txt > > > > > > Thanks, > > Cody > > >=20