Project

General

Profile

Actions

Bug #54473

closed

cmake: pmdk fails to compile on Centos Stream 9

Added by Justin Caratzas about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
librbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When attempting to build Ceph master on Centos Stream 9, pmdk throws this error:

/usr/bin/ld: pmemblk_priv_funcs.o (symbol from plugin): in function `_Malloc':
(.text+0x0): multiple definition of `_Malloc'; ../nondebug/libpmempool/alloc.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: pmemblk_priv_funcs.o (symbol from plugin): in function `_Malloc':
(.text+0x0): multiple definition of `fn_malloc'; ../nondebug/libpmempool/alloc.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: pmemblk_priv_funcs.o (symbol from plugin): in function `_Malloc':
(.text+0x0): multiple definition of `_Realloc'; ../nondebug/libpmempool/alloc.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: pmemblk_priv_funcs.o (symbol from plugin): in function `_Malloc':
(.text+0x0): multiple definition of `fn_realloc'; ../nondebug/libpmempool/alloc.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: pmemblk_priv_funcs.o (symbol from plugin): in function `_Malloc':
(.text+0x0): multiple definition of `set_func_malloc'; ../nondebug/libpmempool/alloc.o (symbol from plugin):(.text+0x0): first defined here

partial traceback attached and the full Jenkins CI job log can be found here:
https://jenkins.ceph.com/job/ceph-dev-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos9,DIST=centos9,MACHINE_SIZE=gigantic/49035/consoleFull#-85362248744e9240e-b50a-4693-bac0-8a991bac86ac


Files

ceph jenkins pmdk failure.txt (73 KB) ceph jenkins pmdk failure.txt Justin Caratzas, 03/04/2022 03:06 PM

Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #55560: pacific: cmake: pmdk fails to compile on Centos Stream 9ResolvedIlya DryomovActions
Copied to Ceph - Backport #55561: quincy: cmake: pmdk fails to compile on Centos Stream 9ResolvedIlya DryomovActions
Actions

Also available in: Atom PDF