Standard-Binary Compile broken on arm64 Mac

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Standard-Binary Compile broken on arm64 Mac

Postby sirheroics » Wed Sep 20, 2023 6:25 am

Hello,

I downloaded the Mac arm64 version of the binary (https://cef-builds.spotifycdn.com/cef_b ... 64.tar.bz2) and then did:

1) mkdir build && cd build
2) cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 ..
3) make

I get the following errors with Clang 15 (XCode 14.3.1)

Downloads/cef_binary_116.0.24+g5332865+chromium-116.0.5845.190_macosarm64/include/base/cef_template_util.h:176:7: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
__has_trivial_copy(T) && __has_trivial_destructor(T);
^
Downloads/cef_binary_116.0.24+g5332865+chromium-116.0.5845.190_macosarm64/include/base/cef_template_util.h:176:32: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
__has_trivial_copy(T) && __has_trivial_destructor(T);
sirheroics
Techie
 
Posts: 33
Joined: Mon Mar 22, 2021 6:32 am

Re: Standard-Binary Compile broken on arm64 Mac

Postby magreenblatt » Wed Sep 20, 2023 9:30 am

These errors occur with Xcode 15, which is not yet supported. A fix will be coming soon for M116+.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Standard-Binary Compile broken on arm64 Mac

Postby sirheroics » Wed Sep 20, 2023 9:40 am

magreenblatt wrote:These errors occur with Xcode 15, which is not yet supported. A fix will be coming soon for M116+.


I have XCode 14.3 though. I'm assuming you mean Clang 15? XCode 15 which is due out soon will have Clang 16.
sirheroics
Techie
 
Posts: 33
Joined: Mon Mar 22, 2021 6:32 am

Re: Standard-Binary Compile broken on arm64 Mac

Postby magreenblatt » Wed Sep 20, 2023 10:20 am

I can build without issue using Xcode 14.3.1. I only get this error with Xcode 15 (which released on Sept 18th). Are you sure that your Xcode didn't auto-update to 15?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Standard-Binary Compile broken on arm64 Mac

Postby sirheroics » Wed Sep 20, 2023 10:32 am

magreenblatt wrote:I can build without issue using Xcode 14.3.1. I only get this error with Xcode 15 (which released on Sept 18th). Are you sure that your Xcode didn't auto-update to 15?


Sneaky Apple...XCode is 14.3.1 but the "Command Line Tools For XCode" updated itself to 15.0 yesterday. :roll:
sirheroics
Techie
 
Posts: 33
Joined: Mon Mar 22, 2021 6:32 am

Re: Standard-Binary Compile broken on arm64 Mac

Postby magreenblatt » Wed Sep 20, 2023 11:12 am

magreenblatt wrote:These errors occur with Xcode 15, which is not yet supported. A fix will be coming soon for M116+.

This will be fixed in version 116.0.27 (change here, automated builds likely available tomorrow)
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 180 guests