RE: pygccjit give back

Jurica Stanojkovic <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Thank you!

I will try to to rebuild gcc-5 as you have suggested.

Regards,
Jurica

________________________________________
From: YunQiang Su [[email protected]]
Sent: 14 September 2015 14:50
To: Jurica Stanojkovic
Cc: Aurelien Jarno; [email protected]; [email protected]; [email protected]
Subject: Re: pygccjit give back

On Mon, Sep 14, 2015 at 8:43 PM, Jurica Stanojkovic
<[email protected]> wrote:
> Yes I am aware of that.
> There is a -mips1 flag in compile line.
> I am not sure what is the reason for this.
>
> Additionally 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
>
> Building gcc-5 from source without those changes resolved this issue on mips/mipsel.

I also find a possible reason, when build gccjit in gcc/debian/rules2,
it has no mips2 options used at all, then `-mips1' option may be set by default.

So maybe we can try to rebuild gcc-5 with --with-arch-32=mips32r2
--with-fp-32=xx
for gccjit.

>
> Thanks!
>
> Regards,
> Jurica
>
> ________________________________________
> From: YunQiang Su [[email protected]]
> Sent: 14 September 2015 14:32
> To: Jurica Stanojkovic
> Cc: Aurelien Jarno; [email protected]; [email protected]; [email protected]
> Subject: Re: pygccjit give back
>
> On Mon, Sep 14, 2015 at 6:09 PM, Jurica Stanojkovic
> <[email protected]> wrote:
>> Thank you!
>>
>> This was expected to happen.
>> I have asked for give-back in order for this new error about ldc1/sdc1 and fp=xx to became visible on pygccjit build log.
>> This issue was not there when gcc-5_5.1.1-13 binaries were used for package build.
>> Moving to newer gcc-5 binaries introduced this new issue to pygccjit.
>
> It should be introduced by enable fpxx by default.
> As ldc1/sdc1 are introduced from MIPS II.
> So, maybe somewhere, `-mips1' option is used.
>
>>
>> gcc-5 bug is reported here:
>> 798710: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798710
>>
>> Regards,
>> Jurica
>>
>>
>> ________________________________________
>> From: Aurelien Jarno [[email protected]]
>> Sent: 13 September 2015 01:21
>> To: Jurica Stanojkovic
>> Cc: [email protected]; [email protected]; [email protected]
>> Subject: Re: pygccjit give back
>>
>> Hi,
>>
>> On 2015-09-12 21:35, Jurica Stanojkovic wrote:
>>> Hello,
>>>
>>> Please give back package pygccjit_0.4-4 package on mips or mipsel if possible.
>>> This will help to notice new issue to this package introduced with new version of gcc-5 package.
>>> Following two changes to gcc-5 are causing this issue:
>>>
>>> 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
>>>
>>> Please take a look at Debian bug:
>>> 798710: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798710
>>
>> I have done that on both mips and mipsel. Unfortunately it already
>> failed on mips with the same error about ldc1/sdc1 and fp=xx.
>>
>> Aurelien
>>
>> --
>> Aurelien Jarno                          GPG: 4096R/1DDD8C9B
>> [email protected]                 http://www.aurel32.net
>>
>
>
>
> --
> YunQiang Su



--
YunQiang Su
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.