nuttx/tools/ci
Marco Casaroli 34f25ed228 tools/ci: Add the FDPIC binutils to the Linux CI image.
An FDPIC module is compiled by the stock arm-none-eabi GCC, which emits
correct FDPIC objects for both C and C++, but it cannot be assembled or
linked by that toolchain: its as rejects the FDPIC relocations, and its ld
carries the armelf emulation alone.

Linking FDPIC objects with the stock ld does not fail, which is the awkward
part.  It produces an object marked "UNIX - System V" instead of "ARM FDPIC"
and turns every import into an R_ARM_JUMP_SLOT where the ABI wants an
R_ARM_FUNCDESC_VALUE.  A jump slot is one word and a descriptor is two, a
code address and the GOT that goes with it, so the module links cleanly and
then calls out of itself with the caller's data base still in the PIC
register.

No distribution packages the arm-uclinuxfdpiceabi target, so the image
builds it, the way the Renesas stage already builds its own binutils.  Only
binutils is needed, no GCC and no C library, so the stage takes about a
minute and the install is 20 MB stripped.

The tarball comes from sourceware.org, the binutils project's own host,
because ftp.gnu.org is not reliably reachable from every builder.  curl runs
with --fail so that a bad fetch says so, rather than piping an error page
into tar and failing as "File format not recognized".

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-08-28 09:22:59 -03:00
..
docker/linux tools/ci: Add the FDPIC binutils to the Linux CI image. 2026-08-28 09:22:59 -03:00
platforms ci/platforms/darwin.sh: fix genromfs installation 2026-07-12 22:21:24 +02:00
testlist boards/rp23xx: Split the xipfs configuration into xipfs and xipfs-nxflat. 2026-07-29 07:49:03 -03:00
testrun tools: avoid returning from finally blocks 2026-08-21 20:07:53 +08:00
cibuild-oot.sh cmake: Remove unused BUILD_OOTCPP guard from configuration. 2025-10-17 17:06:46 -03:00
cibuild.ps1 tools/ci: Added CI system on Windows Native 2025-03-19 19:59:44 +08:00
cibuild.sh CI: Improved speed to build nuttx on MSYS2 job 2025-03-26 22:35:19 +08:00
cirun.sh
README.md

CI Tools

These are tools and data used for the CI system. Some of what is here may also be useful for local testing.