Skip to content

Add x86_64 to nightly picolibc workflow#1564

Open
Bhoumik Patidar (BhoumikPatidar) wants to merge 1 commit into
qualcomm:mainfrom
BhoumikPatidar:picolibc-test-suite
Open

Add x86_64 to nightly picolibc workflow#1564
Bhoumik Patidar (BhoumikPatidar) wants to merge 1 commit into
qualcomm:mainfrom
BhoumikPatidar:picolibc-test-suite

Conversation

@BhoumikPatidar

Copy link
Copy Markdown
Contributor

Adds x86_64-none-elf to the existing picolibc builder matrix, which already covers hexagon, aarch64, riscv64, riscv32, and arm.

x86_64-specific setup:

  • Matrix entry with compiler-rt builtins path in picolibc-*-config fields, following the same pattern as other backends.
  • i386 linker wrapper: ELD has no i386 backend but picolibc builds a 32-bit semihosting BIOS for QEMU using elf_i386 emulation. A wrapper script is installed as ld.eld that routes i386 links to lld and all other links to the real ELD binary.
  • Build steps use ../scripts/do-eld-x86_64-configure from upstream picolibc (scripts/cross-eld-x86_64.txt + scripts/do-eld-x86_64-configure were added via Add x86_64 cross-compilation scripts for ELD linker picolibc/picolibc#1311). No manual cross file generation or meson setup workarounds needed.
  • qemu-system-x86 added to the apt-install for test execution.
  • export PATH to toolchain bin added to build and test run steps.

Adds x86_64-none-elf to the existing picolibc builder matrix, which
already covers hexagon, aarch64, riscv64, riscv32, and arm.

x86_64-specific setup:
- Matrix entry with compiler-rt builtins path in picolibc-*-config
  fields, following the same pattern as other backends.
- i386 linker wrapper: ELD has no i386 backend but picolibc builds a
  32-bit semihosting BIOS for QEMU using elf_i386 emulation. A wrapper
  script is installed as ld.eld that routes i386 links to lld and all
  other links to the real ELD binary.
- Build steps use ../scripts/do-eld-x86_64-configure from upstream
  picolibc (scripts/cross-eld-x86_64.txt + scripts/do-eld-x86_64-configure
  were added via picolibc PR qualcomm#1311). No manual cross file generation or
  meson setup workarounds needed.
- qemu-system-x86 added to the apt-install for test execution.
- export PATH to toolchain bin added to build and test run steps.

Signed-off-by: Bhoumik Patidar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant