Hi Andreas,

Could you please share your GCC configuration? I'm curious about why
the --with-multilib-list=lp64d flag is required in your setup.

Much appreciated,
Jim

Andreas Schwab <[email protected]> 於 2026年7月19日週日 下午11:51寫道:
>
> On Jul 10 2026, Jeffrey Law wrote:
>
> > On 6/30/2026 12:06 AM, Jim Lin wrote:
> >> A multilib entry that shares march/mabi with the default may
> >> differ in other options such as mcmodel, so it is not equivalent
> >> to the default multilib.  Stop returning false for these entries
> >> in riscv_multi_lib_info_t::parse so they are still recorded.
> >>
> >> gcc/ChangeLog:
> >>
> >>      * common/config/riscv/riscv-common.cc
> >>      (riscv_multi_lib_info_t::parse): Remove early-out for multilibs
> >>      matching only the default march/mabi.
> > THanks.  I've pushed this to the trunk.
>
> This breaks Ada:
>
> make[2]: Entering directory '/daten/riscv64/gcc/gcc-20260717/Build/gnattools'
> Cannot build gnattools while gnatlib is out of date or unbuilt
> make[2]: *** [Makefile:160: ../gcc/stamp-gnatlib-rts] Error 1
> make[2]: Leaving directory '/daten/riscv64/gcc/gcc-20260717/Build/gnattools'
> make[1]: *** [Makefile:14381: all-gnattools] Error 2
>
> because MULTISUBDIR=/lib64/lp64d instead of empty (this was configured
> with --with-multilib-list=lp64d).
>
> --
> Andreas Schwab, [email protected]
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."

Reply via email to