This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See crosstool-NG for lots
more information.
libstdc++ configuration error, ct-ng v1.16.0
- From: Michael Franklin <mfranklin at comfile dot co dot kr>
- To: crossgcc at sourceware dot org
- Date: Sun, 02 Sep 2012 02:05:42 +0900
- Subject: libstdc++ configuration error, ct-ng v1.16.0
- Reply-to: mfranklin at comfile dot co dot kr
Hello,
I'm having trouble understanding an error I'm receiving in the
'Installing final compiler for build' stage. It occurs when configuring
libstdc++. I'm hoping one of you swell folks would be willing to help
me decipher it and maybe suggest a solution. (See build log below)
I'm trying a Canadian Cross, and here's my setup
Build machine: Linux Mint 64 (resident GCC)
Host: x86_64-w64-mingw32 (mingw-w64 packages installed with Synaptic
Package Manager)
Target: arm-none-eabi
I've installed just about all packages with mingw and w64 in the name,
so I think I have all the necessary tools, headers, and libraries. Also
I've already built an arm-none-eabi Linux Mint compiler without any
trouble (Thanks to the crosstools-ng community for making it so easy)
It appears to me I'm missing some headers, but I think the headers just
can't be found. Maybe one of you can help me understand a little better.
Thanks,
Mike
Here's out output from the build.log.
**************************************************************************
checking whether the
/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/./gcc/xgcc
-shared-libgcc
-B/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/./gcc
-nostdinc++
-L/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/arm-w64_none-eabi/libstdc++-v3/src
-L/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/arm-w64_none-eabi/libstdc++-v3/src/.libs
-B/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/buildtools/arm-w64_none-eabi/bin/
-B/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/buildtools/arm-w64_none-eabi/lib/
-isystem
/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/buildtools/arm-w64_none-eabi/include
-isystem
/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/buildtools/arm-w64_none-eabi/sys-include
linker
(/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu/./gcc/collect-ld)
supports shared libraries... no
[ALL ] checking dynamic linker characteristics... no
[ALL ] checking how to hardcode library paths into programs... immediate
[ALL ] checking for exception model to use... call frame
[ALL ] checking for compiler with PCH support... no
[ALL ] checking for enabled PCH... no
[ALL ] checking for thread model used by GCC... single
[ALL ] checking for atomic builtins for bool... yes
[ALL ] checking for atomic builtins for short... yes
[ALL ] checking for atomic builtins for int... yes
[ALL ] checking for atomic builtins for long long... no
[ALL ] checking for ISO/IEC TR 24733 ... no
[ALL ] checking for __int128... no
[ALL ] checking for __float128... no
[ALL ] checking for g++ that supports -ffunction-sections
-fdata-sections... yes
[ALL ] checking for underlying I/O to use... stdio
[ALL ] checking for C locale to use... newlib
[ALL ] checking for std::allocator base class... new
[ALL ] configure: "C" header strategy set to c_global
[ALL ] checking for enabled long long specializations... yes
[ALL ] checking wchar.h usability... no
[ALL ] checking wchar.h presence... no
[ALL ] checking for wchar.h... no
[ALL ] checking for mbstate_t... no
[ALL ] checking wctype.h usability... no
[ALL ] checking wctype.h presence... no
[ALL ] checking for wctype.h... no
[ALL ] checking for enabled wchar_t specializations... no
[ALL ] checking for sin in -lm... yes
[ALL ] checking for ISO C99 support in <math.h>... no
[ALL ] checking tgmath.h usability... no
[ALL ] checking tgmath.h presence... no
[ALL ] checking for tgmath.h... no
[ALL ] checking complex.h usability... no
[ALL ] checking complex.h presence... no
[ALL ] checking for complex.h... no
[ALL ] no
[ALL ] checking for ISO C99 support in <stdio.h>... no
[ALL ] checking for ISO C99 support in <stdlib.h>... no
[ALL ] checking for fully enabled ISO C99 support... no
[ALL ] configure: Debug build flags set to -gdwarf-4 -g3 -O0
[ALL ] checking for additional debug build... no
[ALL ] configure: target-libgomp not built
[ALL ] checking for parallel mode support... no
[ALL ] checking for extra compiler flags for building...
[ALL ] checking for extern template support... yes
[ALL ] checking for custom python install directory... no
[ALL ] checking for -Werror... yes
[ALL ] checking for gets declaration... no
[ALL ] checking for EOWNERDEAD... no
[ALL ] checking for ENOTRECOVERABLE... no
[ALL ] checking for ENOLINK... no
[ALL ] checking for EPROTO... no
[ALL ] checking for ENODATA... no
[ALL ] checking for ENOSR... no
[ALL ] checking for ENOSTR... no
[ALL ] checking for ETIME... no
[ALL ] checking for EBADMSG... no
[ALL ] checking for ECANCELED... no
[ALL ] checking for EOVERFLOW... no
[ALL ] checking for ENOTSUP... no
[ALL ] checking for EIDRM... no
[ALL ] checking for ETXTBSY... no
[ALL ] checking for ECHILD... no
[ALL ] checking for ENOSPC... no
[ALL ] checking for EPERM... no
[ALL ] checking for ETIMEDOUT... no
[ALL ] checking for EWOULDBLOCK... no
[ALL ] checking for int64_t... checking for LFS support... no
[ALL ] checking sys/ioctl.h usability... no
[ALL ] checking sys/ioctl.h presence... no
[ALL ] checking for sys/ioctl.h... no
[ALL ] checking sys/filio.h usability... no
[ALL ] checking sys/filio.h presence... no
[ALL ] checking for sys/filio.h... no
[ALL ] checking for poll... no
[ALL ] checking for S_ISREG or S_IFREG... no
[ALL ] checking sys/uio.h usability... no
[ALL ] checking sys/uio.h presence... no
[ALL ] checking for sys/uio.h... no
[ALL ] checking for writev... no
[ALL ] checking for complex.h... (cached) no
[ALL ] no
[ALL ] checking for ISO C99 support to TR1 in <ctype.h>... no
[ALL ] checking fenv.h usability... no
[ALL ] checking fenv.h presence... no
[ALL ] checking for fenv.h... no
[ALL ] no
[ALL ] checking for ISO C99 support to TR1 in <stdint.h>... no
[ALL ] checking for ISO C99 support to TR1 in <math.h>... no
[ALL ] no
[ALL ] no
[ALL ] checking stdbool.h usability... no
[ALL ] checking stdbool.h presence... yes
[ALL ] configure: WARNING: stdbool.h: present but cannot be compiled
[ALL ] configure: WARNING: stdbool.h: check for missing
prerequisite headers?
[ALL ] configure: WARNING: stdbool.h: see the Autoconf documentation
[ALL ] configure: WARNING: stdbool.h: section "Present But
Cannot Be Compiled"
[ALL ] configure: WARNING: stdbool.h: proceeding with the compiler's
result
[ALL ] checking for stdbool.h... no
[ALL ] checking stdalign.h usability... no
[ALL ] checking stdalign.h presence... yes
[ALL ] configure: WARNING: stdalign.h: present but cannot be compiled
[ALL ] configure: WARNING: stdalign.h: check for missing
prerequisite headers?
[ALL ] configure: WARNING: stdalign.h: see the Autoconf documentation
[ALL ] configure: WARNING: stdalign.h: section "Present But
Cannot Be Compiled"
[ALL ] configure: WARNING: stdalign.h: proceeding with the
compiler's result
[ALL ] checking for stdalign.h... no
[ERROR] checking for the value of EOF... configure: error: computing
EOF failed
[ERROR] make[1]: *** [configure-target-libstdc++-v3] Error 1
[ALL ] make[1]: Leaving directory
`/home/mike/crosstool-ng-1.16.0/bin/.build/arm-w64_none-eabi/build/build-cc-final-build-x86_64-build_unknown-linux-gnu'
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing final compiler for build'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
--
For unsubscribe information see http://sourceware.org/lists.html#faq