Closed kloczek closed 4 years ago
Duplicate of #44
The patch for this should be in the next release of libpsm.
We aren't going to change the tag format, however, because we use that tag format internally as part of our build automation.
What about add additional tag in new format at the same git hash? :) In that case it shpould be no colision :P
Reopening. There seem to be more issues with recent GCC 10 snapshots than are handled by pull request #44 including additional "extern" requirements, changes to the linking step, and problems with the resulting PSM library code.
Okay - we've discovered some extensive issues with CUDA support and GCC 10. They can't be quickly resolved, and since GCC 10 isn't yet released, we have time to study the issue, particularly since we see similar issues in other components that a user of PSM2 would need.
Looks like 11.2.156 again has -fcommon
issue:
gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -pthread -Wall -Werror -mavx2 -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -O3 -g3 -DNVIDIA_GPU_DIRECT -fpic -fPIC -D_GNU_SOURCE -funwind-tables -Wno-strict-aliasing -Wformat-security -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/include -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/mpspawn -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/include/linux-x86_64 -I/usr/include/uapi -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156 -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/ptl_ips -I/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/_revision.c -o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/_revision.o
gcc -Wl,--version-script /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm2_linker_script.map -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libpsm2.so.2.2 -Wl,-soname=libpsm2.so.2 -shared \
/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/ptl.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/cmarwu.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_cuda_memhandle_cache.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_context.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep_connect.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_error.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_utils.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_sysbuf.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_timer.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_am.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_utils.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_recv.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mpool.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_stats.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_memcpy.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mock.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_perf.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/psm_uuid.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/parse.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/pack.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unpack.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unparse.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl_rcvthread.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_scb.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_epstate.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvq.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvhdrq.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_recv.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_connect.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_expected.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tid.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidcache.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidflow.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_crc32.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_dump.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_mq.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_am.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_path_rec.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_opp_path_rec.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_writehdrq.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_self/ptl.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/opa/*.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_diags.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm2_hal.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_hal_gen1/*.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psmi_wrappers.o /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/_revision.o -lrt -ldl -lnuma -pthread
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep.o (symbol from plugin): in function `psmi_amsh_am_short_request':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep.o (symbol from plugin): in function `psmi_amsh_am_short_request':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/ptl.o (symbol from plugin): in function `psmi_am_mq_handler':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/ptl.o (symbol from plugin): in function `psmi_am_mq_handler':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/cmarwu.o (symbol from plugin): in function `cma_get':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/cmarwu.o (symbol from plugin): in function `cma_get':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_context.o (symbol from plugin): in function `psmi_context_interrupt_set':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_context.o (symbol from plugin): in function `psmi_context_interrupt_set':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep.o (symbol from plugin): in function `psmi_opened_endpoint':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep.o (symbol from plugin): in function `psmi_opened_endpoint':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep_connect.o (symbol from plugin): in function `__psm2_ep_connect':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_ep_connect.o (symbol from plugin): in function `__psm2_ep_connect':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_error.o (symbol from plugin): in function `__psm2_error_defer':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_error.o (symbol from plugin): in function `__psm2_error_defer':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_utils.o (symbol from plugin): in function `psmi_epid_itor_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_utils.o (symbol from plugin): in function `psmi_epid_itor_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_sysbuf.o (symbol from plugin): in function `psmi_mq_sysbuf_fini':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_sysbuf.o (symbol from plugin): in function `psmi_mq_sysbuf_fini':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_timer.o (symbol from plugin): in function `psmi_timer_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_timer.o (symbol from plugin): in function `psmi_timer_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_am.o (symbol from plugin): in function `psmi_abort_handler':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_am.o (symbol from plugin): in function `psmi_abort_handler':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq.o (symbol from plugin): in function `psmi_mq_fastpath_disable':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq.o (symbol from plugin): in function `psmi_mq_fastpath_disable':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_utils.o (symbol from plugin): in function `psmi_mq_req_alloc':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_utils.o (symbol from plugin): in function `psmi_mq_req_alloc':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_recv.o (symbol from plugin): in function `psmi_mq_handle_rts_complete':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mq_recv.o (symbol from plugin): in function `psmi_mq_handle_rts_complete':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mpool.o (symbol from plugin): in function `psmi_mpool_create_inner':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mpool.o (symbol from plugin): in function `psmi_mpool_create_inner':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_stats.o (symbol from plugin): in function `psmi_stats_register_type':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_stats.o (symbol from plugin): in function `psmi_stats_register_type':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_memcpy.o (symbol from plugin): in function `psmi_memcpyo':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_memcpy.o (symbol from plugin): in function `psmi_memcpyo':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mock.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_mock.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm.o (symbol from plugin): in function `psmi_verno_client':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm.o (symbol from plugin): in function `psmi_verno_client':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/psm_uuid.o (symbol from plugin): in function `__psm2_uuid_generate':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/psm_uuid.o (symbol from plugin): in function `__psm2_uuid_generate':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/parse.o (symbol from plugin): in function `uuid_parse':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/parse.o (symbol from plugin): in function `uuid_parse':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/pack.o (symbol from plugin): in function `uuid_pack':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/pack.o (symbol from plugin): in function `uuid_pack':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unpack.o (symbol from plugin): in function `uuid_unpack':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unpack.o (symbol from plugin): in function `uuid_unpack':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unparse.o (symbol from plugin): in function `uuid_unparse_lower':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libuuid/unparse.o (symbol from plugin): in function `uuid_unparse_lower':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl.o (symbol from plugin): in function `ips_ptl_epaddr_stats_get':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl.o (symbol from plugin): in function `ips_ptl_epaddr_stats_get':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl_rcvthread.o (symbol from plugin): in function `ips_ptl_rcvthread_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ptl_rcvthread.o (symbol from plugin): in function `ips_ptl_rcvthread_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_scb.o (symbol from plugin): in function `ips_scbctrl_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_scb.o (symbol from plugin): in function `ips_scbctrl_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_epstate.o (symbol from plugin): in function `ips_epstate_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_epstate.o (symbol from plugin): in function `ips_epstate_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvq.o (symbol from plugin): in function `ips_recvq_egrbuf_table_alloc':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvq.o (symbol from plugin): in function `ips_recvq_egrbuf_table_alloc':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvhdrq.o (symbol from plugin): in function `ips_recvhdrq_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_recvhdrq.o (symbol from plugin): in function `ips_recvhdrq_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_recv.o (symbol from plugin): in function `ips_proto_process_becn':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_recv.o (symbol from plugin): in function `ips_proto_process_becn':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_connect.o (symbol from plugin): in function `ips_proto_build_connect_message':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_connect.o (symbol from plugin): in function `ips_proto_build_connect_message':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_expected.o (symbol from plugin): in function `ips_protoexp_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_expected.o (symbol from plugin): in function `ips_protoexp_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tid.o (symbol from plugin): in function `ips_tid_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tid.o (symbol from plugin): in function `ips_tid_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidcache.o (symbol from plugin): in function `ips_tidcache_map_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidcache.o (symbol from plugin): in function `ips_tidcache_map_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidflow.o (symbol from plugin): in function `ips_tf_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_tidflow.o (symbol from plugin): in function `ips_tf_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_crc32.o (symbol from plugin): in function `ips_crc_calculate':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_crc32.o (symbol from plugin): in function `ips_crc_calculate':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_dump.o (symbol from plugin): in function `ips_proto_dump_frame':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_dump.o (symbol from plugin): in function `ips_proto_dump_frame':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_mq.o (symbol from plugin): in function `ips_proto_msg_size_thresh_query':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_mq.o (symbol from plugin): in function `ips_proto_msg_size_thresh_query':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_am.o (symbol from plugin): in function `ips_proto_am_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_proto_am.o (symbol from plugin): in function `ips_proto_am_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_path_rec.o (symbol from plugin): in function `ips_ibta_init_sl2sc_table':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_path_rec.o (symbol from plugin): in function `ips_ibta_init_sl2sc_table':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_opp_path_rec.o (symbol from plugin): in function `ips_opp_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_opp_path_rec.o (symbol from plugin): in function `ips_opp_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_writehdrq.o (symbol from plugin): in function `ips_writehdrq_init':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_ips/ips_writehdrq.o (symbol from plugin): in function `ips_writehdrq_init':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_self/ptl.o (symbol from plugin): in function `psmi_ptl_self':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_self/ptl.o (symbol from plugin): in function `psmi_ptl_self':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/opa/opa_dwordcpy-x86_64.o (symbol from plugin): in function `hfi_dwordcpy_safe':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/opa/opa_dwordcpy-x86_64.o (symbol from plugin): in function `hfi_dwordcpy_safe':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_diags.o (symbol from plugin): in function `psmi_diags':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_diags.o (symbol from plugin): in function `psmi_diags':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm2_hal.o (symbol from plugin): in function `psmi_hal_register_instance':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm2_hal.o (symbol from plugin): in function `psmi_hal_register_instance':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_hal_gen1/psm_hal_gen1.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_cpu_model'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/psm_hal_gen1/psm_hal_gen1.o (symbol from plugin): in function `psmi_cpu_model':
(.text+0x0): multiple definition of `psmi_errhandler_global'; /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/ptl_am/am_reqrep_shmem.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:596: /home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156/build_release/libpsm2.so.2.2] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/opa-psm2-PSM2_11.2.156'
make: *** [Makefile:300: all] Error 2
With the release of gcc 10.1, I was able to build the latest gcc 10.1 and fix all the warnings/errors in both the cuda and non-cuda builds. The changes should appear in a future release.
Temporary woraround of course is to add -fcommon to CFLAGS.
If may I ask as well to change tagging pattern to just version. current one
psm2_<bersion>
is causing that autogenerated by git tar balls from git tags haveopa-psm2-psm2_<version>/
directory as git automatically adds to tag repo name. Please use just<version>
:)