Debian Bug report logs -
#765710
binutils test failures on mips and mipsel
Reported by: Matthias Klose <doko@debian.org>
Date: Fri, 17 Oct 2014 13:00:02 UTC
Severity: important
Found in version binutils/2.24.90.20141014-1
Done: Yunqiang Su <wzssyqa@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, debian-mips@lists.debian.org:
Bug#765710; Package src:binutils.
(Fri, 17 Oct 2014 13:00:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to debian-mips@lists.debian.org.
(Fri, 17 Oct 2014 13:00:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:binutils
Version: 2.24.90.20141014-1
Severity: important
The testsuite shows 29 test failures on both mips and mipsel. Please could a
porter have a look?
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#765710; Package src:binutils.
(Fri, 18 Jun 2021 01:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Yunqiang Su <wzssyqa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(Fri, 18 Jun 2021 01:45:03 GMT) (full text, mbox, link).
Message #10 received at 765710@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, 17 Oct 2014 14:56:39 +0200 Matthias Klose <doko@debian.org> wrote:
> Package: src:binutils
> Version: 2.24.90.20141014-1
> Severity: important
>
> The testsuite shows 29 test failures on both mips and mipsel. Please could a
> porter have a look?
I just notice that the binutils 2.36.50.20210601-1 meet a new fail:
ar with versioned solib
It is due to:
Our gcc is FPXX default, so the output of asm code has
.module fp=xx
While as is MIPS I default,
It complains that LDC1/SDC1 is not available on MIPS I.
Here is the workaround:
Index: binutils-2.36.50.20210601/gas/config/tc-mips.c
===================================================================
--- binutils-2.36.50.20210601.orig/gas/config/tc-mips.c
+++ binutils-2.36.50.20210601/gas/config/tc-mips.c
@@ -16741,6 +16741,9 @@ parse_code_option (char * name)
else
return OPTION_TYPE_BAD;
+ if (mips_opts.isa == ISA_MIPS1 && mips_opts.fp == 0)
+ mips_opts.isa = ISA_MIPS2;
+
return isa_set ? OPTION_TYPE_ISA : OPTION_TYPE_NORMAL;
}
I have send a patch to gcc upstream about the real solution:
Add .module mipsREV to asm code file.
https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572975.html
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#765710; Package src:binutils.
(Sat, 20 Nov 2021 13:06:02 GMT) (full text, mbox, link).
Acknowledgement sent
to suyunqiang <wzssyqa@icloud.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(Sat, 20 Nov 2021 13:06:02 GMT) (full text, mbox, link).
Message #15 received at 765710@bugs.debian.org (full text, mbox, reply):
On Fri, 18 Jun 2021 09:41:57 +0800 Yunqiang Su <wzssyqa@gmail.com> wrote:
> On Fri, 17 Oct 2014 14:56:39 +0200 Matthias Klose <doko@debian.org> wrote:
> > Package: src:binutils
> > Version: 2.24.90.20141014-1
> > Severity: important
> >
> > The testsuite shows 29 test failures on both mips and mipsel. Please could a
> > porter have a look?
>
> I just notice that the binutils 2.36.50.20210601-1 meet a new fail:
>
> ar with versioned solib
>
> It is due to:
>
> Our gcc is FPXX default, so the output of asm code has
> .module fp=xx
> While as is MIPS I default,
>
> It complains that LDC1/SDC1 is not available on MIPS I.
>
> Here is the workaround:
>
> Index: binutils-2.36.50.20210601/gas/config/tc-mips.c
> ===================================================================
> --- binutils-2.36.50.20210601.orig/gas/config/tc-mips.c
> +++ binutils-2.36.50.20210601/gas/config/tc-mips.c
> @@ -16741,6 +16741,9 @@ parse_code_option (char * name)
> else
> return OPTION_TYPE_BAD;
>
> + if (mips_opts.isa == ISA_MIPS1 && mips_opts.fp == 0)
> + mips_opts.isa = ISA_MIPS2;
> +
> return isa_set ? OPTION_TYPE_ISA : OPTION_TYPE_NORMAL;
> }
>
> I have send a patch to gcc upstream about the real solution:
> Add .module mipsREV to asm code file.
>
> https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572975.html
>
This patch has been accepted by gcc upstream.
So let’s just close this bug.
>
> >
> >
Reply sent
to Yunqiang Su <wzssyqa@gmail.com>:
You have taken responsibility.
(Tue, 07 Dec 2021 02:12:05 GMT) (full text, mbox, link).
Notification sent
to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer.
(Tue, 07 Dec 2021 02:12:05 GMT) (full text, mbox, link).
Message #20 received at 765710-done@bugs.debian.org (full text, mbox, reply):
On Sat, 20 Nov 2021 20:55:10 +0800 suyunqiang <wzssyqa@icloud.com> wrote:
> On Fri, 18 Jun 2021 09:41:57 +0800 Yunqiang Su <wzssyqa@gmail.com> wrote:
> > On Fri, 17 Oct 2014 14:56:39 +0200 Matthias Klose <doko@debian.org> wrote:
> > > Package: src:binutils
> > > Version: 2.24.90.20141014-1
> > > Severity: important
> > >
> > > The testsuite shows 29 test failures on both mips and mipsel. Please could a
> > > porter have a look?
> >
> > I just notice that the binutils 2.36.50.20210601-1 meet a new fail:
> >
> > ar with versioned solib
> >
> > It is due to:
> >
> > Our gcc is FPXX default, so the output of asm code has
> > .module fp=xx
> > While as is MIPS I default,
> >
> > It complains that LDC1/SDC1 is not available on MIPS I.
> >
> > Here is the workaround:
> >
> > Index: binutils-2.36.50.20210601/gas/config/tc-mips.c
> > ===================================================================
> > --- binutils-2.36.50.20210601.orig/gas/config/tc-mips.c
> > +++ binutils-2.36.50.20210601/gas/config/tc-mips.c
> > @@ -16741,6 +16741,9 @@ parse_code_option (char * name)
> > else
> > return OPTION_TYPE_BAD;
> >
> > + if (mips_opts.isa == ISA_MIPS1 && mips_opts.fp == 0)
> > + mips_opts.isa = ISA_MIPS2;
> > +
> > return isa_set ? OPTION_TYPE_ISA : OPTION_TYPE_NORMAL;
> > }
> >
> > I have send a patch to gcc upstream about the real solution:
> > Add .module mipsREV to asm code file.
> >
> > https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572975.html
> >
>
> This patch has been accepted by gcc upstream.
> So let’s just close this bug.
>
> >
> > >
> > >
>
>
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 04 Jan 2022 07:25:19 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Dec 26 06:58:09 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.