Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

undefined reference to `__dso_handle' #1497

@calmsacibis995

Description

@calmsacibis995

Building ksh93 under Artix Linux fails with this error:

/usr/bin/ld: /usr/lib/libc_nonshared.a(atexit.oS): in function 'atexit':
(.text+0x7): undefined reference to '__dso_handle'

/usr/bin/ld: /usr/lib/libc_nonshared.a(atexit.oS): relocation R_X86_64_PC32 against undefined hidden symbol '__dso_handle' can not be used when making a shared object

/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

Is there a fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions