Sming icon indicating copy to clipboard operation
Sming copied to clipboard

Can't build for SMING_ARCH=Host in Apple M1 Pro

Open mtzfactory opened this issue 1 month ago • 8 comments

I'm trying to build the basic blink example to debug it in my host machine (Apple M1 Pro) but it fails with the following error:

❯ make SMING_ARCH=Host

Basic_Blink: Invoking 'all' for Host (debug) architecture
/Applications/Xcode.app/Contents/Developer/usr/bin/make components application

Building /Users/xxxxxx/development/personal/espressif/sming/Sming/out/Host/debug/lib/clib-Storage-1766cf74635c72591842b6a122154060.a
clang: error: unknown argument: '-fstrict-volatile-bitfields'
clang: error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument]
make[2]: *** [src/Debug.cpp.d] Error 1
make[1]: *** [Storage-build] Error 2
make: *** [all] Error 2

mtzfactory avatar May 24 '24 17:05 mtzfactory