From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0077.outbound.protection.outlook.com [104.47.36.77]) by dpdk.org (Postfix) with ESMTP id D54071B8F2 for ; Thu, 10 May 2018 08:12:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AFrglvhvGr44KaV3V9PWGd1lTgaPd3fwN4bDxAs+SnE=; b=gpzpUwoZdtqqJzJvMoa4uAzcCJOOA+MCq48RNO+PwDC6RIPPk63uea/BGBEgADTdHT+ri4uFurKOpS1M7/d6dIL48oZ4DkMzqF5PlTo4bP+jhGExP+sXcKd2QlUNA0/PKjQDZk64LwcUWzc3gagjbebkiK9zOsFzHO/Ww66rPcc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.167.67.205) by CO2PR07MB2520.namprd07.prod.outlook.com (2603:10b6:102:13::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Thu, 10 May 2018 06:12:43 +0000 Date: Thu, 10 May 2018 11:42:27 +0530 From: Jerin Jacob To: Andy Green Cc: dev@dpdk.org Message-ID: <20180510061226.GA12718@jerin> References: <152591991920.119328.14523975619615362920.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <152591991920.119328.14523975619615362920.stgit@localhost.localdomain> User-Agent: Mutt/1.9.5 (2018-04-13) X-Originating-IP: [122.167.67.205] X-ClientProxiedBy: MAXPR0101CA0072.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:e::34) To CO2PR07MB2520.namprd07.prod.outlook.com (2603:10b6:102:13::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2520; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 3:+a4ptK/dQecb75PiqAMdvoJakv4D4ZY9vU6n6hZxOulz3tLKlY8IOf9S5Ls25XzkY/XL5Ys34pj0iyYD5hNbDJQMi8OK2uhatDBmvH1849T9Q2tIa0VI7NsKzvIlFfiGlzXUY+SbvIlWMWV0GWHgr/ek/rtNrcE9uQ5oKbHtsxADQW/ZM0r/s2aYtX6mZrka8QiIKDO7qRNUeu61OMDo5N6VXoyVbQqW4DnB/RtypiVso11I4385OWMy3PFbinjj; 25:O61xT57zeQiDZA/QGOB/su5EXUNWZUIZqgEOg3eQIy/mR5t2ryRPaTF6zaGHwWzEX5ZH4O6ZmWS+dGtvPr4LGCwRKEuI9JNXnNEOnm3t9iMeFC0IuxfZ8fMZ/O22MBWWUD3r1OmV07fws2p1fI3Y8zzd1pUQqT48DMLSUO/IXZVsKsFeySJgOVxrVuNzyU38c3uLPR7M1sjHz4JMiH1VlwypYwQgC8PfpHV2TM7YxZks4QlhO63hWoGXgKEHr2e1mNk8yXrduBvlzvOzOtQObbOdyFPQLq5z9+armtb5CpGnqmtGOsMRUqeniBz3WZ1uCKjfSkVHHVkOkiMT3Asy8Q==; 31:loE4FNZVXhnAT0vY9ceHwLp/zTe08aPQ6SzcWaQrVnmIbUB0w9CsbFAk8cZQVL+LdQWRoyFSHbRu2o9gz6UrKNsOiSLVpFJss4sIBZ8WjPCxn3TWWbJdajilod2yl270iejGkr7JDQkElH7IBzpmWcXVTj/pvGNgv1wOyb/eQUm99kSY+NDkMK4vGnPPckqAJ/9K5w4Pqb8Cd8wsVWtjL11rWEwycV46LuX52WT7fF8= X-MS-TrafficTypeDiagnostic: CO2PR07MB2520: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 20:pPee1WzAzWhzctgYU/60MsjlIctEJWgejGn1wGKJpfcmm5oZWE4OcfJp4jL8AUk9p6Or8ud+t8LFjyPPv2dw0hTB4vyVpaH6UJJj/yP1xAszqWb731CwUAPB/LNz1hTFLZBFnRnKSvEdf1qlYABSPGNTeydi7AYDRhU3An8Ig4jrPxEVS/iow9sA0LBBGSFvVm41n6nfSJfaRbXQk0A5NnyOmyuw+dEa+s3jEO7H4rNjN1KQy7bISO02zlN96XuBNFi+3RQSuPcw3rSTCYXAJpZrRT6ZYSIhvp5qxxdaAQT6k1zidVaQbWr1gZNpuiqa74lHzg4F6yJW0KUMUmPvTUjaQyKlaviZzkv3PMJC1AW2VaM8pO2U+6d90Epe11CvM9K2FGqoHXHT8urrlaKjp7DE+aEXzO0ZW9fL6LhmDKLPHbGy9xuC7xd5VA8UUtippa7iOTlYK3aDmSwciGrC9hDfOcUrf7L2XO8/lMfb9olm12VYvUXP4IzacnKJ1X1Yp0AbuCYj5byw9hqEzl1ZwNOwzVAyPTS8SNjSgS1U8inaQPuZbbTLvkVXxjWDKufwefNapaMuCTpTGNghm91f1E3LfyPmbMI8BU71WmJO0ao=; 4:eX85r6IVcU/QGqCSMoSBONGjsZmrR0QBYdSJIVS4QqYmU+aJIN07TjohOqW6Zk2HreS/JK1M+4u5/ipq6ZYWFhnGSiwSGB4aC28ytRE9PacSrKoi4Rn4Zk6KvvMXaY9/wypP+G34fcNNVgsMUlOX6BTP6dkPLqXwxzTDHAMokr1jhzKKoSxszta5KjUdEbpKql4mSSrDhrlYH0BxI5aw4pmdiMm3UnuNrCPeajM5zKhTxNTLHoK8NwF2yU7PkS2a7sqeKl2RfScVip5Xwe1d7IwpsWbJjFA9BtVxPO3DJCNuh/BrLy4LbCNxDAWuxJoc X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(17755550239193); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:CO2PR07MB2520; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2520; X-Forefront-PRVS: 066898046A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(39380400002)(346002)(366004)(376002)(13464003)(199004)(189003)(52146003)(8676002)(44832011)(81156014)(55016002)(305945005)(23676004)(16526019)(3846002)(6116002)(6246003)(229853002)(186003)(26005)(2486003)(76176011)(52116002)(105586002)(68736007)(106356001)(6496006)(97736004)(6916009)(1076002)(47776003)(6666003)(4326008)(5660300001)(66066001)(956004)(11346002)(478600001)(58126008)(476003)(25786009)(316002)(2906002)(2870700001)(53936002)(8936002)(53546011)(386003)(486006)(7736002)(33716001)(33656002)(59450400001)(446003)(42882007)(33896004)(50466002)(9686003)(6306002)(72206003)(81166006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2520; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDTzJQUjA3TUIyNTIwOzIzOkNObXhmRlZGTVVxQ28yMjJCTTFJdDYzdW00?= =?utf-8?B?UytKWjJ1UVh0NU9pandEL2ZzakRDc2VVUTlJM2VQWVdrOE9xaEpWaTVDTHp5?= =?utf-8?B?a0I2YjJCdlhEWlo0Nm0wTXZ0SFdVcGErUFljbDM4YS9FUzBKdEtHb0Rha1Zm?= =?utf-8?B?d0dTUkE1ZnczNTJJR2ovNWZkRHZpWXlyQXVsMjJRbUhKUkt1RTZkR1gydU50?= =?utf-8?B?MWFyVzcxeFVrdGpCV3p0QlhhRlV3RkJaUDZxUTZ5MExOa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in2U7FW+D/z7vH2+oDsxpzX+tr4rvROJFuAMf3dAkJMQJkTMoIuQM2AXgpbkDvTPN4icqFf+7DCVrAeL1tqeTOtFp+ X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 6:2DPwVXkTWZNJ77DeUY96SbWbeGEuZgXToalJJLAZjUNN+JtvtwLnZB3eyv3dc9bCZaxm+DJG0ydl+P732vqajj5Ogsee9uVyFJOH5AGxHrwbzBkqyui9Ren0R1JHF2lEH4Ez26YtT6OxmTec16pQYTnlMXvXZ5kjh5/r0/jqaAs2NVjmVZ9QU5+LjnpksJdiFoisafTrNmPD1bpbMea6jHUfHB2TofkXiiynJmggFmeoxE/QZcF4dEyQYtGTYFWtWVTdIcBOV0RIWVgw0z55ryyjx5F10qzvXcUox7l/yknDMFJHTwDaeVBDjCEBuAloNRwmnb6j5sNakfJrV+H/A8vtG4Nu9NqKg2W5140mMdOUiCQYhfD4bZ0s0wGpUxdgVwrJUF909YeQuP0QY7y4GPQvIQczKr1ccKsuPBRWDApewRlmR1OACZa1m9vaD9GhZYnhHoPuI98AIpNMTqplBA==; 5:FoLzbc/rzhTYwCfFllyLHP0SQarx9NIzcIEktr3TRT5mg/gLJlLExouar7d7F79ygXz7UHZstKgUqAMVeHy6RBdbs1MVIZEHaXZ5KWsDpH2JSs9+CF/rOf2lY2B404wv28DtCBBWVlFNoVQVCqwWVUsnfy2k46nkhLXNuoPiVtE=; 24:Ofg2mMsdV6unzpSHabaMqHSWLT5DbVH6C6fNoMxHDbNNKFRyGk9nYlIgOmJIEjhrpw/xsxyyt/B9G/oPPYW7KGbs0JU4gS67dw2AdUOIU/c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2520; 7:8KxXF32qGx+8sTpIB2skp/v0AmoM88A/8RM5Fhc5C9URKJztFn02UeKKK8yTYe1RmvY8Gk3eyixf3jgdkH6Uy0pb4D6gRFCbu9Se9cjQaHz5Oh8QxWzNcy7t97nSpGbquQ1RYUGPr45Orjc+6hc4XmZU1S96EttQsPZkmkzkBXV52nxxZsa999yylqlZJhJbB5oxb8vnWJQDBJXEGuF40a6Uqp6P1/6M+XJNX4d+R3cDwSyXmYz3PDkpXOQQv+bI X-MS-Office365-Filtering-Correlation-Id: 5cd165d5-1bb7-4611-6964-08d5b63d0bc6 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2018 06:12:43.6168 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5cd165d5-1bb7-4611-6964-08d5b63d0bc6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2520 Subject: Re: [dpdk-dev] [PATCH v3 00/40] Fix build on gcc8 and various bugs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 06:12:48 -0000 -----Original Message----- > Date: Thu, 10 May 2018 10:46:18 +0800 > From: Andy Green > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 00/40] Fix build on gcc8 and various bugs > User-Agent: StGit/unknown-version > > The following series gets current master able to build > itself, and allow lagopus to build against it, on Fedora 28 + > x86_64 using gcc 8.0.1. > > The first 17 patches have already been through two spins and > this time are corrected for all the comment (thanks to > everybody who commented) since v2, and have tested-by / > acked-bys applied. The first workaround patch for the hash > function cast problem is dropped since something has already > been applied in master since yesterday to address it. > > The additional 23 patches are fixes for problems found > actually trying to build lagopus using current master. > These are almost entirely related to signed / unsigned > or truncation without explicit casts inside dpdk > headers. Tested this series on gcc version 8.1.0 Found following error: /export/dpdk.org/test/test/test_table_pipeline.c: In function ‘test_table_pipeline’: /export/dpdk.org/test/test/test_table_pipeline.c:521:3: error: cast between incompatible function types from ‘int (* (*)(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry **, void *))(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry *, void *)’ {aka ‘int (* (*)(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry **, void *))(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry *, void *)’} to ‘int (*)(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry *, void *)’ {aka ‘int (*)(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry *, void *)’} [-Werror=cast-function-type] (rte_pipeline_table_action_handler_miss) table_action_stub_miss; ^ /export/dpdk.org/test/test/test_table_pipeline.c:557:3: error: cast between incompatible function types from ‘int (* (*)(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry **, void *))(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry *, void *)’ {aka ‘int (* (*)(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry **, void *))(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry *, void *)’} to ‘int (*)(struct rte_pipeline *, struct rte_mbuf **, uint64_t, struct rte_pipeline_table_entry *, void *)’ {aka ‘int (*)(struct rte_pipeline *, struct rte_mbuf **, long unsigned int, struct rte_pipeline_table_entry *, void *)’} [-Werror=cast-function-type] (rte_pipeline_table_action_handler_miss)table_action_stub_miss; ➜ [master][dpdk.org] $ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp Thread model: posix gcc version 8.1.0 (GCC) > > --- > > Andy Green (40): > drivers/bus/pci: fix strncpy dangerous code > drivers/bus/dpaa: fix inconsistent struct alignment > drivers/net/axgbe: fix broken eeprom string comp > drivers/net/nfp/nfpcore: fix strncpy misuse > drivers/net/nfp/nfpcore: fix off-by-one and no NUL on strncpy use > drivers/net/nfp: don't memcpy out of source range > drivers/net/nfp: fix buffer overflow in fw_name > drivers/net/qede: fix strncpy constant and NUL > drivers/net/qede: fix broken strncpy > drivers/net/sfc: fix strncpy length > drivers/net/sfc: fix strncpy size and NUL > drivers/net/vdev: readlink inputs cannot be aliased > drivers/net/vdev: fix 3 x strncpy misuse > app/test-pmd: can't find include > app/proc-info: fix sprintf overrun bug > app/test-bbdev: test-bbdev: strcpy ok for allocated string > app/test-bbdev: strcpy ok for allocated string > rte_common.h: cast gcc builtin result to avoid complaints > rte_memcpy.h: explicit tmp cast > lib/librte_eal/common/include/rte_lcore.h: explicit cast for signed change > /lib/librte_eal/common/include/rte_random.h: stage cast from uint64_t to long > rte_spinlock.h: stack declarations before code > rte_ring_generic.h: stack declarations before code > rte_ring.h: remove signed type flipflopping > rte_dev.h: stack declaration at top of own basic block > rte_mbuf.h: avoid truncation warnings from inadvertant int16_t to int promotion > rte_mbuf.h: explicit casts for flipping between int16_t and uint16_t > rte_mbuf.h: make sure RTE_MIN compares same types > rte_mbuf.h: explicit cast restricting ptrdiff to uint16_t > rte_mbuf.h: explicit cast for size_t to uint32_t > rte_mbuf.h: explicit casts to uint16_t to avoid truncation warnings > rte_byteorder.h: explicit cast for return promotion > rte_ether.h: explicit cast avoiding truncation warning > rte_ether.h: stack vars declared at top of function > rte_ethdev.h: fix sign and scope of temp var > rte_ethdev.h: explicit cast for return type > rte_ethdev.h: explicit cast for truncation > rte_hash_crc.h: stack vars declared at top of function > rte_hash_crc.h: explicit casts for truncation > rte_string_fns.h: explicit cast for int return to size_t > > > app/proc-info/main.c | 9 ++++- > app/test-bbdev/test_bbdev_vector.c | 5 ++- > app/test-pmd/Makefile | 1 + > drivers/bus/dpaa/base/qbman/qman.c | 14 ++++---- > drivers/bus/dpaa/include/fsl_qman.h | 24 +++++++------ > drivers/bus/pci/linux/pci.c | 2 + > drivers/net/axgbe/axgbe_phy_impl.c | 4 +- > drivers/net/nfp/nfp_net.c | 6 ++- > drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 4 ++ > drivers/net/nfp/nfpcore/nfp_resource.c | 10 +++--- > drivers/net/qede/base/ecore_int.c | 8 +++- > drivers/net/qede/qede_main.c | 7 ++-- > drivers/net/sfc/sfc_ethdev.c | 6 ++- > drivers/net/vdev_netvsc/vdev_netvsc.c | 15 +++++--- > .../common/include/arch/x86/rte_memcpy.h | 8 ++-- > .../common/include/arch/x86/rte_spinlock.h | 4 ++ > .../common/include/generic/rte_byteorder.h | 2 + > lib/librte_eal/common/include/rte_common.h | 2 + > lib/librte_eal/common/include/rte_dev.h | 15 +++++--- > lib/librte_eal/common/include/rte_lcore.h | 2 + > lib/librte_eal/common/include/rte_random.h | 6 ++- > lib/librte_eal/common/include/rte_string_fns.h | 2 + > lib/librte_ethdev/rte_ethdev.h | 32 +++++++++++------- > lib/librte_hash/rte_hash_crc.h | 11 +++--- > lib/librte_mbuf/rte_mbuf.h | 36 +++++++++++--------- > lib/librte_net/rte_ether.h | 5 ++- > lib/librte_ring/rte_ring.h | 4 +- > lib/librte_ring/rte_ring_c11_mem.h | 2 + > lib/librte_ring/rte_ring_generic.h | 10 ++---- > 29 files changed, 144 insertions(+), 112 deletions(-) > > -- > Signature