I just tried on an M1 machine. After removing the TENSORFLOW from boards/LINUX.py and fixing the ifdef as mentioned above I get the following:
ld: warning: pointer not aligned at address 0x1000ADC12 (_jswSymbolTables + 34 from gen/jswrapper.o)
ld: warning: pointer not aligned at address 0x1000ADC09 (_jswSymbolTables + 25 from gen/jswrapper.o)
ld: warning: pointer not aligned at address 0x1000ADC01 (_jswSymbolTables + 17 from gen/jswrapper.o)
ld: unaligned pointer(s) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I guess I'd need to 'add few bytes somewhere' to get the pointers aligned... ?
© Espruino, powered by microcosm.
Report a problem