Solaris compilation Failure: fatal error: sys/mcontext.h: No such file or directory
Bug #1881393 reported by
Shawn Ellis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The compilation fails when building sbcl-2.0.4 on Solaris because mcontext.h doesn't exist. I'm able to reproduce this problem on Solaris 10 and 11. I've attached a patch that removes mcontext.h and everything builds cleanly.
gcc -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_
x86-64-
#include <sys/mcontext.h>
compilation terminated.
gmake: *** [<builtin>: x86-64-sunos-os.o] Error 1
How to Reproduce:
1. sh ./make.sh on Solaris
SunOS epinard 5.11 11.4.0.15.0 i86pc i386 i86pc
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
That include is there for a reason, simply removing it might break other OS configurations.