Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when I compile #38

Open
fractalstore opened this issue Dec 5, 2023 · 1 comment
Open

error when I compile #38

fractalstore opened this issue Dec 5, 2023 · 1 comment

Comments

@fractalstore
Copy link

I have this error then I run "make BOARD=RPI1":

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
GEN build/genhdr/qstr.i.last
GEN build/genhdr/qstr.split
GEN build/genhdr/qstrdefs.collected.h
QSTR updated
GEN build/genhdr/qstrdefs.generated.h
mkdir -p build/build/
mkdir -p build/extmod/
mkdir -p build/lib/embed/
mkdir -p build/lib/libc/
mkdir -p build/lib/libm/
mkdir -p build/lib/mp-readline/
mkdir -p build/lib/oofatfs/
mkdir -p build/lib/timeutils/
mkdir -p build/lib/utils/
mkdir -p build/py/
CC ../micropython/py/mpstate.c
In file included from ./mpconfigport.h:2,
                 from ../micropython/py/mpconfig.h:62,
                 from ../micropython/py/mpstate.h:31,
                 from ../micropython/py/mpstate.c:27:
./arm_exceptions.h:34:1: error: FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs                                      -only' [-Werror=attributes]
   34 | extern void __attribute__((interrupt("UNDEF"))) undef_handler(void);
      | ^~~~~~
./arm_exceptions.h:35:1: error: FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs                                      -only' [-Werror=attributes]
   35 | extern void __attribute__((interrupt("SWI"))) svc_handler(void);
      | ^~~~~~
./arm_exceptions.h:36:1: error: FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs                                      -only' [-Werror=attributes]
   36 | extern void __attribute__((interrupt("ABORT"))) abort_handler(void);
      | ^~~~~~
./arm_exceptions.h:37:1: error: FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs                                      -only' [-Werror=attributes]
   37 | extern void __attribute__((interrupt("IRQ"))) irq_handler(void);
      | ^~~~~~
./arm_exceptions.h:38:1: error: FP registers might be clobbered despite 'interrupt' attribute: compile with '-mgeneral-regs                                      -only' [-Werror=attributes]
   38 | extern void __attribute__((interrupt("FIQ"))) fiq_handler(void);
      | ^~~~~~
cc1: all warnings being treated as errors
make: *** [../micropython/py/mkrules.mk:47: build/py/mpstate.o] Error 1
@fractalstore
Copy link
Author

SOLVED
it work only on 32bits OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant