Does not compile or run with musl libc

Bug #1768368 reported by Eric Timmons
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
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.

Revision history for this message
Eric Timmons (daewok) wrote :

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

Revision history for this message
Eric Timmons (daewok) wrote :
Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.