* [dpdk-dev] [Bug 395] Build of hinic with GCC 10.0.1 fails on aarch64
@ 2020-02-11 11:10 bugzilla
2020-03-20 12:41 ` bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2020-02-11 11:10 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=395
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/dpdk/_log
[ 399s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/hinic/base/hinic_pmd_hwdev.c:
In function 'print_cable_info':
[ 399s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/drivers/net/hinic/base/hinic_pmd_hwdev.c:1398:3:
error: 'snprintf' argument 4 may overlap destination object 'tmp_str'
[-Werror=restrict]
[ 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/base/hinic_pmd_hwdev.c:1363:7:
note: destination object referenced by 'restrict'-qualified argument 1 was
declared here
[ 399s] 1363 | char tmp_str[512] = {0};
[ 399s] | ^~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-dev] [Bug 395] Build of hinic with GCC 10.0.1 fails on aarch64
2020-02-11 11:10 [dpdk-dev] [Bug 395] Build of hinic with GCC 10.0.1 fails on aarch64 bugzilla
@ 2020-03-20 12:41 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2020-03-20 12:41 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=395
Luca Boccassi (luca.boccassi@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Luca Boccassi (luca.boccassi@gmail.com) ---
Fixed in 20.05 by
https://git.dpdk.org/dpdk/commit/?id=ece8e4c262f8091361e9b261c4e4c6257d2b8bda
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-20 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 11:10 [dpdk-dev] [Bug 395] Build of hinic with GCC 10.0.1 fails on aarch64 bugzilla
2020-03-20 12:41 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).