Bug ID 1133099
Summary LTO: rdma-core build fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Fails due to:

[   17s] : && /usr/bin/cc -fPIC -fmessage-length=0 -grecord-gcc-switches -O2
-Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -flto=160 -g -DNDEBUG
-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes
-Wmissing-declarations -Wwrite-strings -Wformat=2 -Wcast-function-type -Wshadow
-Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O3 -DNDEBUG 
-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -Wl,--as-needed
-Wl,--no-undefined  
-Wl,--version-script,/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/libibverbs/libibverbs.map
-shared -Wl,-soname,libibverbs.so.1 -o lib/libibverbs.so.1.5.23.0
libibverbs/CMakeFiles/ibverbs.dir/all_providers.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_ah.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_counters.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_cq.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_device.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_dm.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_fallback.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_flow.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_flow_action.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_ioctl.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_mr.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_mw.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_pd.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_rwq_ind.c.o
libibverbs/CMakeFiles/ibverbs.dir/cmd_xrcd.c.o
libibverbs/CMakeFiles/ibverbs.dir/compat-1_0.c.o
libibverbs/CMakeFiles/ibverbs.dir/device.c.o
libibverbs/CMakeFiles/ibverbs.dir/dummy_ops.c.o
libibverbs/CMakeFiles/ibverbs.dir/dynamic_driver.c.o
libibverbs/CMakeFiles/ibverbs.dir/enum_strs.c.o
libibverbs/CMakeFiles/ibverbs.dir/init.c.o
libibverbs/CMakeFiles/ibverbs.dir/marshall.c.o
libibverbs/CMakeFiles/ibverbs.dir/memory.c.o
libibverbs/CMakeFiles/ibverbs.dir/neigh.c.o
libibverbs/CMakeFiles/ibverbs.dir/static_driver.c.o
libibverbs/CMakeFiles/ibverbs.dir/sysfs.c.o
libibverbs/CMakeFiles/ibverbs.dir/verbs.c.o  ccan/libccan_pic.a
util/librdma_util_pic.a -lnl-route-3 -lnl-3 -lpthread -ldl
kernel-headers/libkern-abi.a && :
[   17s] ../libibverbs/verbs.c: In function 'ibv_resolve_eth_l2_from_gid':
[   17s] ../libibverbs/verbs.c:1040:8: warning: 'ret_vid' may be used
uninitialized in this function [-Wmaybe-uninitialized]
[   17s]  1040 |   *vid = ret_vid;
[   17s]       |        ^
[   17s] ../libibverbs/verbs.c:976:11: note: 'ret_vid' was declared here
[   17s]   976 |  uint16_t ret_vid;
[   17s]       |           ^
[   17s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/libibverbs.so.1.5.23.0.Z9fe9e.ltrans0.ltrans.o: in function
`ibv_resolve_eth_l2_from_gid':
[   17s]
/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/../libibverbs/verbs.c:980:
undefined reference to `ibv_query_gid'
[   17s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/libibverbs.so.1.5.23.0.Z9fe9e.ltrans0.ltrans.o: in function
`ibv_init_ah_from_wc':
[   17s]
/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/../libibverbs/verbs.c:720:
undefined reference to `ibv_query_gid'
[   17s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/../libibverbs/verbs.c:720:
undefined reference to `ibv_query_gid'
[   17s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/libibverbs.so.1.5.23.0.Z9fe9e.ltrans0.ltrans.o: in function
`ibv_create_ah_from_wc':
[   17s]
/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/../libibverbs/verbs.c:904:
undefined reference to `ibv_create_ah'
[   17s]
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
/tmp/libibverbs.so.1.5.23.0.Z9fe9e.ltrans0.ltrans.o: in function
`verbs_open_device':
[   17s]
/home/abuild/rpmbuild/BUILD/rdma-core-23.0.43adee5e3196/build/../libibverbs/device.c:315:
undefined reference to `ibv_query_port'

The package uses symbol versioning:
https://en.opensuse.org/openSUSE:LTO#Symbol_versioning


You are receiving this mail because: