binutils Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
binutils

hppa*64*-*-hpux*: Create dummy milli.a archive for tests.

A dummy milli.a archive is now created for HP-UX cross-builds, fixing test failures in binutils and ld.

A dummy milli.a archive is now created for HP-UX cross-builds, resolving test failures in binutils and the linker due to the archive not being found or containing undefined symbols. The LDFLAGS are now also appended for the milli.a archive in the objcopy test.

In Details

This commit addresses test failures on HP-UX (hppa*64*-*-hpux*) cross-builds related to the milli.a archive. It modifies binutils/testsuite/config/default.exp and ld/testsuite/config/default.exp to create a dummy archive and adjust linker flags. The change in objcopy.exp exposes a pre-existing test failure.

For Context

This commit resolves test failures encountered when cross-compiling for HP-UX. It involves creating a placeholder archive (milli.a) to satisfy testsuite dependencies, and adjusting linker flags to ensure tests can locate necessary libraries. Cross-compilation is compiling code on one architecture, to produce an executable for another.

Filed Under: testsuitehppahpuxcross-build