conan-io / conan-io/docs

[Discussion] how to model GLIBC version for conan packages

Open
#3,960 44 comments 19 reactions 0 assignees View on GitHub
complex: high component: build priority: high stage: queue
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

To help us debug your issue please explain:

- [ ] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [ ] I've specified the Conan version, operating system version and any tool that can be relevant.
- [ ] I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.

/cc @rdeterre @bc-lee @elizagamedev

this is more generic version of https://github.com/conan-io/conan/issues/3963
related issues:
https://github.com/bincrafters/community/issues/296
https://github.com/bincrafters/community/issues/267

historically, conan didn't model glibc version, relying only on compiler version for binary compatibility checks.
this causes some issues in the past, as binaries compiled with the same compiler weren't compatible across various linux distributions.
for instance, if we compiled libraries or executables via GCC 4.8 on Ubuntu 12.04, these executables and libraries fail to run/link on CentOS 7 machines. same situation with other popular Linux distributions, like RHEL, Fedora, etc.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading issue #3963 and the linked Bincrafters issues #296 and #267 to understand the compatibility cases and prior discussion. The issue does not name a file or test; work is not ready for a first contribution until the GLIBC-version model and its expected compatibility behavior are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.