Skip to content

Fix dc and dp flag definitions to match GNU#1311

Merged
Steven Ramirez Rosa (Steven6798) merged 1 commit into
qualcomm:mainfrom
Steven6798:issue-1310
Jun 19, 2026
Merged

Fix dc and dp flag definitions to match GNU#1311
Steven Ramirez Rosa (Steven6798) merged 1 commit into
qualcomm:mainfrom
Steven6798:issue-1310

Conversation

@Steven6798

Copy link
Copy Markdown
Contributor

Replace incorrect "--dc" and "--dp" flags with GNU-standard "-dc" and "-dp".

Fix: #1310

Replace incorrect "--dc" and "--dp" flags with GNU-standard "-dc" and "-dp".

Fix: qualcomm#1310

Signed-off-by: Steven Ramirez Rosa <ramirezr@qti.qualcomm.com>
@Steven6798
Steven Ramirez Rosa (Steven6798) merged commit 6df7166 into qualcomm:main Jun 19, 2026
13 checks passed
@Steven6798 Steven Ramirez Rosa (Steven6798) added the bug Something isn't working label Jul 20, 2026
Bhoumik Patidar (BhoumikPatidar) added a commit to BhoumikPatidar/eld that referenced this pull request Jul 23, 2026
 merged)

PR qualcomm#1311 (scripts/cross-eld-x86_64.txt + scripts/do-eld-x86_64-configure)
was merged into upstream picolibc. Use them directly instead of writing
the cross file at CI time.

Changes:
- Add compiler-rt builtins path to x86_64 matrix picolibc-*-config fields
  (same pattern as hexagon/other backends)
- Remove cross-file-writing block from Checkout Picolibc step
- Replace manual meson setup invocations with ../scripts/do-eld-x86_64-configure,
  matching exactly how other backends use do-clang-X-configure
- Simplify i386 wrapper step: remove eld-bdir symlink and ELD_BDIR export
  since the cross file now uses c_ld='eld' which clang resolves by finding
  ld.eld (our wrapper) directly in PATH

The only remaining x86_64-specific code is the i386 wrapper step (ELD has
no i386 backend; picolibc builds a 32-bit semihosting BIOS for QEMU).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Bhoumik Patidar (BhoumikPatidar) added a commit to BhoumikPatidar/eld that referenced this pull request Jul 24, 2026
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.
Bhoumik Patidar (BhoumikPatidar) added a commit to BhoumikPatidar/eld that referenced this pull request Jul 24, 2026
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 <bpatidar@qti.qualcomm.com>
Bhoumik Patidar (BhoumikPatidar) added a commit to BhoumikPatidar/eld that referenced this pull request Jul 24, 2026
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 <bpatidar@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dc and dp flags are defined incorrectly

3 participants