Project

General

Profile

Actions

Bug #38790

open

mimic: In function ‘rte_table_hash_cuckoo_create’: incompatible pointer type ‘rte_table_hash_op_hash’

Added by Brad Hubbard about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

== Build lib/librte_table
  CC rte_table_hash_cuckoo.o
/home/brad/working/src/ceph/src/spdk/dpdk/lib/librte_table/rte_table_hash_cuckoo.c: In function ‘rte_table_hash_cuckoo_create’:                                                                                                             
/home/brad/working/src/ceph/src/spdk/dpdk/lib/librte_table/rte_table_hash_cuckoo.c:139:16: error: initialization of ‘uint32_t (*)(const void *, uint32_t,  uint32_t)’ {aka ‘unsigned int (*)(const void *, unsigned int,  unsigned int)’} fro
m incompatible pointer type ‘rte_table_hash_op_hash’ {aka ‘long unsigned int (*)(void *, void *, unsigned int,  long unsigned int)’} [-Werror=incompatible-pointer-types]                                                                   
   .hash_func = p->f_hash,
                ^
/home/brad/working/src/ceph/src/spdk/dpdk/lib/librte_table/rte_table_hash_cuckoo.c:139:16: note: (near initialization for ‘hash_cuckoo_params.hash_func’)                                                                                   
cc1: all warnings being treated as errors

$ git describe
v13.2.5
$ g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)

No data to display

Actions

Also available in: Atom PDF