[PATCH] hppa64-hpux: Create dummy milli.a archives for binutils and ld testsuites
John David Anglin
dave.anglin@bell.net
Mon Apr 6 01:58:40 GMT 2026
On 2026-04-05 9:11 p.m., Alan Modra wrote:
> On Sat, Apr 04, 2026 at 04:28:05PM -0400, John David Anglin wrote:
>> diff --git a/binutils/testsuite/config/default.exp b/binutils/testsuite/config/default.exp
>> index 25bd1e64222..9dca734a27c 100644
>> --- a/binutils/testsuite/config/default.exp
>> +++ b/binutils/testsuite/config/default.exp
>> @@ -20,6 +20,7 @@
>> # This file was written by Rob Savoye. (rob@cygnus.com)
>>
>> load_lib utils-lib.exp
>> +load_lib ../../../ld/testsuite/lib/ld-lib.exp
>
> That's a bit horrible. Can't you append -Ltmpdir unconditionally to
> LDFLAGS when testing hppa64-hpux? Or "-L/lib/pa20_64 -Ltmpdir" if
> needed to put -Ltmpdir after the system library.
Yes but we also need to build the dummy milli.a file. The binutils testsuite
runs before the ld testsuite, so I don't think we can use the file generated
in the ld testsuite.
There's only a couple of tests in the binutils testsuite that fail because of
this issue. Maybe I could xfail them if the host isn't hppa*64*-*-hpux* and the
target is hppa*64*-*-hpux*?
Dave
--
John David Anglin dave.anglin@bell.net
More information about the Binutils
mailing list