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?