Error during building stage 2 gcc-9.2.0: "configure: error: cannot compute sizeof (long long)
Xi Ruoyao
xry111@mengyan1223.wang
Sun Jan 5 12:46:00 GMT 2020
On 2020-01-05 12:19 +0000, Winston Smith wrote:
> > 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++
With --disable-libstdcxx you can't bootstrap gcc, because stage 2 gcc has to
link to stage 1 libstdc++.
--
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University
More information about the Gcc-help
mailing list