👋 trying to build the latest release, but run into some build issue. The error log is as below:
error build log
```
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:13:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:200:10: error: use of undeclared identifier '__builtin_ia32_readeflags_u32'
return __builtin_ia32_readeflags_u32();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:206:3: error: use of undeclared identifier '__builtin_ia32_writeeflags_u32'
__builtin_ia32_writeeflags_u32(__f);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:288:10: error: use of undeclared identifier '__builtin_ia32_crc32qi'
return __builtin_ia32_crc32qi(__C, __D);
^
[ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/args.cpp.o
cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/args.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/args.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/args.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/args.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'; did you mean '__builtin_arm_crc32h'?
return __builtin_ia32_crc32hi(__C, __D);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: note: '__builtin_arm_crc32h' declared here
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:330:10: error: use of undeclared identifier '__builtin_ia32_crc32si'
return __builtin_ia32_crc32si(__C, __D);
^
[ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: error: use of undeclared identifier '__builtin_ia32_rdpmc'; did you mean '__builtin_arm_dmb'?
return __builtin_ia32_rdpmc(__A);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: note: '__builtin_arm_dmb' declared here
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: error: argument to '__builtin_arm_dmb' must be a constant integer
return __builtin_ia32_rdpmc(__A);
^ ~~~
cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/cheat.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:10: error: use of undeclared identifier '__builtin_ia32_rdtscp'; did you mean '__builtin_arm_rsrp'?
return __builtin_ia32_rdtscp(__A);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:10: note: '__builtin_arm_rsrp' declared here
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:32: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'unsigned int *'
return __builtin_ia32_rdtscp(__A);
^~~
[ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o
cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/configSys.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:373:3: error: use of undeclared identifier '__builtin_ia32_wbinvd'
__builtin_ia32_wbinvd();
^
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
^
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:15:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm
__asm__ ("hreset $0" :: "a"(__eax));
^
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:25:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:33:10: error: use of undeclared identifier '__builtin_ia32_crc32qi'
return __builtin_ia32_crc32qi(__C, __D);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:53:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'; did you mean '__builtin_arm_crc32h'?
return __builtin_ia32_crc32hi(__C, __D);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: note: '__builtin_arm_crc32h' declared here
return __builtin_ia32_crc32hi(__C, __D);
^
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:25:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:73:10: error: use of undeclared identifier '__builtin_ia32_crc32si'
return __builtin_ia32_crc32si(__C, __D);
^
In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:21:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
__builtin_ia32_emms();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:5: note: '__builtin_isless' declared here
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0
__builtin_ia32_emms();
~~~~~~~~~~~~~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
👋 trying to build the latest release, but run into some build issue. The error log is as below:
error build log
``` In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:13: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:200:10: error: use of undeclared identifier '__builtin_ia32_readeflags_u32' return __builtin_ia32_readeflags_u32(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:206:3: error: use of undeclared identifier '__builtin_ia32_writeeflags_u32' __builtin_ia32_writeeflags_u32(__f); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:288:10: error: use of undeclared identifier '__builtin_ia32_crc32qi' return __builtin_ia32_crc32qi(__C, __D); ^ [ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/args.cpp.o cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/args.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/args.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/args.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/args.cpp /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'; did you mean '__builtin_arm_crc32h'? return __builtin_ia32_crc32hi(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: note: '__builtin_arm_crc32h' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:330:10: error: use of undeclared identifier '__builtin_ia32_crc32si' return __builtin_ia32_crc32si(__C, __D); ^ [ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: error: use of undeclared identifier '__builtin_ia32_rdpmc'; did you mean '__builtin_arm_dmb'? return __builtin_ia32_rdpmc(__A); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: note: '__builtin_arm_dmb' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:358:10: error: argument to '__builtin_arm_dmb' must be a constant integer return __builtin_ia32_rdpmc(__A); ^ ~~~ cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/cheat.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/cheat.cpp /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:10: error: use of undeclared identifier '__builtin_ia32_rdtscp'; did you mean '__builtin_arm_rsrp'? return __builtin_ia32_rdtscp(__A); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:10: note: '__builtin_arm_rsrp' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:364:32: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'unsigned int *' return __builtin_ia32_rdtscp(__A); ^~~ [ 76%] Building CXX object src/CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o cd /tmp/fceux-20230828-15002-noyjjd/src && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DFCEUDEF_DEBUGGER -DFCEUX_BUILD_TIMESTAMP="\"17:04:21 Aug 26 2023\"" -DHAVE_ASPRINTF -DLUA_USE_LINUX -DPSS_STYLE=1 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DX264_API_IMPORTS -D_HAS_X11 -D_S9XLUA_H -D_SYSTEM_MINIZIP -D_THREAD_SAFE -D_USE_LIBARCHIVE -D_USE_LIBAV -D_USE_X264 -D_USE_X265 -D__QT_DRIVER__ -D__SDL__ -I/tmp/fceux-20230828-15002-noyjjd/src/fceux_autogen/include -I/opt/homebrew/lib/QtDBus.framework/Headers -iframework /opt/homebrew/lib -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks -I/tmp/fceux-20230828-15002-noyjjd/src -I/tmp/fceux-20230828-15002-noyjjd/src/drivers -isystem /opt/homebrew/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/lib/QtCore.framework/Headers -isystem /opt/homebrew/lib/QtGui.framework/Headers -isystem /opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -isystem /opt/homebrew/lib/QtOpenGL.framework/Headers -isystem /opt/homebrew/share/qt/mkspecs/macx-clang -DPUBLIC_RELEASE=1 -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wall -Wno-write-strings -Wno-parentheses -Wno-unused-local-typedefs -fPIC -I/opt/homebrew/Cellar/minizip/1.3/include/minizip -I/opt/homebrew/Cellar/libarchive/3.7.1/include -I/opt/homebrew/Cellar/x264/r3095/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/ffmpeg/6.0_1/include -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -I/tmp/fceux-20230828-15002-noyjjd/src/lua/src -MD -MT src/CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o -MF CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o.d -o CMakeFiles/fceux.dir/drivers/common/configSys.cpp.o -c /tmp/fceux-20230828-15002-noyjjd/src/drivers/common/configSys.cpp /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:373:3: error: use of undeclared identifier '__builtin_ia32_wbinvd' __builtin_ia32_wbinvd(); ^ In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture" #error "This header is only meant to be used on x86 and x64 architecture" ^ In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:15: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm __asm__ ("hreset $0" :: "a"(__eax)); ^ In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:25: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:33:10: error: use of undeclared identifier '__builtin_ia32_crc32qi' return __builtin_ia32_crc32qi(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:53:10: error: use of undeclared identifier '__builtin_ia32_crc32hi'; did you mean '__builtin_arm_crc32h'? return __builtin_ia32_crc32hi(__C, __D); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/ia32intrin.h:309:10: note: '__builtin_arm_crc32h' declared here return __builtin_ia32_crc32hi(__C, __D); ^ In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86gprintrin.h:25: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/crc32intrin.h:73:10: error: use of undeclared identifier '__builtin_ia32_crc32si' return __builtin_ia32_crc32si(__C, __D); ^ In file included from /tmp/fceux-20230828-15002-noyjjd/src/utils/timeStamp.cpp:21: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/x86intrin.h:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/immintrin.h:21: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture" #error "This header is only meant to be used on x86 and x64 architecture" ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:5: note: '__builtin_isless' declared here /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0 __builtin_ia32_emms(); ~~~~~~~~~~~~~~~~~~~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si' return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. ```full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6000770683/job/16274769679 relates to Homebrew/homebrew-core#140684