You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gn package is ignoring cross-compilation, this causes an issue when compiling crashpad/cci.20220219 as it depends on this package.
The binaries provided by conan-center contain only binaries for AArch64, even if the desired arch is x86_64. An issue in the gn package causes this as it is ignoring cross-compilation.
I tried it on a macOS machine with Apple silicon, and it works
If I run this on a macOS machine with Intel, it fails with Bad CPU execution.
if I build the package locally, I can only produce x86_64 binaries if I set the build profile arch to x86_64, the host profile arch is ignored.
Try to build the package gn/cci.20240611 on a macOS machine. Try with multiple permutations of host and build profile (this is on a macOS machine with Apple silicon).
Description
The gn package is ignoring cross-compilation, this causes an issue when compiling crashpad/cci.20220219 as it depends on this package.
The binaries provided by conan-center contain only binaries for AArch64, even if the desired arch is x86_64. An issue in the gn package causes this as it is ignoring cross-compilation.
I tried it on a macOS machine with Apple silicon, and it works
If I run this on a macOS machine with Intel, it fails with Bad CPU execution.
if I build the package locally, I can only produce x86_64 binaries if I set the build profile arch to x86_64, the host profile arch is ignored.
Package and Environment Details
Conan profile
Host profile:
[settings]
arch=x86_64
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos
tools.apple:sdk_path=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk
Build profile:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos
tools.apple:sdk_path=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk
Steps to reproduce
Try to build the package gn/cci.20240611 on a macOS machine. Try with multiple permutations of host and build profile (this is on a macOS machine with Apple silicon).
conan build . --version cci.20210429 -pr:h x64 -pr:b default
> produces an AArch64 binaryconan build . --version cci.20210429 -pr:h default -pr:b default
> produces an AArch64 binaryconan build . --version cci.20210429 -pr:h default -pr:b x64
> produces a x86_64 binaryconan build . --version cci.20210429 -pr:h x64 -pr:b x64
> produces a x86_64 binaryAppleLogs
The attached logs correspond to a macOS with intel (Bad CPU exec).
Click to expand log
The text was updated successfully, but these errors were encountered: