Skip to content

atmel-samd: lto-type-mismatch and ERROR 1 on build #368

@rrace001

Description

@rrace001

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions