Package: src:libfabric
Version: 1.17.0-3
Severity: serious
Tags: sid trixie
libfabric ftbfs at least on i386, there might be more follow-up errors:
[...]
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./include -D_GNU_SOURCE -D__USE_XOPEN2K8 -DSYSCONFDIR=\"/etc\"
-DRDMADIR=\"@rdmadir@\"
-DPROVDLDIR=\"/usr/lib/i386-linux-gnu/libfabric\"
-I./prov/sockets/include -I./prov/sockets -I./prov/verbs/include
-I./prov/verbs/include/linux -I./prov/verbs/src/ep_rdm
-I./prov/verbs/src/ep_dgram -I./prov/hook/include
-I./prov/hook/perf/include -I./prov/hook/hook_debug/include
-I./prov/hook/hook_hmem/include -I./prov/hook/dmabuf_peer_mem/include
-Wdate-time -D_FORTIFY_SOURCE=3 -Wall -O2 -DNDEBUG -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libfabric-1.17.0-3build3 -c
-o prov/hook/src/src_libfabric_la-hook_ep.lo `test -f
'prov/hook/src/hook_ep.c' || echo './'`prov/hook/src/hook_ep.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -D_GNU_SOURCE
-D__USE_XOPEN2K8 -DSYSCONFDIR=\"/etc\" -DRDMADIR=\"@rdmadir@\"
-DPROVDLDIR=\"/usr/lib/i386-linux-gnu/libfabric\"
-I./prov/sockets/include -I./prov/sockets -I./prov/verbs/include
-I./prov/verbs/include/linux -I./prov/verbs/src/ep_rdm
-I./prov/verbs/src/ep_dgram -I./prov/hook/include
-I./prov/hook/perf/include -I./prov/hook/hook_debug/include
-I./prov/hook/hook_hmem/include -I./prov/hook/dmabuf_peer_mem/include
-Wdate-time -D_FORTIFY_SOURCE=3 -Wall -O2 -DNDEBUG -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libfabric-1.17.0-3build3 -c
prov/hook/src/hook_cntr.c -o prov/hook/src/src_libfabric_la-hook_cntr.o
>/dev/null 2>&1
In file included from ./include/ofi_util.h:60,
from prov/hook/src/hook_domain.c:36:
./include/ofi_mem.h: In function ‘smr_freestack_init’:
./include/ofi_mem.h:266:53: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
266 | next_aligned_addr = ofi_get_aligned_size((( (uint64_t)
fs) +
| ^
./include/ofi_mem.h:268:54: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
268 | fs->entry_base_offset = next_aligned_addr - ((uint64_t)
fs);
| ^
prov/hook/src/hook_domain.c: In function ‘hook_set_send_handler’:
prov/hook/src/hook_domain.c:124:54: error: passing argument 2 of
‘domain->base_ops_flow_ctrl->set_send_handler’ from incompatible pointer
type [-Wincompatible-pointer-types]
124 |
hook_credit_handler);
|
^~~~~~~~~~~~~~~~~~~
| |
| ssize_t
(*)(struct fid_ep *, size_t) {aka int (*)(struct fid_ep *, unsigned int)}
prov/hook/src/hook_domain.c:124:54: note: expected ‘ssize_t (*)(struct
fid_ep *, uint64_t)’ {aka ‘int (*)(struct fid_ep *, long long unsigned
int)’} but argument is of type ‘ssize_t (*)(struct fid_ep *, size_t)’
{aka ‘int (*)(struct fid_ep *, unsigned int)’}
prov/hook/src/hook_domain.c: At top level:
prov/hook/src/hook_domain.c:150:24: error: initialization of ‘void
(*)(struct fid_ep *, uint64_t)’ {aka ‘void (*)(struct fid_ep *, long
long unsigned int)’} from incompatible pointer type ‘void (*)(struct
fid_ep *, size_t)’ {aka ‘void (*)(struct fid_ep *, unsigned int)’}
[-Wincompatible-pointer-types]
150 | .add_credits = hook_add_credits,
| ^~~~~~~~~~~~~~~~
prov/hook/src/hook_domain.c:150:24: note: (near initialization for
‘hook_ops_flow_ctrl.add_credits’)
prov/hook/src/hook_domain.c:152:29: error: initialization of ‘void
(*)(struct fid_domain *, ssize_t (*)(struct fid_ep *, uint64_t))’ {aka
‘void (*)(struct fid_domain *, int (*)(struct fid_ep *, long long
unsigned int))’} from incompatible pointer type ‘void (*)(struct
fid_domain *, ssize_t (*)(struct fid_ep *, size_t))’ {aka ‘void
(*)(struct fid_domain *, int (*)(struct fid_ep *, unsigned int))’}
[-Wincompatible-pointer-types]
152 | .set_send_handler = hook_set_send_handler,
| ^~~~~~~~~~~~~~~~~~~~~
prov/hook/src/hook_domain.c:152:29: note: (near initialization for
‘hook_ops_flow_ctrl.set_send_handler’)
make[2]: *** [Makefile:23390:
prov/hook/src/src_libfabric_la-hook_domain.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -D_GNU_SOURCE
-D__USE_XOPEN2K8 -DSYSCONFDIR=\"/etc\" -DRDMADIR=\"@rdmadir@\"
-DPROVDLDIR=\"/usr/lib/i386-linux-gnu/libfabric\"
-I./prov/sockets/include -I./prov/sockets -I./prov/verbs/include
-I./prov/verbs/include/linux -I./prov/verbs/src/ep_rdm
-I./prov/verbs/src/ep_dgram -I./prov/hook/include
-I./prov/hook/perf/include -I./prov/hook/hook_debug/include
-I./prov/hook/hook_hmem/include -I./prov/hook/dmabuf_peer_mem/include
-Wdate-time -D_FORTIFY_SOURCE=3 -Wall -O2 -DNDEBUG -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libfabric-1.17.0-3build3 -c
prov/hook/src/hook_cq.c -o prov/hook/src/src_libfabric_la-hook_cq.o
>/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -D_GNU_SOURCE
-D__USE_XOPEN2K8 -DSYSCONFDIR=\"/etc\" -DRDMADIR=\"@rdmadir@\"
-DPROVDLDIR=\"/usr/lib/i386-linux-gnu/libfabric\"
-I./prov/sockets/include -I./prov/sockets -I./prov/verbs/include
-I./prov/verbs/include/linux -I./prov/verbs/src/ep_rdm
-I./prov/verbs/src/ep_dgram -I./prov/hook/include
-I./prov/hook/perf/include -I./prov/hook/hook_debug/include
-I./prov/hook/hook_hmem/include -I./prov/hook/dmabuf_peer_mem/include
-Wdate-time -D_FORTIFY_SOURCE=3 -Wall -O2 -DNDEBUG -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libfabric-1.17.0-3build3 -c
prov/hook/src/hook_ep.c -fPIC -DPIC -o
prov/hook/src/.libs/src_libfabric_la-hook_ep.o
In file included from ./include/ofi.h:53,
from ./prov/hook/include/hook_prov.h:4,
from prov/hook/src/hook_ep.c:35:
./include/ofi_atom.h:76:24: note: the alignment of ‘_Atomic long long
int’ fields changed in GCC 11.1
76 | typedef struct {
\
| ^
./include/ofi_atom.h:363:1: note: in expansion of macro ‘OFI_ATOMIC_DEFINE’
363 | OFI_ATOMIC_DEFINE(64)
| ^~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -D_GNU_SOURCE
-D__USE_XOPEN2K8 -DSYSCONFDIR=\"/etc\" -DRDMADIR=\"@rdmadir@\"
-DPROVDLDIR=\"/usr/lib/i386-linux-gnu/libfabric\"
-I./prov/sockets/include -I./prov/sockets -I./prov/verbs/include
-I./prov/verbs/include/linux -I./prov/verbs/src/ep_rdm
-I./prov/verbs/src/ep_dgram -I./prov/hook/include
-I./prov/hook/perf/include -I./prov/hook/hook_debug/include
-I./prov/hook/hook_hmem/include -I./prov/hook/dmabuf_peer_mem/include
-Wdate-time -D_FORTIFY_SOURCE=3 -Wall -O2 -DNDEBUG -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libfabric-1.17.0-3build3 -c
prov/hook/src/hook_ep.c -o prov/hook/src/src_libfabric_la-hook_ep.o
>/dev/null 2>&1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:8065: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2