This is the mail archive of the gcc@gcc.gnu.org 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: GCC 4.5.1 Release Candidate available from gcc.gnu.org


On Fri, 23 Jul 2010, Dennis Clarke wrote:

> > Dennis Clarke <dclarke@blastwave.org> writes:
> >
> >> FYI , bug 44455 is a show stopper in the Solaris world.
> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
> >
> > This is
> >
> > bootstrap/44455	GCC fails to build if MPFR 3.0.0 (Release Candidate) is
> used
> >
> > Why would this be a showstopper?  Who forces you to build and install
> mpfr 3.0.0?   OpenSolaris comes with 2.4.1, and older versions don't
> 
> OpenSolaris is not a production release run by anyone anywhere :-)
> 
> > have mpfr bundled at all, so just use a version that works with GCC,
> building it in-tree if you must.
> 
> OKay .. I guess details are needed.
> 
> If I place the latest mpfr and gmp and mpc and ppl and cloog in tree then
> the build fails in stage one very early with bizarre warning about not
> being able to find gmp rev greater than 4.3.1 despite the face that I have
> already built and tested :
> 
> GMP: include 4.3.2, lib 4.3.2
> MPFR: include 3.0.0-p3, lib 3.0.0-p3
> MPC: include 0.8.2, lib 0.8.2
> 
> Those would all be installed in /usr/local with no surprises.
> 
> Regardless .. the build fails with the same message as bugid 44455.
> 
> Of course I try with gmp-5.0.1 first and that also fails so long as ppl is
> around in the tree.
> 
> So I throw away ppl and cloog ( which I have *never* seen build on Solaris
> 10 anyways ) and then the build fails a little later with :
> 
> make[3]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/gcc'
> mkdir i386-pc-solaris2.10/libgcc
> Checking multilib configuration for libgcc...
> Configuring stage 1 in i386-pc-solaris2.10/libgcc
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
> checking for gawk... nawk
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for i386-pc-solaris2.10-ar... ar
> checking for i386-pc-solaris2.10-lipo... lipo
> checking for i386-pc-solaris2.10-nm...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
> checking for i386-pc-solaris2.10-ranlib... ranlib
> checking for i386-pc-solaris2.10-strip... strip
> checking whether ln -s works... yes
> checking for i386-pc-solaris2.10-gcc...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    accepts -g... yes
> checking for
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    option to accept ISO
> C89... none needed
> checking how to run the C preprocessor...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    -E
> checking whether decimal floating point is supported... no
> checking whether fixed-point is supported... no
> checking for __attribute__((visibility("hidden")))... no
> checking whether the target assembler supports thread-local storage... yes
> checking whether the thread-local storage support is from emutls... no
> configure: updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing default commands
> Adding multilib support to Makefile in
> ../../../gcc-4.5.1-RC-20100722/libgcc
> multidirs=amd64
> with_multisubdir=
> Running configure in multilib subdirs amd64
> pwd:
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/libgcc
> Running configure in multilib subdir amd64
> pwd:
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10
> mkdir amd64
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
> checking for gawk... nawk
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for i386-pc-solaris2.10-ar... ar
> checking for i386-pc-solaris2.10-lipo... lipo
> checking for i386-pc-solaris2.10-nm...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
> checking for i386-pc-solaris2.10-ranlib... ranlib
> checking for i386-pc-solaris2.10-strip... strip
> checking whether ln -s works... yes
> checking for i386-pc-solaris2.10-gcc...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include  -m64
> checking for suffix of object files... configure: error: in
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/amd64/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
> make: *** [all] Error 2
> [fortius]
> 
> My configure line was :
> 
> ../gcc-4.5.1-RC-20100722/configure --with-gnu-as \
> --with-as=/opt/csw/bin/gas --without-gnu-ld \
> --with-ld=/usr/ccs/bin/ld --with-cpu-32=i386 \
> --with-cpu-64=opteron --with-arch-32=i386 \
> --with-arch-64=opteron --enable-stage1-languages=c \
> --enable-nls --with-libiconv-prefix=/usr/local \
> --enable-threads=posix --with-gmp=/usr/local \
> --with-mpfr=/usr/local --with-mpc=/usr/local \
> --prefix=/usr/local/gcc4 --with-local-prefix=/usr/local \
> --enable-shared --enable-multilib --with-system-zlib \
> --with-pkgversion=Blastwave.org\ Inc.\ Fri\ Jul\ 23\ 03\:16\:26\ GMT\ 2010 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support \
> --enable-languages=c,c++,objc,fortran --enable-bootstrap
> 
> If I go back and rebuild gmp mpfr and mpc thus :
> 
> 
> GMP: include 5.0.1, lib 5.0.1
> MPFR: include 3.0.0-p3, lib 3.0.0-p3
> MPC: include 0.8.2, lib 0.8.2

Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
not build these libraries in-tree.

Richard.


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