I am attempting to package ecl for alpine linux and I am having troubles compiling against musl. 

Building ecl_min...

.//libeclgc.a(mach_dep.o): In function `GC_with_callee_saves_pushed':

/root/ecl-16.1.3/src/bdwgc/mach_dep.c:245: undefined reference to `getcontext'

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:224: ecl_min] Error 1

make[1]: Leaving directory '/root/ecl-16.1.3/build'

make: *** [Makefile:72: all] Error 2

I tried `make CFLAGS='-DNO_GETCONTEXT'`​ but that did not work either.

Has anyone successfully built ecl using musl?