This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-4.4.0 configure error


Hello,

I tried to build gcc-4.4.0 for h8300-elf target and encountered next error.
Please let me know why it happened and how to build gcc-4.4.0 for h8300-elf target.


-- Source -- binutils-2.19.1.tar.bz2
gcc-4.4.0.tar.bz2
newlib-1.17.0.tar.gz


--- configure command
export TARGET=h8300-elf
export PREFIX=/gnutools
/src/gcc-4.4.0/configure --target=$TARGET --prefix=$PREFIX --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-ggxx-include-dir=/gnutools/sh-elf/include -v 2>&1 | tee configgcc.out
make -w all install 2>&1 | tee makegcc.txt


-- error log
make[8]: Entering directory `/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include'
mkdir -p ./h8300-elf/bits/stdc++.h.gch
/tmp/build/build_gcc/./gcc/xgcc -shared-libgcc -B/tmp/build/build_gcc/./gcc -nostdinc++ -L/tmp/build/build_gcc/h8300-elf
/h8300h/normal/int32/libstdc++-v3/src -L/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/src/.libs -nostd
inc -B/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/newlib/ -isystem /tmp/build/build_gcc/h8300-elf/h8300h/normal/i
nt32/newlib/targ-include -isystem /src/gcc-4.4.0/newlib/libc/include -B/gnutools/h8300-elf/bin/ -B/gnutools/h8300-elf/li
b/ -isystem /gnutools/h8300-elf/include -isystem /gnutools/h8300-elf/sys-include -mh -mn -mint32 -Winvalid-pch -x c++-h
eader -g -O2 -mh -mn -mint32 -I/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/h8300-elf -I/t
mp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include -I/src/gcc-4.4.0/libstdc++-v3/libsupc++ -O0 -g /sr
c/gcc-4.4.0/libstdc++-v3/include/precompiled/stdc++.h -o h8300-elf/bits/stdc++.h.gch/O0g.gch
In file included from /src/gcc-4.4.0/libstdc++-v3/include/precompiled/stdc++.h:64:
/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/bitset: In member function 'void std::bitset<_Nb
::_M_copy_from_ptr(const _CharT*, size_t, size_t, size_t, _CharT, _CharT)':
/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/bitset:1231: error: no matching function for cal
l to 'min(size_t&, int&)'
make[8]: *** [h8300-elf/bits/stdc++.h.gch/O0g.gch] Error 1
make[8]: Leaving directory `/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3/include'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/tmp/build/build_gcc/h8300-elf/h8300h/normal/int32/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory `/tmp/build/build_gcc/h8300-elf/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory `/tmp/build/build_gcc/h8300-elf/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/build/build_gcc/h8300-elf/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/build/build_gcc/h8300-elf/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/tmp/build/build_gcc'
make: *** [all] Error 2
make: Leaving directory `/tmp/build/build_gcc'


Please help me.

Masahiro Ariga





--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]