Debian Bug report logs -
#798710
gcc-6: libgccjit is broken on mips*
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>:
Bug#798710; Package gcc-5.
(Fri, 11 Sep 2015 20:15:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>:
New Bug report received and forwarded. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Fri, 11 Sep 2015 20:15:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: gcc-5
Version: 5.2.1-15
Severity: serious
Tags: sid
User: debian-mips@lists.debian.org
Hello,
Package gcc-5_5.2.1-15 is causing following issue during package pygccjit_0.4-4 build:
test_bf_jit (test.JitTests) ... /tmp/libgccjit-HxB6hJ/fake.s: Assembler messages:
/tmp/libgccjit-HxB6hJ/fake.s:14: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:14: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:15: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:22: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:24: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:201: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
/tmp/libgccjit-HxB6hJ/fake.s:202: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
libgccjit.so: error: error invoking gcc driver: exit_status: 256 err: 0
libgccjit.so: error: whilst attempting to run a driver named: mipsel-linux-gnu-gcc-5
libgccjit.so: error: PATH was: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ERROR
For this issue to be seen on pygccjit build log, one could rebuild package against new gcc-5 version.
This issue is not noticed with gcc-5 version gcc-5_5.1.1-13 that is in pygccjit build log:
https://buildd.debian.org/status/fetch.php?pkg=pygccjit&arch=mips&ver=0.4-4&stamp=1436417562
Problem that is present with gcc-5_5.1.1-13 is still there on gcc-5_5.2.1-15 and I will open a separate bug report for this issue.
Here are lines that I get during package build with gcc-5_5.1.1-14:
gcc-5 -shared /tmp/libgccjit-z1jPnd/fake.s -o /tmp/libgccjit-z1jPnd/fake.so -fno-use-linker-plugin
and gcc-5_5.2.1-15:
gcc-5 -EL -mips1 -mabi=32 -shared /tmp/libgccjit-piCaTh/fake.s -o /tmp/libgccjit-piCaTh/fake.so -fno-use-linker-plugin
Notice mips1 flag in build line.
I have traced back changes that caused this new issue and they are first introduces with gcc-5_5.2.1-13 version:
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/jit/jit-playback.h?r1=225207&r2=226126
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/jit/jit-playback.c?r1=225726&r2=226126
After reverting these patches on MIPS this issue is not there any more.
This is confirmed with gcc-5_5.2.1-15 built with those changes reverted.
This issue is found in versions:
5.2.1-13, 5.2.1-14, 5.2.1-15, 5.2.1-16.
Suggestions are welcomed.
Thank you!
Regards,
Jurica
[Message part 2 (text/html, inline)]
Marked as found in versions gcc-5/5.2.1-14.
Request was from Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>
to control@bugs.debian.org.
(Fri, 11 Sep 2015 20:27:10 GMT) (full text, mbox, link).
Marked as found in versions gcc-5/5.2.1-13.
Request was from Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>
to control@bugs.debian.org.
(Fri, 11 Sep 2015 20:27:11 GMT) (full text, mbox, link).
Changed Bug title to 'jit-playback changes brake package pygccjit build on mips and mipsel' from 'jit-playback changes brake package pygccjit build'
Request was from Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>
to control@bugs.debian.org.
(Fri, 11 Sep 2015 20:33:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>:
Bug#798710; Package gcc-5.
(Sat, 12 Sep 2015 18:45:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Sat, 12 Sep 2015 18:45:08 GMT) (full text, mbox, link).
Message #16 received at 798710@bugs.debian.org (full text, mbox, reply):
Control: severity -1 wishlist
Control: tags -1 + help
On 09/11/2015 10:11 PM, Jurica Stanojkovic wrote:
> Package: gcc-5
> Version: 5.2.1-15
> Severity: serious
> Tags: sid
> User: debian-mips@lists.debian.org
>
> Package gcc-5_5.2.1-15 is causing following issue during package pygccjit_0.4-4 build:
pygccjit never built on mips/mipsel. Please investigate and send a patch to
upstream.
> test_bf_jit (test.JitTests) ... /tmp/libgccjit-HxB6hJ/fake.s: Assembler messages:
> /tmp/libgccjit-HxB6hJ/fake.s:14: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:14: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:15: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:22: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:24: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:201: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> /tmp/libgccjit-HxB6hJ/fake.s:202: Error: `fp=xx' used with a cpu lacking ldc1/sdc1 instructions
> libgccjit.so: error: error invoking gcc driver: exit_status: 256 err: 0
> libgccjit.so: error: whilst attempting to run a driver named: mipsel-linux-gnu-gcc-5
> libgccjit.so: error: PATH was: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> ERROR
>
> For this issue to be seen on pygccjit build log, one could rebuild package against new gcc-5 version.
>
> This issue is not noticed with gcc-5 version gcc-5_5.1.1-13 that is in pygccjit build log:
> https://buildd.debian.org/status/fetch.php?pkg=pygccjit&arch=mips&ver=0.4-4&stamp=1436417562
> Problem that is present with gcc-5_5.1.1-13 is still there on gcc-5_5.2.1-15 and I will open a separate bug report for this issue.
>
> Here are lines that I get during package build with gcc-5_5.1.1-14:
> gcc-5 -shared /tmp/libgccjit-z1jPnd/fake.s -o /tmp/libgccjit-z1jPnd/fake.so -fno-use-linker-plugin
>
> and gcc-5_5.2.1-15:
> gcc-5 -EL -mips1 -mabi=32 -shared /tmp/libgccjit-piCaTh/fake.s -o /tmp/libgccjit-piCaTh/fake.so -fno-use-linker-plugin
>
> Notice mips1 flag in build line.
>
> I have traced back changes that caused this new issue and they are first introduces with gcc-5_5.2.1-13 version:
> https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/jit/jit-playback.h?r1=225207&r2=226126
> https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/jit/jit-playback.c?r1=225726&r2=226126
>
> After reverting these patches on MIPS this issue is not there any more.
> This is confirmed with gcc-5_5.2.1-15 built with those changes reverted.
>
> This issue is found in versions:
> 5.2.1-13, 5.2.1-14, 5.2.1-15, 5.2.1-16.
>
> Suggestions are welcomed.
>
> Thank you!
>
> Regards,
> Jurica
>
Severity set to 'wishlist' from 'serious'
Request was from Matthias Klose <doko@debian.org>
to 798710-submit@bugs.debian.org.
(Sat, 12 Sep 2015 18:45:08 GMT) (full text, mbox, link).
Added tag(s) help.
Request was from Matthias Klose <doko@debian.org>
to 798710-submit@bugs.debian.org.
(Sat, 12 Sep 2015 18:45:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>:
Bug#798710; Package gcc-5.
(Sat, 12 Sep 2015 21:54:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Sat, 12 Sep 2015 21:54:07 GMT) (full text, mbox, link).
Message #25 received at 798710@bugs.debian.org (full text, mbox, reply):
Please do note that this error is caused by changes that occurred in gcc-5_5.2.1-13.
Building pygccjit with gcc-5_5.2.1-12 or gcc-5_5.1.1-14 or gcc-5_5.1.1-13 version of gcc-5
binary packages do not cause this issue.
I just have to install some of previously listed version of gcc-5-base and libgccjit0 binary packages to not have this issue.
pygccjit is newer built on mips/mipsel because -fPIC flag is missing on following line:
gcc-5 -shared /tmp/libgccjit-z1jPnd/fake.s -o /tmp/libgccjit-z1jPnd/fake.so -fno-use-linker-plugin
Which is configured in libgccjit and I wasnt able to change this on pygccjit level.
This is done in gcc-5 source in jit-playback.c file.
I will have to file this bug during next week to gcc-5 again, because this again is likely a libgccjit error for mips/mipsel.
Issue that I was able to solve on gcc-5_5.1.1-14 version, and I wanted to send a patch when new issue is introduced to pygccjit by a gcc-5 moving to a 5.2-1-15 version.
So I had to try to figure out first this new regression.
I you try to build pygccjit_0.4-4 now (give-back) you will notice this new issue.
Thank you!
Regards,
Jurica
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GCC Maintainers <debian-gcc@lists.debian.org>:
Bug#798710; Package gcc-5.
(Thu, 16 Feb 2017 18:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to James Cowgill <jcowgill@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GCC Maintainers <debian-gcc@lists.debian.org>.
(Thu, 16 Feb 2017 18:00:03 GMT) (full text, mbox, link).
Message #30 received at 798710@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 gcc-6 6.3.0-6
Control: tags -1 - sid
Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79560
Control: retitle -1 gcc-6: libgccjit is broken on mips*
Hi,
I've checked recent versions of GCC and this bug is still present in
gcc-6 and gcc-7 and I've submitted it to the upstream bug tracker. It
seems to me that the value of MULTILIB_DEFAULTS is incorrect in the MIPS
backend but I don't really know much about it so we'll see what upstream
GCC says!
Thanks,
James
[signature.asc (application/pgp-signature, attachment)]
Bug reassigned from package 'gcc-5' to 'gcc-6'.
Request was from James Cowgill <jcowgill@debian.org>
to 798710-submit@bugs.debian.org.
(Thu, 16 Feb 2017 18:00:03 GMT) (full text, mbox, link).
No longer marked as found in versions gcc-5/5.2.1-15, gcc-5/5.2.1-13, and gcc-5/5.2.1-14.
Request was from James Cowgill <jcowgill@debian.org>
to 798710-submit@bugs.debian.org.
(Thu, 16 Feb 2017 18:00:03 GMT) (full text, mbox, link).
Marked as found in versions gcc-6/6.3.0-6.
Request was from James Cowgill <jcowgill@debian.org>
to 798710-submit@bugs.debian.org.
(Thu, 16 Feb 2017 18:00:04 GMT) (full text, mbox, link).
Removed tag(s) sid.
Request was from James Cowgill <jcowgill@debian.org>
to 798710-submit@bugs.debian.org.
(Thu, 16 Feb 2017 18:00:04 GMT) (full text, mbox, link).
Changed Bug title to 'gcc-6: libgccjit is broken on mips*' from 'jit-playback changes brake package pygccjit build on mips and mipsel'.
Request was from James Cowgill <jcowgill@debian.org>
to 798710-submit@bugs.debian.org.
(Thu, 16 Feb 2017 18:00:05 GMT) (full text, mbox, link).
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Thu, 07 Feb 2019 03:15:12 GMT) (full text, mbox, link).
Notification sent
to Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>:
Bug acknowledged by developer.
(Thu, 07 Feb 2019 03:15:12 GMT) (full text, mbox, link).
Message #47 received at 798710-done@bugs.debian.org (full text, mbox, reply):
Version: 6.5.0-2+rm
Dear submitter,
as the package gcc-6 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/920171
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 07 Mar 2019 07:26:10 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:
Wed Sep 27 07:35:02 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.