kaniini / libucontext

ucontext implementation featuring glibc-compatible ABI
Other
106 stars 41 forks source link

Fails to compile with clang on arm #19

Closed kraj closed 4 years ago

kraj commented 4 years ago

asm is not following unified syntax perhaps, I am seeing following errors when compiling with clang on rpi3

| arch/arm/getcontext.S:27:6: error: unexpected token in '.end' directive
| .end __getcontext; .size __getcontext,.-__getcontext;
|      ^
| arch/arm/setcontext.S:26:6: error: unexpected token in '.end' directive
| .end __setcontext; .size __setcontext,.-__setcontext;
|      ^
| make: *** [Makefile:36: arch/arm/getcontext.o] Error 1
| make: *** Waiting for unfinished jobs....
| make: *** [Makefile:36: arch/arm/setcontext.o] Error 1
| arch/arm/swapcontext.S:30:6: error: unexpected token in '.end' directive
| .end __swapcontext; .size __swapcontext,.-__swapcontext;
|      ^
| make: *** [Makefile:36: arch/arm/swapcontext.o] Error 1
kaniini commented 4 years ago

Closed in #20.