Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop hardcoding libc soname #32

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Stop hardcoding libc soname #32

merged 1 commit into from
Dec 13, 2024

Conversation

martinpitt
Copy link
Collaborator

@martinpitt martinpitt commented Dec 12, 2024

ia64/alpha has SONAME "libc.so.6.1"

None works because Python is linked against libc, so the symbol is already in our address space.

See cockpit-project/cockpit#21396

@martinpitt
Copy link
Collaborator Author

There are no porter boxes for these two arches. I tested this on x86 by flipping the imports, i.e. trying to import 6.1 first.

@allisonkarlitskaya
Copy link
Owner

ia64 and alpha? srsly?

src/ferny/session.py Outdated Show resolved Hide resolved
ia64/alpha has SONAME "libc.so.6.1"

`None` works because Python is linked against libc, so the symbol is
already in our address space.

See cockpit-project/cockpit#21396
@martinpitt
Copy link
Collaborator Author

ia64 got scrapped, but alpha is still a thing ...

Thanks for the hint! Done.

@martinpitt martinpitt changed the title Support libc.so.6.1 Stop hardcoding libc soname Dec 13, 2024
@allisonkarlitskaya allisonkarlitskaya merged commit c8713c4 into main Dec 13, 2024
9 checks passed
@martinpitt martinpitt deleted the alpha branch December 13, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants