Skip to content

ASAN: debug build fails #47698

Closed
Closed
@maleadt

Description

Trying to make a debug build of Julia under ASAN I'm running into:

ERROR: Unable to load dependent library libjulia-internal-debug.so.1
Message: libjulia-internal-debug.so.1: undefined symbol: __libc_siglongjmp

Use of this symbol was introduced by @Keno in #46336, and is intended to bypass the ASAN hook and directly call siglongjmp from glibc. I'm not sure why it isn't working; @vtjnash commented that this symbol has been named like that for 25 years. Disabling the redefinition and just using siglongjmp works around the compilation error.

objdump output:

objdump -t libjulia-internal-debug.so.1 | grep siglong
0000000000000000       F *UND*  0000000000000000              siglongjmp@GLIBC_2.2.5
0000000000000000         *UND*  0000000000000000              __libc_siglongjmp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions