Fails to compile with clang on arm #19

Closed
opened 2020-04-10 17:56:24 +00:00 by kraj · 1 comment
kraj commented 2020-04-10 17:56:24 +00:00 (Migrated from github.com)

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
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 ```

Closed in #20.

Closed in #20.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/libucontext#19
There is no content yet.