sb-thread fails to build on openbsd due to missing pthread_getattr_np

Bug #1429517 reported by Stephen Hassard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

I tried to build sbcl-1.2.9 --fancy on openbsd 5.6 and it fails while building sb-thread due to a missing function "pthread_getattr_np".

It's easily hacked around by adding the following line to "bsd-os.h" within the __OpenBSD__ section:

#define pthread_getattr_np pthread_stackseg_np

That seems like a horrible hack, but gets sb-thead to build and run again.

Thanks!

Revision history for this message
Stas Boukarev (stassats) wrote :

In 25f4603eb9d997463a1de6155c05a3cc7fddb6c2

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
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.