Skip to content

Conversation

@aakashanandg
Copy link
Contributor

This PR fixes the build-native-binaries CI job, which failed when building for aarch64-linux because the host's x86_64 assembler was incorrectly used for ARM64 assembly.

This is fixed by:

  1. GitHub Actions: Installing the gcc-aarch64-linux-gnu and binutils-aarch64-linux-gnu cross-compilation toolchain on the Ubuntu runner.

  2. Rakefile: Explicitly setting the CC environment variable (e.g., to aarch64-linux-gnu-gcc) during the build, forcing cgo to use the correct cross-compiler for the ARM64 target.

@aakashanandg aakashanandg requested a review from a team as a code owner October 31, 2025 11:52
@aakashanandg aakashanandg force-pushed the clean/test-release-workflow branch from 9bf84b7 to 26e99e7 Compare October 31, 2025 12:35
@aakashanandg aakashanandg merged commit b354ade into googleapis:main Oct 31, 2025
45 of 52 checks passed
aakashanandg added a commit to aakashanandg/go-sql-spanner that referenced this pull request Oct 31, 2025
…ogleapis#591)

* chore(ruby): Resolve CI failure during aarch64-linux native build
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

Successfully merging this pull request may close these issues.

2 participants