https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59124

--- Comment #13 from Georg Müller <georgmueller at gmx dot net> ---
This bug is causing dpdk build failures on my fedora 22 machine:

git clone git://dpdk.org/dpdk
cd dpdk
make config T=x86_64-native-linuxapp-gcc
make

[...]
.../dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:1193:35: error: array
subscript is above array bounds [-Werror=array-bounds]
      internal_config.hugepage_info[j].hugepage_sz) {
                                   ^
.../dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:1198:34: error: array
subscript is above array bounds [-Werror=array-bounds]
     internal_config.hugepage_info[j].num_pages[socket]++;
                                  ^
.../dpdk/lib/librte_eal/linuxapp/eal/eal_memory.c:1198:34: error: array
subscript is above array bounds [-Werror=array-bounds]
[...]

(fix is to disable -Werror, but it I had no problems with fedora 22 (gcc
4.9.2))

Reply via email to