[PATCH v4 5/7] MIPS: Fix some ld testcases with compiler

Alan Modra amodra@gmail.com
Tue Jun 20 03:57:23 GMT 2023


On Tue, Jun 20, 2023 at 11:17:00AM +0800, YunQiang Su wrote:
> Alan Modra <amodra@gmail.com> 于2023年6月20日周二 10:34写道:
> >
> > On Tue, Jun 20, 2023 at 09:40:19AM +0800, YunQiang Su wrote:
> > > How do you build your cross toolchain?
> >
> > mips64-linux-gnuabi64-gcc (GCC) 13.0.0 20220910 (experimental) was
> > built using this configuration:
> > ~/src/gcc/configure \
> > --with-sysroot=/home/gnu/mips64-linux-gnuabi64 \
> > --prefix=/usr/local \
> > --target=mips64-linux-gnuabi64 \
> > --enable-targets=mips-linux-gnu \
> > --with-mips-plt \
> > --disable-nls \
> > --enable-__cxa_atexit \
> > --enable-initfini-array \
> > --disable-libsanitizer \
> > --disable-bootstrap \
> > --enable-languages=c,c++
> >
> 
> You have no `--enable-plugin` option here, so

That shouldn't be necessary.

> > > 9. ld-plugin/plugin.exp: xfail
> > >       plugin claimfile lost symbol,
> > >       plugin claimfile replace symbol,
> > >       plugin claimfile replace symbol,
> > >       plugin claimfile lost symbol with source,
> > >       plugin claimfile replace symbol with source,
> > >       plugin claimfile resolve symbol with source,
> > >       plugin 2 with source lib,
> > >       load plugin 2 with source,
> > >       plugin 3 with source lib,
> > >       load plugin 3 with source.
> 
> won't run.

It's true they don't run for mips64-linux-gnuabi64 for reasons I have
not investigated, but they do for --target=mips64-linux using the same
mips64-linux-gnuabi16 compiler.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list