Package: gcc-5
Version: 5.2.1-15
Severity: serious
Tags: sid
User: debian-m...@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

Reply via email to