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

Revert "[CompilerSupportLibraries_jll] Add libssp for more platforms (#48027)" #48200

Closed
wants to merge 1 commit into from

Conversation

giordano
Copy link
Contributor

@giordano giordano commented Jan 9, 2023

I wouldn't know what else to do with this. Fixes #48177.

@@ -63,7 +59,7 @@ function __init__()
global libstdcxx_path = dlpath(libstdcxx_handle)
global libgomp_handle = dlopen(libgomp)
global libgomp_path = dlpath(libgomp_handle)
@static if libc(HostPlatform()) != "musl"
if Sys.iswindows()
global libssp_handle = dlopen(libssp)
Copy link
Contributor

@t-bltg t-bltg Jan 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, one could maybe use something like:

@static if libc(HostPlatform()) != "musl"
    global libssp_handle = dlopen(libssp; throw_error = false)
    global libssp_path = libssp_handle === nothing ? nothing : dlpath(libssp_handle)
end

in __init__, making the absence of libssp non-fatal.

EDIT: implemented in #48333.

@vtjnash vtjnash closed this Jan 22, 2023
@giordano giordano deleted the mg/csl-de-ssp branch January 22, 2023 07:48
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.

julia 1.8.5 - could not load library "libssp.so.0" (linux)
3 participants