From 3b207de011d13042b589031061bbe0d940e7b204 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 29 Jul 2010 08:37:56 +0200 Subject: dependencies: add svn as a mandatory tool Now that two packages (tremor and libsvgtiny) are being downloaded from svn, svn becomes a mandatory tool to run Buildroot. Signed-off-by: Thomas Petazzoni --- toolchain/dependencies/dependencies.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toolchain') diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 96f843fc5..b3822ef66 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -137,13 +137,15 @@ if ! $SHELL --version 2>&1 | grep -q '^GNU bash'; then fi; # Check that a few mandatory programs are installed -for prog in awk bison flex msgfmt makeinfo patch gzip bzip2 perl tar wget cpio python ; do +for prog in awk bison flex msgfmt makeinfo patch gzip bzip2 perl tar wget cpio python svn ; do if ! which $prog > /dev/null ; then /bin/echo -e "\nYou must install '$prog' on your build machine"; if test $prog = "makeinfo" ; then /bin/echo -e "makeinfo is usually part of the texinfo package in your distribution\n" elif test $prog = "msgfmt" ; then /bin/echo -e "msgfmt is usually part of the gettext package in your distribution\n" + elif test $prog = "svn" ; then + /bin/echo -e "svn is usually part of the subversion package in your distribution\n" else /bin/echo -e "\n" fi -- cgit v1.2.3-55-g7522 From d328fef63c7fb3b499a05e4b6cb7c32b795881ea Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 29 Jul 2010 09:38:20 +0200 Subject: gdb: disallow GDB_HOST on external toolchain builds The cross-gdb is supposed to be part of the external toolchain, so Buildroot does not need to build it. Moreover, GDB_HOST build currently fail with: ln -snf ../../bin/arm-unknown-linux-gnueabi-gdb \ /home/test/outputs/test-48/staging/usr/arm-unknown-linux-gnueabi/bin/gdb ln: creating symbolic link `/home/test/outputs/test-48/staging/usr/arm-unknown-linux-gnueabi/bin/gdb': No such file or directory And even worse: they overwrite the cross-gdb of the external toolchain! Signed-off-by: Thomas Petazzoni --- toolchain/gdb/Config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toolchain') diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in index 09701c75e..edd8715f1 100644 --- a/toolchain/gdb/Config.in +++ b/toolchain/gdb/Config.in @@ -18,6 +18,9 @@ config BR2_PACKAGE_GDB_SERVER config BR2_PACKAGE_GDB_HOST bool "Build gdb for the Host" + # cross-gdb is supposed to be part of the external + # toolchain. And the build currently fails. + depends on !BR2_TOOLCHAIN_EXTERNAL help Build gdb to run on the host to debug programs run on the target. -- cgit v1.2.3-55-g7522 From 60f945e47a15e10f0e777f69b05492b6f7ba918d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 29 Jul 2010 16:03:27 +0200 Subject: toolchain: mark uClibc 0.9.31 + locale + C++ as broken It fails to build with: ctype_members.cc: In constructor 'std::ctype_byname<_CharT>::ctype_byname(const char*, size_t) [with _CharT = char]': ctype_members.cc:59: error: invalid use of incomplete type 'struct __uclibc_locale_struct' /home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct' ctype_members.cc:60: error: invalid use of incomplete type 'struct __uclibc_locale_struct' /home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct' ctype_members.cc:61: error: invalid use of incomplete type 'struct __uclibc_locale_struct' /home/test/avr32-br/usr/avr32-unknown-linux-uclibc/sys-include/bits/uClibc_locale.h:85: error: forward declaration of 'struct __uclibc_locale_struct' make[5]: *** [ctype_members.lo] Error 1 Signed-off-by: Thomas Petazzoni --- toolchain/toolchain-common.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain') diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index bea0c7c43..3c70f9c77 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -157,6 +157,7 @@ config BR2_GCC_CROSS_CXX config BR2_INSTALL_LIBSTDCPP bool "Build/install c++ compiler and libstdc++?" select BR2_GCC_CROSS_CXX + depends on !(BR2_avr32 && BR2_ENABLE_LOCALE && BR2_UCLIBC_VERSION_0_9_31) help If you are building your own toolchain and want to build and install the C++ compiler and library then you need to enable this option. @@ -164,6 +165,9 @@ config BR2_INSTALL_LIBSTDCPP support and you want to use the compiler / library then you need to select this option. +comment "C++ support broken in uClibc 0.9.31 with locale enabled" + depends on BR2_avr32 && BR2_ENABLE_LOCALE && BR2_UCLIBC_VERSION_0_9_31 + config BR2_TARGET_OPTIMIZATION string "Target Optimizations" default "-pipe" -- cgit v1.2.3-55-g7522