Skip to content

Build failure: Linker error with librmm.so in cumlprims_mg build #6687

@csadorf

Description

@csadorf

The build is failing in the nightly wheel-build-libcuml pipeline when linking the libcumlprims_mg.so shared library. The error occurs due to an architecture mismatch with the RMM library.

Failing jobs: https://github.com/rapidsai/cuml/actions/runs/14968298841/job/42043231857#step:11:673

Environment

  • CUDA: 11.8.0
  • Python: 3.13
  • OS: Rocky Linux 8
  • Architecture: arm64
  • Compiler: GCC 11 (gcc-toolset-11)
  • Build System: CMake/Ninja

Build Details

The build fails during the linking phase of libcumlprims_mg.so with the following error:

/opt/rh/gcc-toolset-11/root/usr/bin/ld: /pyenv/versions/3.13.3/lib/python3.13/site-packages/librmm/lib64/librmm.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status

The error occurs when trying to link against the RMM library, suggesting an architecture mismatch between the build target (arm64) and the installed RMM library.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingci

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions