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

musl and RTLD_DEEPBIND #4245

Open
Fabian-Gruenbichler opened this issue Jan 16, 2025 · 1 comment
Open

musl and RTLD_DEEPBIND #4245

Fabian-Gruenbichler opened this issue Jan 16, 2025 · 1 comment
Labels
C-bug Category: bug

Comments

@Fabian-Gruenbichler
Copy link

libc defines RTLD_DEEPBIND for two musl target envs:

src/unix/linux_like/linux/musl/b64/s390x.rs:pub const RTLD_DEEPBIND: c_int = 0x8;
src/unix/linux_like/linux/musl/b32/riscv32/mod.rs:pub const RTLD_DEEPBIND: c_int = 0x8;

I can't find a definition of that constant in musl's sources, so I suspect it might have been wrongly copied over from somewhere that does have it (like glibc).

since I don't really have a clue about musl, I'll leave the rest to you ;)

this was prompted by rust-lang/rust#135591

@Fabian-Gruenbichler Fabian-Gruenbichler added the C-bug Category: bug label Jan 16, 2025
@Fabian-Gruenbichler
Copy link
Author

related PR moved to rust-analyzer: rust-lang/rust-analyzer#18981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant