Never mind. I removed the distro provided libgmp-dev libmpfr-dev and libmpc-dev. All is well now :)


On Mon, Jan 13, 2014 at 5:23 PM, Jon Ringle <jon@ringle.org> wrote:
I built arm-v5te-linux-gnueabi hosted on i386 successfully and used it for a while.
Now I need to build the same toolchain hosted x86_64, but I'm running into a problem. I get the following error. Any ideas?

-------------------------------
target: cross-gcc-first.prepare
-------------------------------

mkdir -p /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build
cd /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build && \
                 PKG_CONFIG_PATH='' PKG_CONFIG_LIBDIR='/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/pkgconfig:/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/share/pkgconfig' PYTHONPATH="/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/python2.6/site-packages" MAKEINFO=: \
                /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2/configure --build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu --target=arm-v5te-linux-gnueabi --with-sysroot=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-v5te-linux-gnueabi --disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s --with-arch=armv5te  --enable-__cxa_atexit --disable-sjlj-exceptions --disable-nls --disable-decimal-float --disable-fixed-point --disable-win32-registry --enable-symvers=gnu --with-pkgversion=""OSELAS.Toolchain-2013.12.0"" --enable-threads="posix" --with-system-zlib --with-gmp=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host --with-mpfr=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host --with-isl=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host --with-cloog=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host --prefix=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/gcc-first --disable-shared --enable-languages=c --with-ld=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-ld --with-as=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-as --disable-checking --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath --disable-libatomic --with-system-zlib
checking build system type... x86_64-host-linux-gnu
checking host system type... x86_64-host-linux-gnu
checking target system type... arm-v5te-linux-gnueabi
checking for a BSD-compatible install... /usr/local/lib/ptxdist-2013.12.0/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/lib/ptxdist-2013.12.0/bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for libsanitizer support... no
checking for x86_64-host-linux-gnu-gcc... no
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-host-linux-gnu-g++... no
checking for x86_64-host-linux-gnu-c++... no
checking for x86_64-host-linux-gnu-gpp... no
checking for x86_64-host-linux-gnu-aCC... no
checking for x86_64-host-linux-gnu-CC... no
checking for x86_64-host-linux-gnu-cxx... no
checking for x86_64-host-linux-gnu-cc++... no
checking for x86_64-host-linux-gnu-cl.exe... no
checking for x86_64-host-linux-gnu-FCC... no
checking for x86_64-host-linux-gnu-KCC... no
checking for x86_64-host-linux-gnu-RCC... no
checking for x86_64-host-linux-gnu-xlC_r... no
checking for x86_64-host-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for x86_64-host-linux-gnu-gnatbind... no
checking for gnatbind... no
checking for x86_64-host-linux-gnu-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
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.
make: *** [/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/state/cross-gcc-first.prepare] Error 1
make: *** [gstate/arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized.build] Error 2



On Fri, Dec 20, 2013 at 9:19 AM, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
Hi,

I'm happy to announce that I've just released OSELAS.Toolchain-2013.12.0.

This is a major release with significant changes. All components of the
primary toolchains have been updated to the latest versions. The highlights
are:
 - gcc 4.8.2
 - glibc 2.18.0
 - binutils 2.24
 - kernel headers 3.12
 - gdb 7.6.1

We've also removed several older toolchains that have not seen any updates
in some time. Instead several new toolchains have been added:
 - arm-iwmmx-linux-gnueabi and i586-mingw32msvc are gone.
 - arm-cortexm4-eabihf new hardfloat toolchain for Cortex-M4
 - arm-cortexa9-linux-gnueabi* are replaced by arm-v7a-linux-gnueabi*
   The new toolchains are Optimized for Cortex-A9 but should run on any ARMv7
Also, all ARMv7 toolchains no generate Thumb2 Code by default.

Download the release here:
http://www.pengutronix.de/oselas/toolchain/download/

Enjoy,
Michael Olbrich

--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
ptxdist@pengutronix.de