Skip to content

rebuild required for Rust/1.91.1-GCCcore-14.3.0, due to incorrect RPATH section in binaries #1523

@boegel

Description

@boegel

The libstdc++.so.6 from the compat layer is picked up, which happens to work out, but it's actually wrong, it should be coming from the GCCcore dependency:

 $ which rustc
/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen2/software/Rust/1.91.1-GCCcore-14.3.0/bin/rustc

$ readelf -d $(which rustc) | grep RPATH
 0x000000000000000f (RPATH)              Library rpath: [$ORIGIN/../lib]

$ ldd $(which rustc) | grep libstdc
        libstdc++.so.6 => /cvmfs/software.eessi.io/versions/2025.06/compat/linux/x86_64/usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 (0x000014f633e00000)

For older Rust versions it's correct:

$ ldd /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen2/software/Rust/1.88.0-GCCcore-14.3.0/bin/rustc | grep libstdc
        libstdc++.so.6 => /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/amd/zen2/software/GCCcore/14.3.0/lib64/../lib64/libstdc++.so.6 (0x000014b5df200000)

see also:

Metadata

Metadata

Assignees

Labels

2025.06-software.eessi.io2025.06 version of software.eessi.iobugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions