conda-forge / rust-activation-feedstock

A conda-smithy repository for rust-activation.
BSD 3-Clause "New" or "Revised" License
0 stars 18 forks source link

Missing run-export on libgcc-ng on linux #51

Open h-vetinari opened 5 months ago

h-vetinari commented 5 months ago

As seen in https://github.com/conda-forge/staged-recipes/pull/26081, where it was necessary to add {{ compiler("c") }} just to get its run-export on libgcc-ng.

If rust-compiled binaries end up needing libgcc_s.so.1, we should add the run-export here.

isuruf commented 5 months ago

We don't know what version of libgcc_s.so the rust compiler will use, so we don't know what the run_exports minimum version should be. Need some sort of transitive dependency run_exports.

h-vetinari commented 5 months ago

The SOVERSIONs of the libraries in libgcc-ng haven't changed since at least GCC 8, down to the patch level. They're not as sensitive to the runtime version as libstdcxx, so AFAICT we should be fine with libgcc-ng >= 11.4, i.e. the minimal GCC version we're still building.

It would IMO be an improvement over the current situation.