This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Non-DoD Source] Support Library Requirements for GCC 7.1


Normally I try building the latest gcc snapshots using the latest versions of 
prerequisite codes.  Some codes are required to build GCC itself while others 
are needed for the "make check" phase.  Below is what I use for the whole 
build and test process:

#  ActiveTcl-
#  autoconf-2.69.tar.gz        
#  autogen-5.18.12.tar.gz
#  binutils-2.28.tar.gz        
#  bison-3.0.4.tar.gz          
#  dejagnu-1.6.tar.gz          
#  expect5.45.tar.gz           
#  flex-2.6.0.tar.gz
#  gawk-4.1.4.tar.gz           
#  gc-7.6.0.tar.gz             
#  gcc-${ver}.tar.bz2${ver}/
#                                     or${ver}/
#  gdb-7.12.1.tar.gz           
#  gettext-     
#  gmp-6.1.2.tar.bz2           
#  guile-2.0.14.tar.gz         
#  isl-0.18.tar.gz             
#  libatomic_ops-7.4.4.tar.gz
#  libffi-3.2.1.tar.gz         
#  libtool-2.4.6.tar.gz        
#  libunistring-0.9.7.tar.gz   
#  m4-1.4.18.tar.gz            
#  mpc-1.0.3.tar.gz            
#  mpfr-3.1.5.tar.gz           
#  perl-5.24.1.tar.gz          
#  readline-7.0.tar.gz         
#  texinfo-6.3.tar.gz          

The exception I find to using the latest codes is guile.  With guile, the 
latest version I can use is 2.0.14. There are more recent versions of guile 
(2.2.0, 2.2.1, 2.2.2), but they seem to be incompatible with the GCC testing 
phase.  Unfortunately, clicking on the "documentation" link on the 7.1 
announcement page gives me


You don't have permission to access /onlinedocs/7.1.0/ on this server.
Apache Server at Port 443

Tom Oppe

-----Original Message-----
From: [] On Behalf Of Joel 
Sent: Tuesday, May 02, 2017 6:18 PM
To: GCC Mailing List <>
Subject: [Non-DoD Source] Support Library Requirements for GCC 7.1


I am trying to update the gcc version for rtems to 7.1 and running into 
trouble finding the correct versions of mpc, mpfr, and gmp. We build those as 
part of building gcc so we have configuration control over the set.

With gcc 6.3.0, we have this in our build recipe:

%define mpfr_version   2.4.2
%define mpc_version    0.8.1
%define gmp_version    4.3.2

I tried that with gcc 7.1.0 but the build failed complaining mpfr was too old. 
I upgraded mpfr and them got a compiler error which appeared to be GMP related 
so I bumped GMP. The same error remained:

../../../gcc-7.1.0/mpc/src/acos.c: In function 'mpc_acos':
../../../gcc-7.1.0/mpc/src/acos.c:192:19: error: 'GMP_RNDA' undeclared (first 
use in this function)
        : rnd_im == GMP_RNDA ? GMP_RNDZ

I bumped MPC to 1.0.3 which worked. Now we are using this in the build recipe.

%define mpfr_version   3.1.5
%define mpc_version    1.0.3
%define gmp_version    6.1.2

The gcc-7.1.0/INSTALL/prerequisites.html seem to be out of date. I am sure the 
minimum is lower than what I ended up using.

What are the correct minimums for gcc 7.1?



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]