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 4B2FDA051C; Tue, 11 Feb 2020 12:10:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECDF62BD5; Tue, 11 Feb 2020 12:10:20 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 92B302B9C for ; Tue, 11 Feb 2020 12:10:20 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 73E9BA052F; Tue, 11 Feb 2020 12:10:20 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 11 Feb 2020 11:10:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 20.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luca.boccassi@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 395] Build of hinic with GCC 10.0.1 fails on aarch64 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" https://bugs.dpdk.org/show_bug.cgi?id=3D395 Bug ID: 395 Summary: Build of hinic with GCC 10.0.1 fails on aarch64 Product: DPDK Version: 20.02 Hardware: ARM OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: luca.boccassi@gmail.com Target Milestone: --- https://build.opensuse.org/build/home:bluca:dpdk/Fedora_Rawhide/aarch64/dpd= k/_log [ 399s] /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/hinic/bas= e/hinic_pmd_hwdev.c: In function 'print_cable_info': [ 399s] /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/hinic/bas= e/hinic_pmd_hwdev.c:1398:3: error: 'snprintf' argument 4 may overlap destination object 'tmp_str' [-Werror=3Drestrict] [ 399s] 1398 | snprintf(tmp_str + strlen(tmp_str), (sizeof(tmp_str) - 1= ), [ 399s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ [ 399s] 1399 | "%s, Temperature: %u", tmp_str, [ 399s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 399s] 1400 | info->cable_temp); [ 399s] | ~~~~~~~~~~~~~~~~~ [ 399s] /home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/hinic/bas= e/hinic_pmd_hwdev.c:1363:7: note: destination object referenced by 'restrict'-qualified argument 1 was declared here [ 399s] 1363 | char tmp_str[512] =3D {0}; [ 399s] | ^~~~~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=