From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5964A00E6 for ; Tue, 6 Aug 2019 18:12:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B26DB1B4B6; Tue, 6 Aug 2019 18:12:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 011004F91 for ; Tue, 6 Aug 2019 18:12:01 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x76GAQEl026101; Tue, 6 Aug 2019 09:12:00 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=FG5a9gcsymCXHqoMwtA/QZyy1vyJDWC2x84nUkl1bCE=; b=cNESOstX6qj13yHWK7ihKI2UVjjUXkhXwXoQnH/U2UMl0bsp51zGAsXH+0Z/UZRDrl57 XEcnfb0H9Ox+shpa5vNaP6lu+nEUFxwIXnmT9MBqJ1XVXAeyFZ/iTIsnIXgZ1I0HM4YR 0Ctg/d3ezBJ7Kn7gxs7mj4fHUCWSAsA/0hF/FIHHGehys+gnxYIEUPZ0qQAXT34bnAfO yIzeB4fUMCZcL4aGP5D/+xA8x9d++myuCOWLDqsURglr/8VAt6Zy7b+jywUlYcL8YXn5 14XbP69R6O181KUcQ/a6lIT/XewoghQdxTez2+ucXrD4s4OaN7+euICr3EEgfz42xyBe PQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2u59skudv6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 06 Aug 2019 09:12:00 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 6 Aug 2019 09:11:58 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.59) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 6 Aug 2019 09:11:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g1V3xY2ITIIBnvvgyPEoYuYsMH72xAntcw/Vi49fPHuSED2U4rXWK+9kinMD9dfuDaGxYZVIp6BDr5lG/RtULTbISYDdsoV9qIF3g68p4CiTK7Lk+mtjRiZ3YvtnKqQ+FG4EZjkmgzHxmrbAcqspn+Sq2M1ALNVzzvwr/cRX2iYc5Kj0lz+9El6esq03L/ope+0mJxTckUco96NdpEg5Jc+6qWE7TlzWjtjygE3PHAmFIH1tGfwWbIBvZ37YJc82IQarhXnwA0sY1N7o5kQOUuNLc0A6meuVFEcsJC5Nfph0B0FFKkP1TxiBuTRnS/b67wYBtpv8NwGiAUy4QXQfsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FG5a9gcsymCXHqoMwtA/QZyy1vyJDWC2x84nUkl1bCE=; b=gEgeBF9biZtAWxUiGLWtE0s9eX3CxwxHJaFIE3bVN16zMeSJaxxDTI5kCtLMxOZQRqQF8kDRV4u0n9AdROnGwe1LElu31h+zPHkFvwblgPwS9AZ5zX1l3WBNpiM4mfY4ZWIiEjicgVUrHNc6aOgZO0FeWZsiwS47B2U2hblZ3pv1V6NEaLKHG4pXUWz99ZCMXOYYeVHyyhSxVcKQ7FQiylhGDfVUAJFJ+RJc7AqAlFrp+88zNunvBVUTf3e8Em86SxRmtIH5E45WSUxDCrzW/UC9SmDYmLTN8O0Lh+zGcB+U2pkb9KdhnfgR4ywOMrTLuaJdOMTMUDm/AlPYEao5Sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FG5a9gcsymCXHqoMwtA/QZyy1vyJDWC2x84nUkl1bCE=; b=wqugh8DN8PynAlUyOtLKd/C/c5UiFJQwnZZwKgqrkYGxPoXZIF/Ry9Ie0/S91MF7xtdw42aJe+tttEwsYAYlar+o6vQWrbEmbhNBxAD6yOFhRttEgh5Z0P8F1QHWHLJzuPnHt78fDzmWq9JcUKS0CcCFJ3KLuwDdHaSD90HIC5c= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2695.namprd18.prod.outlook.com (20.178.207.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.14; Tue, 6 Aug 2019 16:11:53 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013%3]) with mapi id 15.20.2136.018; Tue, 6 Aug 2019 16:11:53 +0000 From: Jerin Jacob Kollanukkaran To: Thomas Monjalon , "jgrajcia@cisco.com" CC: "dev@dpdk.org" Thread-Topic: Compilation error on master with gcc 9.1 Thread-Index: AdVMcW7LOWZXzJESSryZuDaRRrexiA== Date: Tue, 6 Aug 2019 16:11:53 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [171.61.87.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 199357fc-b5de-44ad-282f-08d71a88cc11 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2695; x-ms-traffictypediagnostic: BYAPR18MB2695: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:628; x-forefront-prvs: 0121F24F22 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(366004)(376002)(189003)(199004)(102836004)(2501003)(71190400001)(7696005)(316002)(71200400001)(256004)(99286004)(110136005)(66066001)(5660300002)(33656002)(52536014)(6436002)(6506007)(53936002)(486006)(9686003)(476003)(4326008)(55016002)(68736007)(6306002)(64756008)(186003)(81156014)(86362001)(66476007)(305945005)(8676002)(66556008)(66946007)(7736002)(478600001)(26005)(25786009)(2906002)(8936002)(81166006)(14454004)(74316002)(66446008)(3846002)(76116006)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2695; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: CbCpMpsRPxxfSwUagtF1TbGWCtj3Gqr7FErth2X4N0LRDlzSjZrDUVAfRZJxdoxv9MpajhPO3oS6cFDm78X3k6Pds7Ml7ZYYXBLN32xRA3ViYmOkT9LhXN4LAisxxzyFgpC9c+e8u/ZgFqkPT+a1TpZjOpfcJ+NSU1VmyVM6ZlDBMLymrF0+Hl6n4+6xc4KnjDEB07fp7ltyuHqIrLV+qJGIWjKyG3aUX5KPYOUgfQABj3B113furyMd0mMIu3z4RXIb6Qr1DvaasjsfxIqSJMvSmUpzgsL+5ODafzjwVFG/8ss5iEk9Zj9IGQSG9iLnyeALIXk6HaAWjzcoX3IoPqRwCPXjFNkvIoQk9edm3D5EC3LAsWfRJPubtXNVFQUjujviBkldjNXy2VI8ovnIQVuE7d5gLsXvduOCOlIX6bg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 199357fc-b5de-44ad-282f-08d71a88cc11 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2019 16:11:53.5686 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2695 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-06_09:2019-08-05,2019-08-06 signatures=0 Subject: [dpdk-dev] Compilation error on master with gcc 9.1 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" CC memif_socket.o In file included from /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c= :26: In function 'memif_socket_create', inlined from 'memif_socket_init' at /home/jerin/dpdk.org/drivers/net/me= mif/memif_socket.c:965:12: /home/jerin/dpdk.org/drivers/net/memif/rte_eth_memif.h:35:2: error: '%s' di= rective argument is null [-Werror=3Dformat-overflow=3D] 35 | rte_log(RTE_LOG_ ## level, memif_logtype, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | "%s(): " fmt "\n", __func__, ##args) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c:920:2: note: in expan= sion of macro 'MIF_LOG' 920 | MIF_LOG(ERR, "%s: Failed to setup socket %s: %s", | ^~~~~~~ /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c: In function 'memif_s= ocket_init': /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c:1114:17: note: format= string is defined here 1114 | MIF_LOG(ERR, "%s: Failed to register interrupt callback " | ^~ In file included from /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c= :26: In function 'memif_socket_create', inlined from 'memif_socket_init' at /home/jerin/dpdk.org/drivers/net/me= mif/memif_socket.c:965:12: /home/jerin/dpdk.org/drivers/net/memif/rte_eth_memif.h:35:2: error: '%s' di= rective argument is null [-Werror=3Dformat-overflow=3D] 35 | rte_log(RTE_LOG_ ## level, memif_logtype, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | "%s(): " fmt "\n", __func__, ##args) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c:920:2: note: in expan= sion of macro 'MIF_LOG' 920 | MIF_LOG(ERR, "%s: Failed to setup socket %s: %s", | ^~~~~~~ /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c: In function 'memif_s= ocket_init': /home/jerin/dpdk.org/drivers/net/memif/memif_socket.c:1114:17: note: format= string is defined here 1114 | MIF_LOG(ERR, "%s: Failed to register interrupt callback " | ^~ $ gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/s= hare/info --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared= --enable-threads=3Dposix --with-system-zlib --with-isl --enable-__cxa_atex= it --disable-libunwind-exceptions --enable-cl ocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-ob= ject --enable-linker-build-id --enable-lto --enable-plugin --enable-install= -libiberty --with-linker-hash-style=3Dgnu --e nable-gnu-indirect-function --enable-multilib --disable-werror --enable-che= cking=3Drelease --enable-default-pie --enable-default-ssp --enable-cet=3Dau= to Thread model: posix gcc version 9.1.0 (GCC