Skip to content

Instantly share code, notes, and snippets.

@enedil
Created June 22, 2017 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enedil/294989beecc738868ecc480cc45526db to your computer and use it in GitHub Desktop.
Save enedil/294989beecc738868ecc480cc45526db to your computer and use it in GitHub Desktop.
make: pkg-config: Command not found
make: pkg-config: Command not found
../py/nlrthumb.c:73:5: error: non-ASM statement in naked function is not supported
return 0; // needed to silence compiler warning
^
../py/nlrthumb.c:40:16: note: attribute is here
__attribute__((naked)) unsigned int nlr_push(nlr_buf_t *nlr) {
^
../py/nlrthumb.c:89:5: error: non-ASM statement in naked function is not supported
nlr_buf_t **top_ptr = &MP_STATE_THREAD(nlr_top);
^
../py/nlrthumb.c:88:25: note: attribute is here
NORETURN __attribute__((naked)) void nlr_jump(void *val) {
^
2 errors generated.
make: *** [../py/mkrules.mk:47: build/py/nlrthumb.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment