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 8E68D429F9; Wed, 26 Apr 2023 07:45:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E958410DC; Wed, 26 Apr 2023 07:45:54 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id CFB8540DDA for ; Wed, 26 Apr 2023 07:45:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682487952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IVij53edTQEesNZSCEYbTJv/DE5iIiD4iwoTIvu/OhE=; b=PTRh7/p5kuS5UY5FS5udrnmpd/gqsTaHsowozsLTal5YTlgq4t1AQzZgBe2jcPfjuA2C04 N7W/mUmh0x1ESQogmka/nXyz/M4mmwhu1xQBIyaX17bEckwXwDWeCLnBqbilApAjrEUAFS AZttfw/WaXBGVepd0xySicDJQ3leHUM= Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-62-D-5lAmB_POGi0IlRRzGJYg-1; Wed, 26 Apr 2023 01:45:50 -0400 X-MC-Unique: D-5lAmB_POGi0IlRRzGJYg-1 Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-52503bfeb07so2213980a12.3 for ; Tue, 25 Apr 2023 22:45:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682487949; x=1685079949; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IVij53edTQEesNZSCEYbTJv/DE5iIiD4iwoTIvu/OhE=; b=bzdvXVIO1S5Jr0Y2M9AVomc+vTWJ2ii58qplQPYWqCgck5EzXBsufnQzxbcw/HARp+ NBM1TMKxWV3o47c8AvYDLGx6hU3p1jwM7W22sfcKIughMf8M/9HwseadDK1Qk8YwcR6b jHQzJTLPgA2UDpEvlo6/MMnn+CVIPyrSsqw7eNRFJuMp/jAbuTpjCGEl385G9/5oawND DL1KDnUwefbC0RAUWLRzXNIvWxo5t44AlKjrEvska304UTwS6z4iGOTl7bHk5ZdbfXOH WuiqI7P+Ye+Oe5SBvczLBOrR4uNaV4yamVmVMi9uqVotYeHoToUVOIsIkQ6QdeilRGhX udgg== X-Gm-Message-State: AC+VfDxfd3v+86GubgSXkeAb/nHGdTOHAwPMmD/9yuL4O/+lLjeU0p/3 VTyRN49yKNwxkEq3l8Br5De4zqqmIjxHaQTJBZHSdAO7nvJ3fxF6MR+h4r1ccpZ7nM5wxI7tzJd xhNHvoHMVu/yC0I20KEw= X-Received: by 2002:a05:6a20:1585:b0:f6:592a:7e28 with SMTP id h5-20020a056a20158500b000f6592a7e28mr4994732pzj.14.1682487949566; Tue, 25 Apr 2023 22:45:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5W9rWEZ5B+3rZ9C+fXrwevRMDe+pGHxqcwszhuKmCWjg9Bf7P1cAwvwqI9uc3Mtw5HgzJ4uqZ50x50mJRqZac= X-Received: by 2002:a05:6a20:1585:b0:f6:592a:7e28 with SMTP id h5-20020a056a20158500b000f6592a7e28mr4994715pzj.14.1682487949187; Tue, 25 Apr 2023 22:45:49 -0700 (PDT) MIME-Version: 1.0 References: <20230421143447.3618180-1-david.marchand@redhat.com> <20230425162050.4b90def3@hermes.local> In-Reply-To: <20230425162050.4b90def3@hermes.local> From: David Marchand Date: Wed, 26 Apr 2023 07:45:38 +0200 Message-ID: Subject: Re: [PATCH] ci: switch to Fedora 37 To: Stephen Hemminger Cc: Aaron Conole , dev@dpdk.org, Michael Santana X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Apr 26, 2023 at 1:20=E2=80=AFAM Stephen Hemminger wrote: > > > FYI, Fedora 38 also just got released. Perhaps that can be a candida= te > > > as well, but I didn't try it out. > > > > At a first glance, gcc 13 raises some new warnings, at least for > > examples (ip-pipeline and ntb). > > We can switch to f38 once builds are fine with gcc 13. > > What errors, just tried and current main branch builds clean on new F38 V= M. Fixes welcome: [root@7e1b3663cd03 dpdk]# cat /etc/redhat-release Fedora release 38 (Thirty Eight) [root@7e1b3663cd03 dpdk]# rpm -q gcc gcc-13.0.1-0.12.fc38.x86_64 [root@7e1b3663cd03 dpdk]# ninja -C build -vvvv ninja: Entering directory `build' [1/4] cc -Iexamples/dpdk-ip_pipeline.p -Iexamples -I../examples -Iexamples/ip_pipeline -I../examples/ip_pipeline -I../examples/common -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/pipeline -I../lib/pipeline -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/cryptodev -I../lib/cryptodev -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/table -I../lib/table -Ilib/lpm -I../lib/lpm -Ilib/acl -I../lib/acl -Ilib/ipsec -I../lib/ipsec -Ilib/security -I../lib/security -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -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 -march=3Dnative -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o -MF examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o.d -o examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o -c ../examples/ip_pipeline/thread.c In function =E2=80=98thread_msg_handle=E2=80=99, inlined from =E2=80=98thread_main=E2=80=99 at ../examples/ip_pipeline/t= hread.c:3130:6: ../examples/ip_pipeline/thread.c:535:20: warning: =E2=80=98req=E2=80=99 may= be used uninitialized [-Wmaybe-uninitialized] 535 | if (req =3D=3D NULL) | ^ ../examples/ip_pipeline/thread.c: In function =E2=80=98thread_main=E2=80=99= : ../examples/ip_pipeline/thread.c:433:32: note: =E2=80=98req=E2=80=99 was de= clared here 433 | struct thread_msg_req *req; | ^~~ [2/4] cc -Iexamples/dpdk-ntb.p -Iexamples -I../examples -Iexamples/ntb -I../examples/ntb -I../examples/common -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/ntb -I../drivers/raw/ntb -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -fdiagnostics-color=3Dalways -Wall -Winvalid-pch -Wextra -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 -march=3Dnative -Wno-format-truncation -D_FILE_OFFSET_BITS=3D64 -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ntb.p/ntb_ntb_fwd.c.o -MF examples/dpdk-ntb.p/ntb_ntb_fwd.c.o.d -o examples/dpdk-ntb.p/ntb_ntb_fwd.c.o -c ../examples/ntb/ntb_fwd.c ../examples/ntb/ntb_fwd.c: In function =E2=80=98ntb_stats_display=E2=80=99: ../examples/ntb/ntb_fwd.c:945:23: warning: =E2=80=98rte_rawdev_xstats_get= =E2=80=99 accessing 8 bytes in a region of size 0 [-Wstringop-overflow=3D] 945 | if (nb_ids !=3D rte_rawdev_xstats_get(dev_id, ids, values, nb_ids)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~ ../examples/ntb/ntb_fwd.c:945:23: note: referencing argument 3 of type =E2=80=98uint64_t[0]=E2=80=99 {aka =E2=80=98long unsigned int[]=E2=80=99} In file included from ../examples/ntb/ntb_fwd.c:17: ../lib/rawdev/rte_rawdev.h:504:1: note: in a call to function =E2=80=98rte_rawdev_xstats_get=E2=80=99 504 | rte_rawdev_xstats_get(uint16_t dev_id, | ^~~~~~~~~~~~~~~~~~~~~ [3/4] cc -o examples/dpdk-ip_pipeline examples/dpdk-ip_pipeline.p/ip_pipeline_action.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_cryptodev.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_kni.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_link.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_main.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_mempool.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_parser.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_pipeline.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_swq.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_tap.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_thread.c.o examples/dpdk-ip_pipeline.p/ip_pipeline_tmgr.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--whole-archive -Wl,--start-group lib/librte_node.a lib/librte_graph.a lib/librte_pipeline.a lib/librte_table.a lib/librte_pdump.a lib/librte_port.a lib/librte_fib.a lib/librte_ipsec.a lib/librte_vhost.a lib/librte_stack.a lib/librte_security.a lib/librte_sched.a lib/librte_reorder.a lib/librte_rib.a lib/librte_dmadev.a lib/librte_mldev.a lib/librte_regexdev.a lib/librte_rawdev.a lib/librte_power.a lib/librte_pcapng.a lib/librte_member.a lib/librte_lpm.a lib/librte_latencystats.a lib/librte_jobstats.a lib/librte_ip_frag.a lib/librte_gso.a lib/librte_gro.a lib/librte_gpudev.a lib/librte_eventdev.a lib/librte_efd.a lib/librte_distributor.a lib/librte_cryptodev.a lib/librte_compressdev.a lib/librte_cfgfile.a lib/librte_bpf.a lib/librte_bitratestats.a lib/librte_bbdev.a lib/librte_acl.a lib/librte_timer.a lib/librte_hash.a lib/librte_metrics.a lib/librte_cmdline.a lib/librte_pci.a lib/librte_ethdev.a lib/librte_meter.a lib/librte_net.a lib/librte_mbuf.a lib/librte_mempool.a lib/librte_rcu.a lib/librte_ring.a lib/librte_eal.a lib/librte_telemetry.a lib/librte_kvargs.a drivers/librte_bus_pci.a drivers/librte_bus_vdev.a drivers/librte_mempool_ring.a drivers/librte_net_bnxt.a drivers/librte_net_i40e.a drivers/librte_net_ixgbe.a drivers/librte_raw_ntb.a -Wl,--no-whole-archive -Wl,--no-as-needed -pthread -lm -ldl -lnuma -Wl,--end-group -Wl,--export-dynamic [4/4] cc -o examples/dpdk-ntb examples/dpdk-ntb.p/ntb_ntb_fwd.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--whole-archive -Wl,--start-group lib/librte_node.a lib/librte_graph.a lib/librte_pipeline.a lib/librte_table.a lib/librte_pdump.a lib/librte_port.a lib/librte_fib.a lib/librte_ipsec.a lib/librte_vhost.a lib/librte_stack.a lib/librte_security.a lib/librte_sched.a lib/librte_reorder.a lib/librte_rib.a lib/librte_dmadev.a lib/librte_mldev.a lib/librte_regexdev.a lib/librte_rawdev.a lib/librte_power.a lib/librte_pcapng.a lib/librte_member.a lib/librte_lpm.a lib/librte_latencystats.a lib/librte_jobstats.a lib/librte_ip_frag.a lib/librte_gso.a lib/librte_gro.a lib/librte_gpudev.a lib/librte_eventdev.a lib/librte_efd.a lib/librte_distributor.a lib/librte_cryptodev.a lib/librte_compressdev.a lib/librte_cfgfile.a lib/librte_bpf.a lib/librte_bitratestats.a lib/librte_bbdev.a lib/librte_acl.a lib/librte_timer.a lib/librte_hash.a lib/librte_metrics.a lib/librte_cmdline.a lib/librte_pci.a lib/librte_ethdev.a lib/librte_meter.a lib/librte_net.a lib/librte_mbuf.a lib/librte_mempool.a lib/librte_rcu.a lib/librte_ring.a lib/librte_eal.a lib/librte_telemetry.a lib/librte_kvargs.a drivers/librte_bus_pci.a drivers/librte_bus_vdev.a drivers/librte_mempool_ring.a drivers/librte_net_bnxt.a drivers/librte_net_i40e.a drivers/librte_net_ixgbe.a drivers/librte_raw_ntb.a -Wl,--no-whole-archive -Wl,--no-as-needed -pthread -lm -ldl -lnuma -Wl,--end-group -Wl,--export-dynamic --=20 David Marchand