- Notifications
You must be signed in to change notification settings - Fork57
Open
Description
This is with the current HEAD of the repo. When I updatemicropython to the latest version,mpy-cross builds, but patches won't apply. I'm not sure how to proceed. The patches need to be updated as well asmicropython. I can build esp32 micropython without issues, but not the version linked in the submodule.
[skrat@crowsnest m5stack]$ make mpy-crossmake -C ../micropython/mpy-crossmake[1]: Entering directory '/home/skrat/Downloads/uiflow_micropython/micropython/mpy-cross'Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.mkdir -p build/genhdrGEN build/genhdr/mpversion.hGEN build/genhdr/qstr.i.lastGEN build/genhdr/qstr.splitGEN build/genhdr/qstrdefs.collected.hQSTR updatedGEN build/genhdr/qstrdefs.generated.hGEN build/genhdr/moduledefs.splitGEN build/genhdr/moduledefs.collectedModule registrations updatedGEN build/genhdr/moduledefs.hGEN build/genhdr/root_pointers.splitGEN build/genhdr/root_pointers.collectedRoot pointer registrations updatedGEN build/genhdr/root_pointers.hmkdir -p build/py/mkdir -p build/shared/runtime/CC ../py/mpstate.cCC ../py/nlr.cCC ../py/nlrx86.cCC ../py/nlrx64.cCC ../py/nlrthumb.cCC ../py/nlraarch64.cCC ../py/nlrmips.cCC ../py/nlrpowerpc.cCC ../py/nlrxtensa.cCC ../py/nlrrv32.cCC ../py/nlrrv64.cCC ../py/nlrsetjmp.cCC ../py/malloc.cCC ../py/gc.cCC ../py/pystack.cCC ../py/qstr.cCC ../py/vstr.cCC ../py/mpprint.cCC ../py/unicode.cCC ../py/mpz.cCC ../py/reader.cCC ../py/lexer.cCC ../py/parse.cCC ../py/scope.cCC ../py/compile.cCC ../py/emitcommon.cCC ../py/emitbc.cCC ../py/asmbase.cCC ../py/asmx64.cCC ../py/emitnx64.cCC ../py/asmx86.cCC ../py/emitnx86.cCC ../py/asmthumb.cCC ../py/emitnthumb.cCC ../py/emitinlinethumb.c../py/emitinlinethumb.c:153:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 153 | {0, "r0\0"}, | ^~~~~~../py/emitinlinethumb.c:154:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 154 | {1, "r1\0"}, | ^~~~~~../py/emitinlinethumb.c:155:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 155 | {2, "r2\0"}, | ^~~~~~../py/emitinlinethumb.c:156:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 156 | {3, "r3\0"}, | ^~~~~~../py/emitinlinethumb.c:157:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 157 | {4, "r4\0"}, | ^~~~~~../py/emitinlinethumb.c:158:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 158 | {5, "r5\0"}, | ^~~~~~../py/emitinlinethumb.c:159:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 159 | {6, "r6\0"}, | ^~~~~~../py/emitinlinethumb.c:160:9: error: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] 160 | {7, "r7\0"}, | ^~~~~~Metadata
Metadata
Assignees
Labels
No labels