Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS上EMOCK失败,同样的工程在ubuntu上EMOCK成功 #43

Open
yi1fun opened this issue Oct 9, 2024 · 2 comments
Open

macOS上EMOCK失败,同样的工程在ubuntu上EMOCK成功 #43

yi1fun opened this issue Oct 9, 2024 · 2 comments

Comments

@yi1fun
Copy link

yi1fun commented Oct 9, 2024

macOS上GNU或Clang编译都会EMOCK失败,尝试了GNU11-14的版本都会EMOCK失败。

  • 这是我的工程结构

B00809A7-C5D8-455B-B31B-31F245310396

  • 这是macOS环境:

-- OS: Darwin version: 23.2.0 ARCHITECTURE: arm64
-- C Compiler: GNU version: 11.5.0
-- C++ Compiler: GNU version: 11.5.0
-- C Compiler Flags:
-- C++ Compiler Flags:
-- C Standard:
-- C++ Standard: 20
-- Build Type: Debug
本机信息:
Apple M2 MacOS 14.2.1 (23C71)
内核:
Darwin U-QTYY2GN0-2031.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 arm64

  • 这是ubuntu环境:

-- OS: Linux version: 5.4.0-47-generic ARCHITECTURE: x86_64
-- C Compiler: GNU version: 9.3.0
-- C++ Compiler: GNU version: 9.3.0
-- C Compiler Flags:
-- C++ Compiler Flags:
-- C Standard:
-- C++ Standard: 20
-- Build Type:
本机信息:
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
内核:Linux iZbp1593y9bhlnomikuh3fZ 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@yi1fun
Copy link
Author

yi1fun commented Oct 9, 2024

macOS上运行结果:
image
ubuntu上运行结果:
image

@orca-zhang
Copy link
Member

收到反馈,可能与arm架构有关,emock实现MacOSX适配时,是在较早的intel x86_64上验证。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants