Does not compile or run with musl libc

Bug #1768368 reported by Eric Timmons on 2018-05-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

SBCL does not compile or run on OSes using musl libc. There is a compile time error for the sb-bsd-sockets contrib because NETDB_INTERNAL and NETDB_SUCCESS are not defined. There is a runtime error because musl does not put any content in _CS_GNU_LIBPTHREAD_VERSION so the isnptl() check fails. Last, musl's dlclose is a noop (by design) so some regression tests in foreign.test.sh fail.

The attached patch is a proposed fix.

Eric Timmons (daewok) wrote :

Accidentally uploaded an older version of the patch. This patch is my actual proposed fix.

Eric Timmons (daewok) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers