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 85fc5c9 commit 04f6a38Copy full SHA for 04f6a38
cli/loader_lib.c
@@ -191,11 +191,8 @@ __attribute__((constructor)) void jl_load_libjulia_internal(void) {
191
}
192
void *fptr = lookup_symbol(RTLD_DEFAULT, "jl_get_pgcstack_static");
193
void *(*key)(void) = lookup_symbol(RTLD_DEFAULT, "jl_pgcstack_addr_static");
194
- if (fptr == NULL || key == NULL) {
195
- jl_loader_print_stderr("ERROR: Cannot find jl_get_pgcstack_static(), must define this symbol within calling executable!\n");
196
- exit(1);
197
- }
198
- jl_pgcstack_setkey(fptr, key);
+ if (fptr != NULL && key != NULL)
+ jl_pgcstack_setkey(fptr, key);
199
#endif
200
201
// jl_options must be initialized very early, in case an embedder sets some
0 commit comments