PR19525: Build testing of non-default multilibs

Richard Sandiford rsandifo@redhat.com
Wed Feb 16 17:51:00 GMT 2005


Zack Weinberg <zack@codesourcery.com> writes:
> My test scripts only ran dejagnu against the non-default multilib on
> ia64-hp-hpux11.23; this is an oversight on my end.  On that system,
> however, results are very bad.  With -mlp64 (which triggers the
> non-default multilib) all link and execute tests against the shared
> libgcc fail.  The error is
>
> ld: Can't find library or mismatched ABI for -lgcc_s_hpux64
> Fatal error.
> collect2: ld returned 1 exit status
>
> This is because "-lgcc_s_hpux64" was hardwired into specs in
> ia64/hpux.h.

Argh!  And I'd really tried to cover all bases.  I did check for uses
of %M in the target specs, but hadn't thought to check for hard-coded
mangling, sorry ;(

FWIW, a quick grep suggests that ia64/hpux.h was the only file do this.

Richard



More information about the Gcc-patches mailing list