[...] checking for libhsail-rt support... yes checking for x86_64-tld-linux-gcc... x86_64-tld-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-tld-linux-gcc accepts -g... yes checking for x86_64-tld-linux-gcc option to accept ISO C89... none needed checking for x86_64-tld-linux-g++... x86_64-tld-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-tld-linux-g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for x86_64-tld-linux-gnatbind... no checking for gnatbind... gnatbind checking for x86_64-tld-linux-gnatmake... no checking for gnatmake... gnatmake checking whether compiler driver understands Ada... yes checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... no configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. error: Bad exit status from /tmp/B.8Gkyjj/BUILD/tmp/rpm-tmp.77262 (%build) RPM build errors: Bad exit status from /tmp/B.8Gkyjj/BUILD/tmp/rpm-tmp.77262 (%build) ended at: Fri Aug 10 23:45:36 2018, done in 0:00:14.338052 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.8Gkyjj/BUILD + rm -rf /tmp/B.8Gkyjj/tmp /tmp/B.8Gkyjj/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.8Gkyjj Begin-TLD-Builder-Info Build-Time: user:7.89s sys:4.12s real:31.13s (faults io:160 non-io:211475) End-TLD-Builder-Info