This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: The next Cygwon toolchain build problem
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 5 Jan 2009 19:55:27 +0000 (UTC)
- Subject: [ECOS] Re: The next Cygwon toolchain build problem
- References: <gjtglf$t2v$1@ger.gmane.org>
On 2009-01-05, Grant Edwards <grante@visi.com> wrote:
> Mounting the directories in binary mode provided a
> considerable improvement (binutils will now build OK).
> However, after chugging away for an hour os so, the build of
> libstdc++ now fails. Does the error below look familiar to
> anybody?
>
> [This is using host gcc version 3.4.4 on Cygwin. The same
> build script works fine on Linux using host gcc 3.4.6]
>
>
> /home/grante/toolchain/build-gcc/gcc/xgcc -shared-libgcc -B/home/grante/toolchain/build-gcc/gcc/ -nostdinc++ -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/home/grante/toolchain/build-gcc/arm-elf/newlib/ -isystem /home/grante/toolchain/build-gcc/arm-elf/newlib/targ-include -isystem /home/grante/toolchain/src/gcc-3.2.1/newlib/libc/include -B/home/grante/toolchain/gnutools/arm-elf/bin/ -B/home/grante/toolchain/gnutools/arm-elf/lib/ -isystem /home/grante/toolchain/gnutools/arm-elf/include -nostdinc++ -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/arm-elf -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include -I/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libsupc++ -I/home
> /grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc -o locale-inst.o
> /home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc: In
> member function `_OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter,
> bool, std::ios_base&, _CharT, const std::basic_string<_CharT,
> std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT =
> char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]':
> /home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc:48: instantiated from here
> /home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc:1361: internal
> error: Segmentation fault
Same problem reported in 2006 with no apparent solution:
http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg238933.html
There's also a bug filed against gcc. The reply was that 3.2.1
is no longer supported. It's 3.4 that is exhibitting the bug,
but that's probably not supported either.
--
Grant Edwards grante Yow! I'm not an Iranian!!
at I voted for Dianne
visi.com Feinstein!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss