public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <wzssyqa@gmail.com>
To: Alan Modra <amodra@gmail.com>
Cc: YunQiang Su <yunqiang.su@cipunited.com>,
	binutils@sourceware.org, macro@orcam.me.uk,
	 paul.hua.gm@gmail.com, jbeulich@suse.com
Subject: Re: [PATCH v4 5/7] MIPS: Fix some ld testcases with compiler
Date: Wed, 21 Jun 2023 18:53:54 +0800	[thread overview]
Message-ID: <CAKcpw6Uacii-4YgFd-9C2kiB0CHOPX9idp5jDqg45TSEGg2cxQ@mail.gmail.com> (raw)
In-Reply-To: <CAKcpw6W8ooa+YyUQcpcUmTE_VbP=MzXtXw54qp+Cr1cww0EpEw@mail.gmail.com>

YunQiang Su <wzssyqa@gmail.com> 于2023年6月21日周三 13:05写道:
>
> Alan Modra <amodra@gmail.com> 于2023年6月20日周二 11:57写道:
> >
> > 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.
> >
>
> You are right. In  fact the real problem is that my compiler is too
> old (GCC 12).
>

ohhh, no.
It's due to there is no --with-mips-plt build option for my gcc.

> > --
> > Alan Modra
> > Australia Development Lab, IBM
>
>
>
> --
> YunQiang Su



-- 
YunQiang Su

  reply	other threads:[~2023-06-21 10:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16  6:34 [PATCH v4 0/7] Some MIPS changes and testsuite fixes YunQiang Su
2023-06-16  6:34 ` [PATCH v4 1/7] MIPS: Gas: alter 64 or 32 for mipsisa triples if march is implicit YunQiang Su
2023-06-29 10:12   ` YunQiang Su
2023-06-16  6:34 ` [PATCH v4 2/7] MIPS: Set r6 as default arch if vendor is img YunQiang Su
2023-06-16  6:34 ` [PATCH v4 3/7] MIPS: Fix r6 testsuites YunQiang Su
2023-06-16  6:34 ` [PATCH v4 4/7] MIPS: Fix -gnuabi64 testsuite YunQiang Su
2023-06-16  6:34 ` [PATCH v4 5/7] MIPS: Fix some ld testcases with compiler YunQiang Su
2023-06-19  6:44   ` Alan Modra
2023-06-19 10:43     ` YunQiang Su
2023-06-20  0:00       ` Alan Modra
2023-06-20  1:40         ` YunQiang Su
2023-06-20  2:34           ` Alan Modra
2023-06-20  3:17             ` YunQiang Su
2023-06-20  3:57               ` Alan Modra
2023-06-21  5:05                 ` YunQiang Su
2023-06-21 10:53                   ` YunQiang Su [this message]
2023-06-21 10:59                     ` Xi Ruoyao
2023-06-21 11:03                       ` YunQiang Su
2023-06-29 14:17       ` YunQiang Su
2023-06-20  2:58     ` Alan Modra
2023-07-03  4:00     ` YunQiang Su
2023-06-16  6:34 ` [PATCH v4 6/7] MIPS: Disable fix-rm7000-2 and llpscp-64 if not has_newabi YunQiang Su
2023-06-16  6:34 ` [PATCH v4 7/7] MIPS: Fix Irix gas testcases YunQiang Su
2023-08-15  4:40   ` YunQiang Su
2023-08-15  6:13     ` Jan Beulich
2023-08-15 10:14       ` Maciej W. Rozycki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKcpw6Uacii-4YgFd-9C2kiB0CHOPX9idp5jDqg45TSEGg2cxQ@mail.gmail.com \
    --to=wzssyqa@gmail.com \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=jbeulich@suse.com \
    --cc=macro@orcam.me.uk \
    --cc=paul.hua.gm@gmail.com \
    --cc=yunqiang.su@cipunited.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).