conda-forge.github.io icon indicating copy to clipboard operation
conda-forge.github.io copied to clipboard

try to document c_stdlib_version in knowledge base

Open minrk opened this issue 1 year ago • 4 comments

I tried to write down my understanding of the consequences of using a newer c_stdlib_version than the default, since this seems to be tripping up some folks (myself included). Please correct anything that's not right.

The gist I tried to get across:

  • c_stdlib_version is not a transitive dependency, but you need to make sure $LDFLAGS are respected. Mention -Wl,--allow-shlib-undefined by name.
  • old c_stdlib_version 2.12 is still the default both within conda-forge and for users at runtime. c-compiler/gcc_linux-64 set $LDFLAGS on activation, not gcc, which is relevant for user compilation outside conda-build.

Related issues:

  • https://github.com/conda-forge/linux-sysroot-feedstock/issues/63
  • https://github.com/conda-forge/openmpi-feedstock/issues/143

minrk avatar Jun 19 '24 08:06 minrk

Deploy Preview for conda-forge-previews ready!

Name Link
Latest commit c05bab6a41722974530a085e182aa5be3e827aac
Latest deploy log https://app.netlify.com/sites/conda-forge-previews/deploys/66ab497ebad02600084879ef
Deploy Preview https://deploy-preview-2206--conda-forge-previews.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jun 19 '24 08:06 netlify[bot]

@h-vetinari if you have spare cycle, could you help review this? I'm afraid I lack the expertise 😬 Thanks! 🙏

jaimergp avatar Jul 11 '24 08:07 jaimergp

@h-vetinari if you have spare cycle, could you help review this? I'm afraid I lack the expertise 😬 Thanks! 🙏

I think this PR (and the docs generally) need an update now that cos7 has become the default. It's still reasonable to keep the content the same (modulo the exact name of the missing symbols), because the situation will be the same with 2.17 -> 2.28

h-vetinari avatar Jul 11 '24 09:07 h-vetinari