-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
CSL_jll: Fix libatomic
path for FreeBSD
#57811
Conversation
if !Sys.isfreebsd() | ||
export libatomic | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I already said in #57808 (comment), I'm confused: libatomic is in https://github.com/JuliaBinaryWrappers/CompilerSupportLibraries_jll.jl/releases/download/CompilerSupportLibraries-v1.3.1%2B0/CompilerSupportLibraries.v1.3.1.x86_64-unknown-freebsd-libgfortran5.tar.gz. I'm not convinced this the right solution, feels to me like libatomic is getting lost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard-coding the wrong soname would do that:
julia/stdlib/CompilerSupportLibraries_jll/src/CompilerSupportLibraries_jll.jl
Lines 44 to 46 in 7ee404c
if !Sys.isfreebsd() | |
const _libatomic_path = BundledLazyLibraryPath("libatomic.so.1") | |
end |
libatomic.so.3
, not libatomic.so.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing that out @giordano , I think you're right.
This is required to avoid introducing a name / binding in the Module without a corresponding definition.
b5ac01a
to
0244c96
Compare
libatomic
libatomic
path for FreeBSD
Yes, when manually putting these files together, I must have searched for the presence of |
This is required to avoid introducing a name / binding in the Module without a corresponding definition.
Resolves #57808