Skip to content

Unable to build core for powerpc64-ibm-aix #151818

@tgross35

Description

@tgross35

cargo +nightly check --target powerpc64-ibm-aix -Zbuild-std=core (checking the libc crate but that shouldn't matter) is now printing a number of errors like:

  error: branch target not a multiple of four (242)
  
  error: branch target not a multiple of four (241)
  
  error: branch target not a multiple of four (253)
  
  error: branch target not a multiple of four (301)
  
  error: branch target not a multiple of four (797)
  
  error: branch target not a multiple of four (-53)
...
  Caused by:
    process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name core --edition=2024 /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(no_fp_fmt_parse)' --check-cfg 'cfg(feature, values(any()))' --check-cfg 'cfg(target_has_reliable_f16)' --check-cfg 'cfg(target_has_reliable_f16_math)' --check-cfg 'cfg(target_has_reliable_f128)' --check-cfg 'cfg(target_has_reliable_f128_math)' --check-cfg 'cfg(llvm_enzyme)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("debug_refcell", "llvm_enzyme", "optimize_for_size", "panic_immediate_abort"))' -C metadata=15317ab97f0513c8 -C extra-filename=-c2945c7edce35d87 --out-dir /home/runner/work/libc/libc/target/powerpc64-ibm-aix/debug/deps --target powerpc64-ibm-aix -Z force-unstable-if-unmarked -L dependency=/home/runner/work/libc/libc/target/powerpc64-ibm-aix/debug/deps -L dependency=/home/runner/work/libc/libc/target/debug/deps --cap-lints allow -Dwarnings -Aimproper_ctypes_definitions`

Noticed in the libc CI https://github.com/rust-lang/libc/actions/runs/21477541219/job/61865234078. I expect this is hitting LLVM commit llvm/llvm-project@4522448 but I am not sure why.

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.O-PowerPCTarget: PowerPC processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-llvmWorking group: LLVM backend code generationregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions