-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Open
Labels
Description
Port, board and/or hardware
unix port (Alpine Linux)
MicroPython version
MicroPython Version 1.27.0 on Alpine Linux Edge (GCC 15.2.0)
Reproduction
Build the UNIX port on Alpin Linux Edge on an s390x or an loongarch64 machine. One could use the package build recipe in https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/micropython and then use build -r to reproduce it.
Expected behaviour
MicroPython builds without errors.
Observed behaviour
Building on Alpine Linux for s390x and loongarch64 with:
main.c: In function 'parse_integer.constprop':
main.c:237:9: error: variable 'base' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
237 | int base = 10;
| ^~~~
main.c:248:10: error: variable 'valid' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
248 | bool valid = false;
| ^~~~~
cc1: all warnings being treated as errors
Additional Information
Without access to real hardware, ways to reproduce are:
- The alpine linux docker + QEMU
- The Alpine CI (runs upon opening a Merge Request)
Code of Conduct
Yes, I agree