Hi,
I have been trying to build the new toolchain on MacOSX. But building BINUTILS just keeps failing. I am using the toolchain builder v1.31 (June 17th, 2015) The output : Welcome to the coreboot cross toolchain builder v1.31 (June 17th, 2015)
Target architecture is now i386-elf ERROR: Missing tool: Please install 'g++' utility. (eg using your OS packaging system) Downloading tar balls ... * gmp-6.0.0a.tar.bz2 (cached) * mpfr-3.1.2.tar.bz2 (cached) * mpc-1.0.3.tar.gz (cached) * libelf-0.8.13.tar.gz (cached) * binutils-2.25.tar.bz2 (cached) * gcc-4.9.2.tar.bz2 (cached) Downloaded tar balls ... ok Unpacking and patching ... Unpacked and patched ... ok Building packages ... Skipping GMP as it is already built Skipping MPFR as it is already built Skipping MPC as it is already built Skipping LIBELF as it is already built Building BINUTILS 2.25 ... failed. Check build-i386-elf-BINUTILS/build.log. make[1]: *** [build-i386-without-gdb] Error 1 make: *** [crossgcc-i386] Error 2
The logs suggests there seem to be errors of this sort : /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cctype:51:72: error: use of undeclared identifier 'do_not_use_i salnum_with_safe_ctype'
Any ideas as to where to look and how I could solve this? Attaching the build logs (./util/crossgcc/build-i386-elf-BINUTILS/build.log) with this mail too.
Also, I tried building the older toolchain on the same machine (Macbook Air MacOS 10.9 Mavericks), and it succeeds. Here is the output : http://pastebin.com/1VTHRMmx
Regards, Naman