[Openmcl-devel] Illegal Instruction in CCL 1.11.5 on Musl Libc
Will Sinatra
wpsinatra at gmail.com
Sun Dec 15 07:12:03 PST 2019
Hello All,
I'm trying to get CCL packaged for Alpine Linux, and have had some
success, but ended up hitting a bit of a wall.
I'm able to get an lx86cl64 image to compile, however when I go to run
it I get an illegal instruction error, when I run the newly compiled
binary through gdb it provides:
Program received signal SIGILL, Illegal instruction.
remap_spjump () at ../pmcl-kernel.c:1568
1568 memmove(new, old, 0x1000);
My patches thus far are based off of Void Linux's build of CCL; which
to my understanding works. Could anyone potentially suggest what might
be the cause of the illegal instruction error? I'm thinking it might
be one of the patches that were applied, or some nuance in musl libc
that I'm not familiar with.
The patches I applied can be found here:
https://gitlab.com/Durrendal/WS-Alpine-Packages/blob/master/testing/ccl/void-musl-patches.patch
https://gitlab.com/Durrendal/WS-Alpine-Packages/blob/master/testing/ccl/void-nopie.patch
More information about the Openmcl-devel
mailing list