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

Unknown architecture for macOS target when we build compiler_builtins #130831

Closed
arttet opened this issue Sep 25, 2024 · 9 comments
Closed

Unknown architecture for macOS target when we build compiler_builtins #130831

arttet opened this issue Sep 25, 2024 · 9 comments
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@arttet
Copy link
Contributor

arttet commented Sep 25, 2024

compiler_builtins v0.1.125

Error

I tried to compile arm64e-apple-darwin with the build.optimized-compiler-builtins flag

error occurred: Unknown architecture for macOS target.

  error: failed to run custom build command for `compiler_builtins v0.1.125`
  
  Caused by:
    process didn't exit successfully: `/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/build/x86_64-apple-darwin/stage2-std/release/build/compiler_builtins-388382c3f6590e6f/build-script-build` (exit status: 1)
    --- stdout
    cargo::rerun-if-changed=build.rs
    cargo::rerun-if-changed=configure.rs
    cargo::rustc-check-cfg=cfg(__ashldi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__ashlsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__ashrdi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__ashrsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__bswapsi2, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__bswapdi2, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__bswapti2, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divdi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divmoddi4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__divmodti4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__lshrdi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__lshrsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__moddi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__modsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__muldi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__udivdi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__udivmoddi4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__udivmodsi4, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__udivsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__umoddi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__umodsi3, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas16_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas16_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp1_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp1_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp2_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp2_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp4_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp4_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp8_relax, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp8_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq_rel, values("optimized-c"))
    cargo::rustc-check-cfg=cfg(target_feature, values("vis3"))
    cargo::rustc-check-cfg=cfg(feature, values("checked"))
    cargo::rustc-check-cfg=cfg(assert_no_panic)
    cargo::rustc-check-cfg=cfg(f16_enabled)
    cargo::rustc-check-cfg=cfg(f128_enabled)
    cargo::rustc-cfg=f16_enabled
    cargo::rustc-cfg=f128_enabled
    cargo:compiler-rt=/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.125/compiler-rt
    cargo::rustc-check-cfg=cfg(feature, values("unstable", "force-soft-floats"))
    cargo:rustc-cfg=feature="unstable"
    cargo:rustc-cfg=feature="force-soft-floats"
    cargo::rustc-check-cfg=cfg(feature, values("mem-unaligned"))
    cargo:rustc-cfg=feature="mem-unaligned"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/aarch64/lse.S
    cargo:rustc-cfg=__aarch64_cas1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_cas1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_cas1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_cas2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_cas2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_cas4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_cas4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_cas8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_cas8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas8_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas16_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_cas16_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_cas16_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_cas16_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_swp1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_swp1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_swp2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_swp2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_swp4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_swp4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_swp8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_swp8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_swp8_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldadd8_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldclr8_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldeor8_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset1_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset1_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset1_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset1_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset2_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset2_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset2_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset2_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset4_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset4_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset4_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset4_acq_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset8_relax="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset8_acq="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset8_rel="optimized-c"
    cargo:rustc-cfg=__aarch64_ldset8_acq_rel="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64.c
    cargo:rustc-cfg=__aarch64_have_lse_atomics="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
    cargo:rustc-cfg=__absvdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
    cargo:rustc-cfg=__absvsi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
    cargo:rustc-cfg=__absvti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
    cargo:rustc-cfg=__addvdi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
    cargo:rustc-cfg=__addvsi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
    cargo:rustc-cfg=__addvti3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
    cargo:rustc-cfg=__cmpdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
    cargo:rustc-cfg=__cmpti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/comparetf2.c
    cargo:rustc-cfg=__comparetf2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/divdc3.c
    cargo:rustc-cfg=__divdc3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/divsc3.c
    cargo:rustc-cfg=__divsc3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/divtf3.c
    cargo:rustc-cfg=__divtf3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/fp_mode.c
    cargo:rustc-cfg=__fe_getround="optimized-c"
    cargo:rustc-cfg=__fe_raise_inexact="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
    cargo:rustc-cfg=__ffsti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/floatditf.c
    cargo:rustc-cfg=__floatditf="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/floatsitf.c
    cargo:rustc-cfg=__floatsitf="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/floatunditf.c
    cargo:rustc-cfg=__floatunditf="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/floatunsitf.c
    cargo:rustc-cfg=__floatunsitf="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/int_util.c
    cargo:rustc-cfg=__int_util="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/muldc3.c
    cargo:rustc-cfg=__muldc3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c
    cargo:rustc-cfg=__mulsc3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/multc3.c
    cargo:rustc-cfg=__multc3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
    cargo:rustc-cfg=__mulvdi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
    cargo:rustc-cfg=__mulvsi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
    cargo:rustc-cfg=__mulvti3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
    cargo:rustc-cfg=__negdf2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
    cargo:rustc-cfg=__negdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
    cargo:rustc-cfg=__negsf2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negti2.c
    cargo:rustc-cfg=__negti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
    cargo:rustc-cfg=__negvdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
    cargo:rustc-cfg=__negvsi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
    cargo:rustc-cfg=__negvti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
    cargo:rustc-cfg=__paritydi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
    cargo:rustc-cfg=__paritysi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
    cargo:rustc-cfg=__parityti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
    cargo:rustc-cfg=__popcountdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
    cargo:rustc-cfg=__popcountsi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
    cargo:rustc-cfg=__popcountti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/powitf2.c
    cargo:rustc-cfg=__powitf2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
    cargo:rustc-cfg=__subvdi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
    cargo:rustc-cfg=__subvsi3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
    cargo:rustc-cfg=__subvti3="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
    cargo:rustc-cfg=__ucmpdi2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
    cargo:rustc-cfg=__ucmpti2="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_clear.c
    cargo:rustc-cfg=atomic_flag_clear="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_clear_explicit.c
    cargo:rustc-cfg=atomic_flag_clear_explicit="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_test_and_set.c
    cargo:rustc-cfg=atomic_flag_test_and_set="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_flag_test_and_set_explicit.c
    cargo:rustc-cfg=atomic_flag_test_and_set_explicit="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_signal_fence.c
    cargo:rustc-cfg=atomic_signal_fence="optimized-c"
    cargo:rerun-if-changed=/Users/runner/work/rust-compiler-builder/rust-compiler-builder/rust/src/llvm-project/compiler-rt/lib/builtins/atomic_thread_fence.c
    cargo:rustc-cfg=atomic_thread_fence="optimized-c"
    TARGET = Some("arm64e-apple-darwin")
    OPT_LEVEL = Some("3")
    HOST = Some("x86_64-apple-darwin")
    cargo:rerun-if-env-changed=CC_arm64e-apple-darwin
    CC_arm64e-apple-darwin = None
    cargo:rerun-if-env-changed=CC_arm64e_apple_darwin
    CC_arm64e_apple_darwin = Some("sccache cc")
    cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
    cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
    CRATE_CC_NO_DEFAULTS = None
    DEBUG = Some("false")
  
    --- stderr
  
  
    error occurred: Unknown architecture for macOS target.
  
  
  warning: build failed, waiting for other jobs to finish...```

See #130719
See #130231
See rust-lang/cc-rs#1205

@arttet arttet added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Sep 25, 2024
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Sep 25, 2024
@rustbot

This comment has been minimized.

@jieyouxu jieyouxu added T-libs Relevant to the library team, which will review and decide on the PR/issue. O-apple Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS) O-macos Operating system: macOS and removed O-apple Operating system: Apple (macOS, iOS, tvOS, visionOS, watchOS) labels Sep 25, 2024
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 25, 2024
@tgross35
Copy link
Contributor

Was this ever working in the past? I'm not sure why this would have regressed.

The fix to builtins was merged, but unfortunately updating it is blocked (see #130792)

@arttet
Copy link
Contributor Author

arttet commented Sep 25, 2024

Hi @tgross35,

I have noticed it recently.
Anyway, could you please update your #130792?

@tgross35
Copy link
Contributor

I have noticed it recently.

Could you clarify whether this was ever working for this target? If not, the title and regression labels should be adjusted (also the title is pretty vague).

Anyway, could you please update your #130792?

I will want to update to 0.1.128 in its own PR to keep the cc change separate, since it seems like that update has a chance of being problematic (based on CI results at #130720).

@arttet
Copy link
Contributor Author

arttet commented Sep 25, 2024

Could you clarify whether this was ever working for this target? If not, the title and regression labels should be adjusted (also the title is pretty vague).

I believe it worked one year ago. But I am not sure. Let's update the title and regression labels.

@arttet arttet changed the title Regression of compiler_builtins Unknown architecture for macOS target when we build compiler_builtins Sep 25, 2024
@rustbot
Copy link
Collaborator

rustbot commented Sep 25, 2024

Error: Label libs can only be set by Rust team members

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

@tgross35 tgross35 removed I-prioritize Issue: Indicates that prioritization has been requested for this issue. regression-untriaged Untriaged performance or correctness regression. labels Sep 25, 2024
@tgross35
Copy link
Contributor

tgross35 commented Sep 25, 2024

Thanks for the updates. At least we have a fix ready to go once the bump is unblocked.

@tgross35
Copy link
Contributor

Actually, the update to compiler_builtins isn't needed here. When built as part of rust-lang/rust it uses whatever version is in library/Cargo.lock so any of those PRs updating that file will cover it.

@arttet
Copy link
Contributor Author

arttet commented Sep 28, 2024

Fixed in #130926

@arttet arttet closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-macos Operating system: macOS T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants