We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba0b7e9 commit 0402dfaCopy full SHA for 0402dfa
cli/loader_lib.c
@@ -239,11 +239,8 @@ __attribute__((constructor)) void jl_load_libjulia_internal(void) {
239
}
240
void *fptr = lookup_symbol(RTLD_DEFAULT, "jl_get_pgcstack_static");
241
void *(*key)(void) = lookup_symbol(RTLD_DEFAULT, "jl_pgcstack_addr_static");
242
- if (fptr == NULL || key == NULL) {
243
- jl_loader_print_stderr("ERROR: Cannot find jl_get_pgcstack_static(), must define this symbol within calling executable!\n");
244
- exit(1);
245
- }
246
- jl_pgcstack_setkey(fptr, key);
+ if (fptr != NULL && key != NULL)
+ jl_pgcstack_setkey(fptr, key);
247
#endif
248
249
// jl_options must be initialized very early, in case an embedder sets some
0 commit comments