summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-03 03:28:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-03 03:28:19 +0000
commit4c194976e7e58913101fab5dd8318c060bdc5b2f (patch)
tree3d09cebdbaacaee49d1121b6ef22104e238fb0d1 /misc
parent570c2499545c38b7346b943976f6e983c1c35d66 (diff)
downloadnuttx-4c194976e7e58913101fab5dd8318c060bdc5b2f.tar.gz
nuttx-4c194976e7e58913101fab5dd8318c060bdc5b2f.tar.bz2
nuttx-4c194976e7e58913101fab5dd8318c060bdc5b2f.zip
hc12 won't build with GCC 4.3.3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2300 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc')
-rw-r--r--misc/buildroot/ChangeLog2
-rw-r--r--misc/buildroot/configs/README.txt23
-rw-r--r--misc/buildroot/configs/m68hc12-config-3.4.694
3 files changed, 114 insertions, 5 deletions
diff --git a/misc/buildroot/ChangeLog b/misc/buildroot/ChangeLog
index 5b32be16d..544c918e6 100644
--- a/misc/buildroot/ChangeLog
+++ b/misc/buildroot/ChangeLog
@@ -59,4 +59,6 @@ buildroot-2010.1 2010101010101010101010101010101010101010-xx-xx <spudmonkey@racs
* configs/arm7tdmi-defconfig-4.3.3: Update to arm7tdmi-defconfig-4.2.4.
Also builds NuttX NXFLAT tools.
* configs/m68hc12-defconfig-4.3.3: Update to m68ch11-defconfig.
+ * configs/m68hc12-defconfig-3.4.6: There are problems building GCC
+ 4.3.3 for the hc12.
diff --git a/misc/buildroot/configs/README.txt b/misc/buildroot/configs/README.txt
index bfba22cb4..d88470a4a 100644
--- a/misc/buildroot/configs/README.txt
+++ b/misc/buildroot/configs/README.txt
@@ -2,7 +2,7 @@ AVAILABLE CONFIGURATIONS
^^^^^^^^^^^^^^^^^^^^^^^^
arm-defconfig
- Builds an ARM toolchain using gcc 3.4.5
+ Builds an ARM toolchain using gcc 3.4.6
arm7tdmi-defconfig-4.2.4
arm920t-defconfig-4.2.4
@@ -57,19 +57,32 @@ bfin-defconfig-4.2.4
Builds an Blackfin toolchain using gcc 4.2.4
h8300_config
- Builds an H8/300 toolchain using gcc 3.4.5
+ Builds an H8/300 toolchain using gcc 3.4.6
m68hc11-config
- Builds an hc11/hc12 toolchain using gcc 3.4.5 .
+m68hc12-config-3.4.6
+ Builds an hc11/hc12 toolchain using gcc 3.4.6 .
m68hc12-config-4.3.3
Builds an hc11/hc12 toolchain using gcc 4.3.3.
+ This configuration fails to build with the following error:
+
+ make[3]: Entering directory `blabla/buildroot/toolchain_build_m68hc12/gcc-4.3.3-build/m68hc12-elf/libgcc'
+ ...
+ blabla/buildroot/toolchain_build_m68hc12/gcc-4.3.3/libgcc/../gcc/libgcc2.c:566: internal compiler error: in init_move_cost, at regclass.c:323
+ Please submit a full bug report,
+ with preprocessed source if appropriate.
+ See <http://gcc.gnu.org/bugs.html> for instructions.
+ make[3]: *** [_muldi3.o] Error 1
+ make[3]: Leaving directory `blabla/buildroot/toolchain_build_m68hc12/gcc-4.3.3-build/m68hc12-elf/libgcc'
+
+ Use m68hc12-config-3.4.6
m68k-config
- Builds an M68K toolchain using gcc 3.4.5
+ Builds an M68K toolchain using gcc 3.4.6
sh-defconfig
- Builds an SH-1/2 toolchain using gcc 3.4.5
+ Builds an SH-1/2 toolchain using gcc 3.4.6
GENERAL BUILD STEPS
^^^^^^^^^^^^^^^^^^^
diff --git a/misc/buildroot/configs/m68hc12-config-3.4.6 b/misc/buildroot/configs/m68hc12-config-3.4.6
new file mode 100644
index 000000000..2ed306b13
--- /dev/null
+++ b/misc/buildroot/configs/m68hc12-config-3.4.6
@@ -0,0 +1,94 @@
+#
+# Automatically generated make config: don't edit
+#
+BR2_HAVE_DOT_CONFIG=y
+# BR2_alpha is not set
+# BR2_arm is not set
+# BR2_armeb is not set
+# BR2_avr is not set
+# BR2_avr32 is not set
+# BR2_bfin is not set
+# BR2_cris is not set
+# BR2_i386 is not set
+# BR2_m32c is not set
+# BR2_m68k is not set
+# BR2_m68hc11 is not set
+BR2_m68hc12=y
+# BR2_mips is not set
+# BR2_mipsel is not set
+# BR2_nios2 is not set
+# BR2_powerpc is not set
+# BR2_sh is not set
+# BR2_sh64 is not set
+# BR2_h8300 is not set
+# BR2_sparc is not set
+# BR2_x86_64 is not set
+BR2_ARCH="m68hc12"
+BR2_ENDIAN="BIG"
+
+#
+# Build options
+#
+BR2_WGET="wget --passive-ftp"
+BR2_SVN="svn co"
+BR2_ZCAT="zcat"
+BR2_BZCAT="bzcat"
+BR2_TAR_OPTIONS=""
+BR2_DL_DIR="$(BASE_DIR)/../archives"
+BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
+BR2_NUTTX_DIR="$(TOPDIR)/../nuttx"
+BR2_TOPDIR_PREFIX=""
+BR2_TOPDIR_SUFFIX=""
+BR2_GNU_BUILD_SUFFIX="m68k-elf"
+BR2_GNU_TARGET_SUFFIX="elf"
+# BR2_PREFER_IMA is not set
+# BR2_DEPRECATED is not set
+
+#
+# Toolchain Options
+#
+
+#
+# Binutils Options
+#
+BR2_BINUTILS_VERSION_2_17=y
+# BR2_BINUTILS_VERSION_2_19 is not set
+# BR2_BINUTILS_VERSION_2_19_1 is not set
+BR2_BINUTILS_VERSION="2.17"
+BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
+
+#
+# GCC Options
+#
+BR2_PACKAGE_GCC=y
+BR2_GCC_VERSION_3_4_6=y
+# BR2_GCC_VERSION_4_2_4 is not set
+# BR2_GCC_VERSION_4_3_3 is not set
+# BR2_GCC_SUPPORTS_SYSROOT is not set
+BR2_GCC_VERSION="3.4.6"
+# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
+BR2_EXTRA_GCC_CONFIG_OPTIONS=""
+# BR2_INSTALL_LIBSTDCPP is not set
+# BR2_INSTALL_OBJC is not set
+# BR2_INSTALL_FORTRAN is not set
+
+#
+# Gdb Options
+#
+# BR2_PACKAGE_GDB is not set
+# BR2_PACKAGE_GDB_SERVER is not set
+# BR2_PACKAGE_GDB_HOST is not set
+
+#
+# NuttX Binary Support
+#
+# BR2_PACKAGE_GENROMFS is not set
+
+#
+# Common Toolchain Options
+#
+# BR2_PACKAGE_SSTRIP_TARGET is not set
+# BR2_PACKAGE_SSTRIP_HOST is not set
+# BR2_ENABLE_MULTILIB is not set
+BR2_LARGEFILE=y
+BR2_TARGET_OPTIMIZATION="-Os -pipe"