Re: Error during building stage 2 gcc-9.2.0: "configure: error: cannot compute sizeof (long long)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Winston Smith schrieb:
> > Hi All,
> > 
> > 
> > I've trying to build gcc-9.2.0 on a host with gcc-4.5.1, matching 
> > versions of mpfr, gmp and mpc are symlinked into the top-level of the 
> > tree.
> > 
> > 
> > This is my configure:
> > 
> > 
> > $ mkdir build
> > 
> > $ cd build
> > 
> > $ ../configure --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap
> > --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls 
> > --disable-shared --disable-multilib --disable-decimal-float 
> > --disable-threads --disable-libatomic --disable-libgomp 
> > --disable-libquadmath
> >  --disable-libssp --disable-libvtv --disable-libstdcxx 
> > --enable-languages=c,c++
> 
> Configuring in the source tree is not supported, hence fix that one 
> first.  As you already messed up the sources, better get fresh ones.
> http://gcc.gnu.org/install/configure.html

Done all that, still the error persists:

$ ls
gcc-9.2.0
$ mkdir gcc-9.2.0-build
$ cd gcc-9.2.0-build
$ ../gcc-9.2.0/configure --prefix=/tmp/chroot-gcc/usr/ --enable-bootstrap
 --with-glibc-version=2.12 --with-newlib --without-headers --disable-nls
 --disable-shared --disable-multilib --disable-decimal-float --disable-threads
 --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp
 --disable-libvtv --disable-libstdcxx --enable-languages=c,c++
...
Configuring stage 2 in ./gcc
...
checking for log long... yes
checking size of long long... configure: error: in `/tmp/sources/gcc-9.2.0-build/gcc':
configure: error: cannot compute sizeof (long long)
...
The exact same error in the config.log.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux