Skip to content

"Bad CPU type in executable" error on M1 Mac? #230

@HannahShiSFB

Description

@HannahShiSFB

Got the "Bad CPU type in executable" error when running RepoTools to download pods during build.
Is it possible to put universal build of RepoTools (and Compiler as well) in release package?

Error message:
/private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:316:14: in new_pod_repository Repository rule pod_repo_ defined at: /private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:198:28: in <toplevel> DEBUG: /private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:6:14: __OUTPUT 1 src/main/tools/process-wrapper-legacy.cc:80: "execvp(/private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/bin/RepoTools, ...)": Bad CPU type in executable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions