public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 11.1.0 mpfr
@ 2021-05-11 14:31 Guy Harrison
  2021-05-11 15:35 ` Serge Belyshev
  0 siblings, 1 reply; 9+ messages in thread
From: Guy Harrison @ 2021-05-11 14:31 UTC (permalink / raw)
  To: gcc


Hi,

(was advised to post here rather than gcc-help@)

$ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log 
checking for the correct version of mpfr.h... buggy but acceptable

It appears "gcc-11.1.0/contrib/download_prerequisites"  
specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure' 
has "MPFR_VERSION_NUM(3,1,6)".

Is there a reason mpfr 3.1.6 isn't being used?

TIA

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-11 14:31 gcc 11.1.0 mpfr Guy Harrison
@ 2021-05-11 15:35 ` Serge Belyshev
  2021-05-12  8:51   ` Richard Biener
  0 siblings, 1 reply; 9+ messages in thread
From: Serge Belyshev @ 2021-05-11 15:35 UTC (permalink / raw)
  To: Guy Harrison; +Cc: gcc


> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log 
> checking for the correct version of mpfr.h... buggy but acceptable
>
> It appears "gcc-11.1.0/contrib/download_prerequisites"  
> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure' 
> has "MPFR_VERSION_NUM(3,1,6)".
>
> Is there a reason mpfr 3.1.6 isn't being used?

No good reason: that script was not updated with new versions. GCC-11 is
also known to work fine with the most recent mpfr version 4.1.0.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-11 15:35 ` Serge Belyshev
@ 2021-05-12  8:51   ` Richard Biener
  2021-05-14  8:44     ` Guy Harrison
  2021-05-14  8:53     ` Martin Liška
  0 siblings, 2 replies; 9+ messages in thread
From: Richard Biener @ 2021-05-12  8:51 UTC (permalink / raw)
  To: Serge Belyshev; +Cc: Guy Harrison, GCC Development, Janne Blomqvist

On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc <gcc@gcc.gnu.org> wrote:
>
>
> > $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
> > checking for the correct version of mpfr.h... buggy but acceptable
> >
> > It appears "gcc-11.1.0/contrib/download_prerequisites"
> > specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
> > has "MPFR_VERSION_NUM(3,1,6)".
> >
> > Is there a reason mpfr 3.1.6 isn't being used?
>
> No good reason: that script was not updated with new versions. GCC-11 is
> also known to work fine with the most recent mpfr version 4.1.0.

Yes, the update of the minimum version and the buggy check was
done by Janne w/o adjusting the download script.

Richard.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-12  8:51   ` Richard Biener
@ 2021-05-14  8:44     ` Guy Harrison
  2021-05-14  8:53     ` Martin Liška
  1 sibling, 0 replies; 9+ messages in thread
From: Guy Harrison @ 2021-05-14  8:44 UTC (permalink / raw)
  To: GCC Development

On Wednesday 12 May 2021 09:51:45 Richard Biener wrote:
> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc <gcc@gcc.gnu.org> 
wrote:
> > > $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
> > > checking for the correct version of mpfr.h... buggy but acceptable
> > >
> > > It appears "gcc-11.1.0/contrib/download_prerequisites"
> > > specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
> > > has "MPFR_VERSION_NUM(3,1,6)".
> > >
> > > Is there a reason mpfr 3.1.6 isn't being used?
> >
> > No good reason: that script was not updated with new versions. GCC-11
> > is also known to work fine with the most recent mpfr version 4.1.0.
>
> Yes, the update of the minimum version and the buggy check was
> done by Janne w/o adjusting the download script.
>
> Richard.

Thanks folks.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-12  8:51   ` Richard Biener
  2021-05-14  8:44     ` Guy Harrison
@ 2021-05-14  8:53     ` Martin Liška
  2021-05-14  9:32       ` Richard Biener
  1 sibling, 1 reply; 9+ messages in thread
From: Martin Liška @ 2021-05-14  8:53 UTC (permalink / raw)
  To: Richard Biener, Serge Belyshev; +Cc: GCC Development

On 5/12/21 10:51 AM, Richard Biener via Gcc wrote:
> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc <gcc@gcc.gnu.org> wrote:
>>
>>
>>> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
>>> checking for the correct version of mpfr.h... buggy but acceptable
>>>
>>> It appears "gcc-11.1.0/contrib/download_prerequisites"
>>> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
>>> has "MPFR_VERSION_NUM(3,1,6)".
>>>
>>> Is there a reason mpfr 3.1.6 isn't being used?
>>
>> No good reason: that script was not updated with new versions. GCC-11 is
>> also known to work fine with the most recent mpfr version 4.1.0.
> 
> Yes, the update of the minimum version and the buggy check was
> done by Janne w/o adjusting the download script.
> 
> Richard.
> 

Should I adjust download_prerequisites accordingly?

Martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-14  8:53     ` Martin Liška
@ 2021-05-14  9:32       ` Richard Biener
  2021-05-14 20:20         ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Biener @ 2021-05-14  9:32 UTC (permalink / raw)
  To: Martin Liška, Serge Belyshev; +Cc: GCC Development

On May 14, 2021 10:53:21 AM GMT+02:00, "Martin Liška" <mliska@suse.cz> wrote:
>On 5/12/21 10:51 AM, Richard Biener via Gcc wrote:
>> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc
><gcc@gcc.gnu.org> wrote:
>>>
>>>
>>>> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
>>>> checking for the correct version of mpfr.h... buggy but acceptable
>>>>
>>>> It appears "gcc-11.1.0/contrib/download_prerequisites"
>>>> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
>>>> has "MPFR_VERSION_NUM(3,1,6)".
>>>>
>>>> Is there a reason mpfr 3.1.6 isn't being used?
>>>
>>> No good reason: that script was not updated with new versions.
>GCC-11 is
>>> also known to work fine with the most recent mpfr version 4.1.0.
>> 
>> Yes, the update of the minimum version and the buggy check was
>> done by Janne w/o adjusting the download script.
>> 
>> Richard.
>> 
>
>Should I adjust download_prerequisites accordingly?

Yes.

Richard. 

>Martin


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-14  9:32       ` Richard Biener
@ 2021-05-14 20:20         ` Andrew Pinski
  2021-05-16 14:37           ` Bernd Edlinger
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Pinski @ 2021-05-14 20:20 UTC (permalink / raw)
  To: Richard Biener; +Cc: Martin Liška, Serge Belyshev, GCC Development

On Fri, May 14, 2021 at 3:27 AM Richard Biener via Gcc <gcc@gcc.gnu.org> wrote:
>
> On May 14, 2021 10:53:21 AM GMT+02:00, "Martin Liška" <mliska@suse.cz> wrote:
> >On 5/12/21 10:51 AM, Richard Biener via Gcc wrote:
> >> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc
> ><gcc@gcc.gnu.org> wrote:
> >>>
> >>>
> >>>> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
> >>>> checking for the correct version of mpfr.h... buggy but acceptable
> >>>>
> >>>> It appears "gcc-11.1.0/contrib/download_prerequisites"
> >>>> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
> >>>> has "MPFR_VERSION_NUM(3,1,6)".
> >>>>
> >>>> Is there a reason mpfr 3.1.6 isn't being used?
> >>>
> >>> No good reason: that script was not updated with new versions.
> >GCC-11 is
> >>> also known to work fine with the most recent mpfr version 4.1.0.
> >>
> >> Yes, the update of the minimum version and the buggy check was
> >> done by Janne w/o adjusting the download script.
> >>
> >> Richard.
> >>
> >
> >Should I adjust download_prerequisites accordingly?
>
> Yes.

It looks like the adjustment was made but the file was not added uploaded:
[apinski@xeond2 gcc]$ ./contrib/download_prerequisites
2021-05-14 13:18:41
URL:http://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
[2383840/2383840] -> "gmp-6.1.0.tar.bz2" [1]
http://gcc.gnu.org/pub/gcc/infrastructure/mpfr-4.1.0.tar.bz2:
2021-05-14 13:18:42 ERROR 404: Not Found.
error: Cannot download mpfr-4.1.0.tar.bz2 from
http://gcc.gnu.org/pub/gcc/infrastructure/


Thanks,
Andrew Pinski


>
> Richard.
>
> >Martin
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-14 20:20         ` Andrew Pinski
@ 2021-05-16 14:37           ` Bernd Edlinger
  2021-05-17  6:59             ` Richard Biener
  0 siblings, 1 reply; 9+ messages in thread
From: Bernd Edlinger @ 2021-05-16 14:37 UTC (permalink / raw)
  To: Andrew Pinski, Richard Biener; +Cc: Serge Belyshev, GCC Development

On 5/14/21 10:20 PM, Andrew Pinski via Gcc wrote:
> On Fri, May 14, 2021 at 3:27 AM Richard Biener via Gcc <gcc@gcc.gnu.org> wrote:
>>
>> On May 14, 2021 10:53:21 AM GMT+02:00, "Martin Liška" <mliska@suse.cz> wrote:
>>> On 5/12/21 10:51 AM, Richard Biener via Gcc wrote:
>>>> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc
>>> <gcc@gcc.gnu.org> wrote:
>>>>>
>>>>>
>>>>>> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
>>>>>> checking for the correct version of mpfr.h... buggy but acceptable
>>>>>>
>>>>>> It appears "gcc-11.1.0/contrib/download_prerequisites"
>>>>>> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
>>>>>> has "MPFR_VERSION_NUM(3,1,6)".
>>>>>>
>>>>>> Is there a reason mpfr 3.1.6 isn't being used?
>>>>>
>>>>> No good reason: that script was not updated with new versions.
>>> GCC-11 is
>>>>> also known to work fine with the most recent mpfr version 4.1.0.
>>>>
>>>> Yes, the update of the minimum version and the buggy check was
>>>> done by Janne w/o adjusting the download script.
>>>>
>>>> Richard.
>>>>
>>>
>>> Should I adjust download_prerequisites accordingly?
>>
>> Yes.
> 
> It looks like the adjustment was made but the file was not added uploaded:
> [apinski@xeond2 gcc]$ ./contrib/download_prerequisites
> 2021-05-14 13:18:41
> URL:http://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
> [2383840/2383840] -> "gmp-6.1.0.tar.bz2" [1]
> http://gcc.gnu.org/pub/gcc/infrastructure/mpfr-4.1.0.tar.bz2:
> 2021-05-14 13:18:42 ERROR 404: Not Found.
> error: Cannot download mpfr-4.1.0.tar.bz2 from
> http://gcc.gnu.org/pub/gcc/infrastructure/
> 

Yes, indeed, and please do not forget to update also the hashes
in contrib/prerequisites.md5 and contrib/prerequisites.sha512 .

However, I wonder why we change only the default mpfr version to latest
available version but keep gmp and mpc versions from 2015?


Thanks
Bernd.


> 
> Thanks,
> Andrew Pinski
> 
> 
>>
>> Richard.
>>
>>> Martin
>>
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc 11.1.0 mpfr
  2021-05-16 14:37           ` Bernd Edlinger
@ 2021-05-17  6:59             ` Richard Biener
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Biener @ 2021-05-17  6:59 UTC (permalink / raw)
  To: Bernd Edlinger; +Cc: Andrew Pinski, Serge Belyshev, GCC Development

On Sun, May 16, 2021 at 4:37 PM Bernd Edlinger
<bernd.edlinger@hotmail.de> wrote:
>
> On 5/14/21 10:20 PM, Andrew Pinski via Gcc wrote:
> > On Fri, May 14, 2021 at 3:27 AM Richard Biener via Gcc <gcc@gcc.gnu.org> wrote:
> >>
> >> On May 14, 2021 10:53:21 AM GMT+02:00, "Martin Liška" <mliska@suse.cz> wrote:
> >>> On 5/12/21 10:51 AM, Richard Biener via Gcc wrote:
> >>>> On Tue, May 11, 2021 at 6:34 PM Serge Belyshev via Gcc
> >>> <gcc@gcc.gnu.org> wrote:
> >>>>>
> >>>>>
> >>>>>> $ egrep "mpfr\.h" log/cfg/cfg.gcc-11.1.0.log
> >>>>>> checking for the correct version of mpfr.h... buggy but acceptable
> >>>>>>
> >>>>>> It appears "gcc-11.1.0/contrib/download_prerequisites"
> >>>>>> specifies "mpfr-3.1.4.tar.bz2" whereas top level 'configure'
> >>>>>> has "MPFR_VERSION_NUM(3,1,6)".
> >>>>>>
> >>>>>> Is there a reason mpfr 3.1.6 isn't being used?
> >>>>>
> >>>>> No good reason: that script was not updated with new versions.
> >>> GCC-11 is
> >>>>> also known to work fine with the most recent mpfr version 4.1.0.
> >>>>
> >>>> Yes, the update of the minimum version and the buggy check was
> >>>> done by Janne w/o adjusting the download script.
> >>>>
> >>>> Richard.
> >>>>
> >>>
> >>> Should I adjust download_prerequisites accordingly?
> >>
> >> Yes.
> >
> > It looks like the adjustment was made but the file was not added uploaded:
> > [apinski@xeond2 gcc]$ ./contrib/download_prerequisites
> > 2021-05-14 13:18:41
> > URL:http://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
> > [2383840/2383840] -> "gmp-6.1.0.tar.bz2" [1]
> > http://gcc.gnu.org/pub/gcc/infrastructure/mpfr-4.1.0.tar.bz2:
> > 2021-05-14 13:18:42 ERROR 404: Not Found.
> > error: Cannot download mpfr-4.1.0.tar.bz2 from
> > http://gcc.gnu.org/pub/gcc/infrastructure/
> >
>
> Yes, indeed, and please do not forget to update also the hashes
> in contrib/prerequisites.md5 and contrib/prerequisites.sha512 .
>
> However, I wonder why we change only the default mpfr version to latest
> available version but keep gmp and mpc versions from 2015?

I've reverted the change and instead upped to 3.1.6 as I intended to suggest
to avoid printing the offending warning on configure time.  This can be picked
by branches that are similarly affected.

Any discussion on upping versions further needs to be accompanied by
actual testing on target/host combos where it's usually used (non-Linux).

Richard.

>
> Thanks
> Bernd.
>
>
> >
> > Thanks,
> > Andrew Pinski
> >
> >
> >>
> >> Richard.
> >>
> >>> Martin
> >>
> >

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-17  6:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 14:31 gcc 11.1.0 mpfr Guy Harrison
2021-05-11 15:35 ` Serge Belyshev
2021-05-12  8:51   ` Richard Biener
2021-05-14  8:44     ` Guy Harrison
2021-05-14  8:53     ` Martin Liška
2021-05-14  9:32       ` Richard Biener
2021-05-14 20:20         ` Andrew Pinski
2021-05-16 14:37           ` Bernd Edlinger
2021-05-17  6:59             ` Richard Biener

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).