ucx fails to build with -fPIC passed to configure
cd /home/cb88/rocm_sdk_builder/builddir/015_01_ucx_openmpi ucx, config command 3 /home/cb88/rocm_sdk_builder/src_projects/ucx/configure --prefix=/opt/rocm_sdk_612 --libdir=/opt/rocm_sdk_612/lib64 --with-rocm=/opt/rocm_sdk_612 --enable-mt -fPIC --enable-cma --with-java=no --with-go=no configure: error: unrecognized option: '-fPIC'
Seems this SHOULD be part of its CFLAGS but I appears this is not the correct option to pass to ./configure maybe --enable-pic ?
https://github.com/openucx/ucx/issues/7955
removed -fPIC and build with --without-bfd seems to get it building not sure its correct but it seems building with bfd is not supported on Arch.
@cb88 so curious about your use case - directstorage/networking??
its just part of ROCm I'm not building anything myself that uses it... but its required as a dep.
So you got the ucx working? The reason I have ucc/ucx/slurm/openmpi is that they will enable you to do applications with multiple GPU's on same or different machine communicating with each others for ML purposes.
I will soon propably update the ucc/ucx/slurm/openmpi versions to latest releases.
I built completely yes, it at least I did not test anything beyond that, its just a build failure I ran into on Arch so..... was looking for how to fix it to continue building the rest of the SDK etc...
I updated to your latest ucx commit and tried building it without my changes but it still failed, I had to add --without-bfd to the configure arguments in the binfo file.