Closed arlucio closed 4 years ago
If we believe @pfalcon then you should try commenting that fake Socket_GetLastError
errno
macro definition.
Thanks, I commented that line and the error went away. Now I'm getting this new error:
micropython/lib/csdtk42-linux/bin/mips-elf-ld: build/gchelper.o: compiled for a big endian system and target is little endian
micropython/lib/csdtk42-linux/bin/mips-elf-ld: build/gchelper.o: endianness incompatible with that of the selected emulation
micropython/lib/csdtk42-linux/bin/mips-elf-ld: failed to merge target specific data of file build/gchelper.o
Any ideas how to solve this? Tried to put -EL on other flags on the makefile, to force to compile for little endian but didn't had any success
They start setting AS
and/or ASFLAGS
somewhere in the history replacing this
I would check how gchelper.s
was compiled with make -n
and whether the above command line arguments are present. I am also pretty convinced it should be this compiler
https://github.com/pulkin/csdtk42-linux/blob/master/bin/mips-elf-as
Thanks @pulkin, so I actually made what you did in this commit 973b9def02284f0013082dff2ba07ee598d06f8d and was able to update to the last Micropython version successfully. Included also uasyncio and seems like it's working properly.
I'm documenting changes and will try to make a pull request soon.
Awesome!
I'm trying to update Micropython of this port to the last version.
I encountered this issue Micropython#6065 because of the way that errno is defined on the SDK. @pulkin any thoughts about how to solve this?