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 kirjoitti 4.1.2020 klo 18.22:
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

The following configure options don't sound sane at all :


--with-glibc-version=2.12 --with-newlib --without-headers


The glibc version should be automatically be found. The two next are for embedded targets using newlib or nothing at all
as the target C library (no headers for it).

Better to check the current gcc-4.5.1, if configuring it included the following :

  --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp
--disable-libquadmath
  --disable-libssp --disable-libvtv --disable-libstdcxx

At least the '--disable-shared' isn't sane.  The default for Linux etc nowadays is to use shared ('.so*') files in linking and
when running apps.





[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