Skip to content

Conversation

@Honggang-LI
Copy link
Contributor

Fix two compilation issues for Fedora 32, which has gcc-10.0.1-0.7.fc32.x86_64 and rdma-core-28.0-2.fc32.x86_64 . gcc-10 emits an duplicate definition issue. The umad.h for rdma-core-28 no longer provides C Macro 'UMAD_DEV_DIR'.

gcc -fpic -o ibsim sim_net.o sim_mad.o sim_cmd.o ibsim.o -L/usr/lib64 -libmad -libumad
/usr/bin/ld: ibsim.o:(.bss+0x8): multiple definition of `simverb'; sim_net.o:(.bss+0x0): first defined here

Signed-off-by: Honggang Li <honli@redhat.com>
Upstream rdma-core commit 69c3e4cbbcc7fe3f9831945c66debb7fa546f87b
delete Macro UMAD_DEV_DIR from header umad.h .

Signed-off-by: Honggang Li <honli@redhat.com>
@rleon rleon merged commit 0c050c1 into linux-rdma:master Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants