Output below. I am using Ubuntu 16.04. I have compiled the UF2-SAMD21 without errors and flashed the bootloader.bin so my toolchain worked for that. (The bootdrive shows up on a double click but nothing else) I just cloned circuitpython today and tried a few boards but all the same. Typical output below. I do not understand the error at all.
Output:
/circuitpython/atmel-samd$ make V=1
GEN build-metro_m0_express/genhdr/qstr.i.last
cc1: error: -Werror=lto-type-mismatch: no option -Wlto-type-mismatch
...prints this a couple hundred times...
cc1: error: -Werror=lto-type-mismatch: no option -Wlto-type-mismatch
../py/mkrules.mk:79: recipe for target 'build-metro_m0_express/genhdr/qstr.i.last' failed
make: *** [build-metro_m0_express/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-metro_m0_express/genhdr/qstr.i.last'
Output below. I am using Ubuntu 16.04. I have compiled the UF2-SAMD21 without errors and flashed the bootloader.bin so my toolchain worked for that. (The bootdrive shows up on a double click but nothing else) I just cloned circuitpython today and tried a few boards but all the same. Typical output below. I do not understand the error at all.
Output:
/circuitpython/atmel-samd$ make V=1
GEN build-metro_m0_express/genhdr/qstr.i.last
cc1: error: -Werror=lto-type-mismatch: no option -Wlto-type-mismatch
...prints this a couple hundred times...
cc1: error: -Werror=lto-type-mismatch: no option -Wlto-type-mismatch
../py/mkrules.mk:79: recipe for target 'build-metro_m0_express/genhdr/qstr.i.last' failed
make: *** [build-metro_m0_express/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-metro_m0_express/genhdr/qstr.i.last'