diff --git a/miosix/_doc/textdoc/Changelog.txt b/miosix/_doc/textdoc/Changelog.txt index c8e9063acd26e8bafd7706871619aebacc905be4..2a783569d11e0686e70d780eea6ab2415e35ce46 100644 --- a/miosix/_doc/textdoc/Changelog.txt +++ b/miosix/_doc/textdoc/Changelog.txt @@ -1,5 +1,7 @@ Changelog for Miosix np embedded OS +- Updated from GCC 4.7.2 to GCC 4.7.3, due to reported problems building + the previous compiler versions. - Added a new benchmark to test the filesystem backend (sector read/write). This is a separate benchmark and not in the testsuite. - Updated newlib patches so as to avoid stdio code fragmenting large diff --git a/miosix/_tools/compiler/cleanup.sh b/miosix/_tools/compiler/cleanup.sh index f0b56afe229ddbd1e799334bb87b14674db3b082..c229100a2b228d6c91e42dfd2f319ea6c70b3d7c 100644 --- a/miosix/_tools/compiler/cleanup.sh +++ b/miosix/_tools/compiler/cleanup.sh @@ -2,6 +2,6 @@ # After running install-script.sh, this script will clean up temporary files -rm -rf binutils-2.23.1/ gcc-4.7.2/ gdb-7.5/ newlib-2.0.0/ newlib-obj/ lpc21isp.c +rm -rf binutils-2.23.1/ gcc-4.7.3/ gdb-7.5/ newlib-2.0.0/ newlib-obj/ lpc21isp.c sudo rm -rf objdir/ log/ diff --git a/miosix/_tools/compiler/download.sh b/miosix/_tools/compiler/download.sh index d5a17aaaf645c7fa1078643ee53573e400051896..d3d244aa4707e4163f68cbd79958f6d9e3a311f6 100644 --- a/miosix/_tools/compiler/download.sh +++ b/miosix/_tools/compiler/download.sh @@ -4,6 +4,6 @@ # for compiling arm-miosix-eabi-gcc wget http://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2 -wget ftp://gd.tuwien.ac.at/gnu/gcc/releases/gcc-4.7.2/gcc-4.7.2.tar.bz2 +wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-4.7.3/gcc-4.7.3.tar.bz2 wget ftp://sourceware.org/pub/newlib/newlib-2.0.0.tar.gz wget ftp://bo.mirror.garr.it/mirrors/sourceware.org/gdb/releases/gdb-7.5.tar.bz2 diff --git a/miosix/_tools/compiler/install-script.sh b/miosix/_tools/compiler/install-script.sh index 7049e189b053b30d8218f0d81f8905f6e38f77dd..92cf02460bfa63b540141832f782469fd29107b8 100755 --- a/miosix/_tools/compiler/install-script.sh +++ b/miosix/_tools/compiler/install-script.sh @@ -25,7 +25,7 @@ SUDO=sudo # Program versions BINUTILS=binutils-2.23.1 -GCC=gcc-4.7.2 +GCC=gcc-4.7.3 NEWLIB=newlib-2.0.0 GDB=gdb-7.5 @@ -58,9 +58,8 @@ mkdir log # Part 2: applying patches # -patch -p0 < patches/gcc.patch || quit ":: Failed patching gcc" -patch -p0 < patches/newlib.patch || quit ":: Failed patching newlib" -patch -p0 < gcc-patches/gcc-doc.patch || quit ":: Failed patching gcc texinfo files" +patch -p0 < patches/gcc.patch || quit ":: Failed patching gcc" +patch -p0 < patches/newlib.patch || quit ":: Failed patching newlib" # # Part 3: compile and install binutils @@ -92,6 +91,7 @@ mkdir objdir cd objdir $SUDO ../$GCC/configure \ --target=arm-miosix-eabi \ + MAKEINFO=missing \ --prefix=$INSTALL_DIR/arm-miosix-eabi \ --disable-shared \ --disable-libmudflap \ diff --git a/miosix/_tools/compiler/patches/gcc-doc.patch b/miosix/_tools/compiler/patches/gcc-doc.patch deleted file mode 100644 index 7eaf9c60890db67f4f87c1908cc3ad90e32ce9c8..0000000000000000000000000000000000000000 --- a/miosix/_tools/compiler/patches/gcc-doc.patch +++ /dev/null @@ -1,89 +0,0 @@ -diff -ruN gcc-4.5.2-original/gcc/doc/cppopts.texi gcc-4.5.2/gcc/doc/cppopts.texi ---- gcc-4.5.2-original/gcc/doc/cppopts.texi 2010-04-02 21:54:46.000000000 +0200 -+++ gcc-4.5.2/gcc/doc/cppopts.texi 2013-04-27 19:29:00.690353954 +0200 -@@ -760,7 +760,7 @@ - Enable special code to work around file systems which only permit very - short file names, such as MS-DOS@. - --@itemx --help -+@item --help - @itemx --target-help - @opindex help - @opindex target-help -diff -ruN gcc-4.5.2-original/gcc/doc/generic.texi gcc-4.5.2/gcc/doc/generic.texi ---- gcc-4.5.2-original/gcc/doc/generic.texi 2010-07-06 22:23:53.000000000 +0200 -+++ gcc-4.5.2/gcc/doc/generic.texi 2013-04-27 19:35:13.150370950 +0200 -@@ -1407,13 +1407,13 @@ - not matter. The type of the operands and that of the result are - always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. - --@itemx POINTER_PLUS_EXPR -+@item POINTER_PLUS_EXPR - This node represents pointer arithmetic. The first operand is always - a pointer/reference type. The second operand is always an unsigned - integer type compatible with sizetype. This is the only binary - arithmetic operand that can operate on pointer types. - --@itemx PLUS_EXPR -+@item PLUS_EXPR - @itemx MINUS_EXPR - @itemx MULT_EXPR - These nodes represent various binary arithmetic operations. -diff -ruN gcc-4.5.2-original/gcc/doc/invoke.texi gcc-4.5.2/gcc/doc/invoke.texi ---- gcc-4.5.2-original/gcc/doc/invoke.texi 2010-09-08 19:36:40.000000000 +0200 -+++ gcc-4.5.2/gcc/doc/invoke.texi 2013-04-27 19:32:51.187031138 +0200 -@@ -4875,11 +4875,11 @@ - @option{-fdump-rtl-ce3} enable dumping after the three - if conversion passes. - --@itemx -fdump-rtl-cprop_hardreg -+@item -fdump-rtl-cprop_hardreg - @opindex fdump-rtl-cprop_hardreg - Dump after hard register copy propagation. - --@itemx -fdump-rtl-csa -+@item -fdump-rtl-csa - @opindex fdump-rtl-csa - Dump after combining stack adjustments. - -@@ -4890,11 +4890,11 @@ - @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after - the two common sub-expression elimination passes. - --@itemx -fdump-rtl-dce -+@item -fdump-rtl-dce - @opindex fdump-rtl-dce - Dump after the standalone dead code elimination passes. - --@itemx -fdump-rtl-dbr -+@item -fdump-rtl-dbr - @opindex fdump-rtl-dbr - Dump after delayed branch scheduling. - -@@ -4939,7 +4939,7 @@ - @opindex fdump-rtl-initvals - Dump after the computation of the initial value sets. - --@itemx -fdump-rtl-into_cfglayout -+@item -fdump-rtl-into_cfglayout - @opindex fdump-rtl-into_cfglayout - Dump after converting to cfglayout mode. - -@@ -4969,7 +4969,7 @@ - @opindex fdump-rtl-rnreg - Dump after register renumbering. - --@itemx -fdump-rtl-outof_cfglayout -+@item -fdump-rtl-outof_cfglayout - @opindex fdump-rtl-outof_cfglayout - Dump after converting from cfglayout mode. - -@@ -4981,7 +4981,7 @@ - @opindex fdump-rtl-postreload - Dump after post-reload optimizations. - --@itemx -fdump-rtl-pro_and_epilogue -+@item -fdump-rtl-pro_and_epilogue - @opindex fdump-rtl-pro_and_epilogue - Dump after generating the function pro and epilogues. - diff --git a/miosix/_tools/compiler/patches/gcc.patch b/miosix/_tools/compiler/patches/gcc.patch index 5fa772900cffba279fc3a0722003f284bb769bf5..3027fc2bdc3583387081229869ffb0231853cc86 100644 --- a/miosix/_tools/compiler/patches/gcc.patch +++ b/miosix/_tools/compiler/patches/gcc.patch @@ -1,6 +1,6 @@ -diff -ruN gcc-4.7.2-old/gcc/config/arm/miosix-eabi.h gcc-4.7.2/gcc/config/arm/miosix-eabi.h ---- gcc-4.7.2-old/gcc/config/arm/miosix-eabi.h 1970-01-01 01:00:00.000000000 +0100 -+++ gcc-4.7.2/gcc/config/arm/miosix-eabi.h 2012-12-29 12:39:06.613533106 +0100 +diff -ruN gcc-4.7.3-old/gcc/config/arm/miosix-eabi.h gcc-4.7.3/gcc/config/arm/miosix-eabi.h +--- gcc-4.7.3-old/gcc/config/arm/miosix-eabi.h 1970-01-01 00:00:00.000000000 +0000 ++++ gcc-4.7.3/gcc/config/arm/miosix-eabi.h 2013-10-24 00:30:20.741932714 +0000 @@ -0,0 +1,17 @@ + +/* @@ -19,9 +19,9 @@ diff -ruN gcc-4.7.2-old/gcc/config/arm/miosix-eabi.h gcc-4.7.2/gcc/config/arm/mi + builtin_define("_MIOSIX"); \ + builtin_assert("system=miosix"); \ + } while(false) -diff -ruN gcc-4.7.2-old/gcc/config/arm/t-arm-miosix gcc-4.7.2/gcc/config/arm/t-arm-miosix ---- gcc-4.7.2-old/gcc/config/arm/t-arm-miosix 1970-01-01 01:00:00.000000000 +0100 -+++ gcc-4.7.2/gcc/config/arm/t-arm-miosix 2012-12-29 12:39:06.613533106 +0100 +diff -ruN gcc-4.7.3-old/gcc/config/arm/t-arm-miosix gcc-4.7.3/gcc/config/arm/t-arm-miosix +--- gcc-4.7.3-old/gcc/config/arm/t-arm-miosix 1970-01-01 00:00:00.000000000 +0000 ++++ gcc-4.7.3/gcc/config/arm/t-arm-miosix 2013-10-24 00:30:20.741932714 +0000 @@ -0,0 +1,180 @@ +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +# 2008, 2010, 2011 Free Software Foundation, Inc. @@ -203,10 +203,10 @@ diff -ruN gcc-4.7.2-old/gcc/config/arm/t-arm-miosix gcc-4.7.2/gcc/config/arm/t-a +# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm600 +# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm610 +# MULTILIB_MATCHES += mcpu?arm7=mcpu?arm620 -diff -ruN gcc-4.7.2-old/gcc/config.gcc gcc-4.7.2/gcc/config.gcc ---- gcc-4.7.2-old/gcc/config.gcc 2012-12-29 12:38:51.405533114 +0100 -+++ gcc-4.7.2/gcc/config.gcc 2012-12-29 12:39:06.617533190 +0100 -@@ -902,6 +902,13 @@ +diff -ruN gcc-4.7.3-old/gcc/config.gcc gcc-4.7.3/gcc/config.gcc +--- gcc-4.7.3-old/gcc/config.gcc 2013-03-06 22:54:11.000000000 +0000 ++++ gcc-4.7.3/gcc/config.gcc 2013-10-24 00:30:20.749932714 +0000 +@@ -912,6 +912,13 @@ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h" tmake_file="arm/t-arm arm/t-arm-elf" case ${target} in @@ -220,10 +220,10 @@ diff -ruN gcc-4.7.2-old/gcc/config.gcc gcc-4.7.2/gcc/config.gcc arm*-*-eabi*) tm_file="$tm_file newlib-stdint.h" tmake_file="${tmake_file} arm/t-bpabi" -diff -ruN gcc-4.7.2-old/gcc/configure gcc-4.7.2/gcc/configure ---- gcc-4.7.2-old/gcc/configure 2012-12-29 12:38:50.821533111 +0100 -+++ gcc-4.7.2/gcc/configure 2012-12-29 12:39:06.625533220 +0100 -@@ -11301,7 +11301,7 @@ +diff -ruN gcc-4.7.3-old/gcc/configure gcc-4.7.3/gcc/configure +--- gcc-4.7.3-old/gcc/configure 2013-02-06 15:23:55.000000000 +0000 ++++ gcc-4.7.3/gcc/configure 2013-10-24 00:30:20.761932714 +0000 +@@ -11337,7 +11337,7 @@ # default target_thread_file='single' ;; @@ -232,10 +232,10 @@ diff -ruN gcc-4.7.2-old/gcc/configure gcc-4.7.2/gcc/configure single | tpf | vxworks | win32) target_thread_file=${enable_threads} ;; -diff -ruN gcc-4.7.2-old/gcc/configure.ac gcc-4.7.2/gcc/configure.ac ---- gcc-4.7.2-old/gcc/configure.ac 2012-12-29 12:38:50.701533113 +0100 -+++ gcc-4.7.2/gcc/configure.ac 2012-12-29 12:39:06.629533213 +0100 -@@ -1423,7 +1423,7 @@ +diff -ruN gcc-4.7.3-old/gcc/configure.ac gcc-4.7.3/gcc/configure.ac +--- gcc-4.7.3-old/gcc/configure.ac 2013-02-06 15:23:55.000000000 +0000 ++++ gcc-4.7.3/gcc/configure.ac 2013-10-24 00:30:20.761932714 +0000 +@@ -1449,7 +1449,7 @@ # default target_thread_file='single' ;; @@ -244,9 +244,9 @@ diff -ruN gcc-4.7.2-old/gcc/configure.ac gcc-4.7.2/gcc/configure.ac single | tpf | vxworks | win32) target_thread_file=${enable_threads} ;; -diff -ruN gcc-4.7.2-old/libgcc/config/gthr-miosix.h gcc-4.7.2/libgcc/config/gthr-miosix.h ---- gcc-4.7.2-old/libgcc/config/gthr-miosix.h 1970-01-01 01:00:00.000000000 +0100 -+++ gcc-4.7.2/libgcc/config/gthr-miosix.h 2012-12-29 12:39:06.629533213 +0100 +diff -ruN gcc-4.7.3-old/libgcc/config/gthr-miosix.h gcc-4.7.3/libgcc/config/gthr-miosix.h +--- gcc-4.7.3-old/libgcc/config/gthr-miosix.h 1970-01-01 00:00:00.000000000 +0000 ++++ gcc-4.7.3/libgcc/config/gthr-miosix.h 2013-10-24 00:30:20.761932714 +0000 @@ -0,0 +1,53 @@ + +#ifndef GCC_GHTR_MIOSIX_H @@ -301,9 +301,9 @@ diff -ruN gcc-4.7.2-old/libgcc/config/gthr-miosix.h gcc-4.7.2/libgcc/config/gthr +#define __gthread_setspecific pthread_setspecific + +#endif //GCC_GHTR_MIOSIX_H -diff -ruN gcc-4.7.2-old/libgcc/configure gcc-4.7.2/libgcc/configure ---- gcc-4.7.2-old/libgcc/configure 2012-12-29 12:38:52.325533119 +0100 -+++ gcc-4.7.2/libgcc/configure 2012-12-29 12:39:06.629533213 +0100 +diff -ruN gcc-4.7.3-old/libgcc/configure gcc-4.7.3/libgcc/configure +--- gcc-4.7.3-old/libgcc/configure 2012-08-06 14:34:27.000000000 +0000 ++++ gcc-4.7.3/libgcc/configure 2013-10-24 00:30:20.765932714 +0000 @@ -4473,6 +4473,7 @@ aix) thread_header=config/rs6000/gthr-aix.h ;; dce) thread_header=config/pa/gthr-dce.h ;; @@ -312,9 +312,9 @@ diff -ruN gcc-4.7.2-old/libgcc/configure gcc-4.7.2/libgcc/configure mipssde) thread_header=config/mips/gthr-mipssde.h ;; posix) thread_header=gthr-posix.h ;; rtems) thread_header=config/gthr-rtems.h ;; -diff -ruN gcc-4.7.2-old/libgcc/configure.ac gcc-4.7.2/libgcc/configure.ac ---- gcc-4.7.2-old/libgcc/configure.ac 2012-12-29 12:38:52.309533118 +0100 -+++ gcc-4.7.2/libgcc/configure.ac 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libgcc/configure.ac gcc-4.7.3/libgcc/configure.ac +--- gcc-4.7.3-old/libgcc/configure.ac 2012-08-06 14:34:27.000000000 +0000 ++++ gcc-4.7.3/libgcc/configure.ac 2013-10-24 00:30:20.765932714 +0000 @@ -370,6 +370,7 @@ aix) thread_header=config/rs6000/gthr-aix.h ;; dce) thread_header=config/pa/gthr-dce.h ;; @@ -323,9 +323,9 @@ diff -ruN gcc-4.7.2-old/libgcc/configure.ac gcc-4.7.2/libgcc/configure.ac mipssde) thread_header=config/mips/gthr-mipssde.h ;; posix) thread_header=gthr-posix.h ;; rtems) thread_header=config/gthr-rtems.h ;; -diff -ruN gcc-4.7.2-old/libgcc/unwind-sjlj.c gcc-4.7.2/libgcc/unwind-sjlj.c ---- gcc-4.7.2-old/libgcc/unwind-sjlj.c 2012-12-29 12:38:52.309533118 +0100 -+++ gcc-4.7.2/libgcc/unwind-sjlj.c 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libgcc/unwind-sjlj.c gcc-4.7.3/libgcc/unwind-sjlj.c +--- gcc-4.7.3-old/libgcc/unwind-sjlj.c 2011-11-02 15:26:35.000000000 +0000 ++++ gcc-4.7.3/libgcc/unwind-sjlj.c 2013-10-24 00:30:20.765932714 +0000 @@ -95,74 +95,29 @@ /* Manage the chain of registered function contexts. */ @@ -409,9 +409,9 @@ diff -ruN gcc-4.7.2-old/libgcc/unwind-sjlj.c gcc-4.7.2/libgcc/unwind-sjlj.c void _Unwind_SjLj_Unregister (struct SjLj_Function_Context *fc) -diff -ruN gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomicity.h gcc-4.7.2/libstdc++-v3/config/cpu/arm/atomicity.h ---- gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomicity.h 1970-01-01 01:00:00.000000000 +0100 -+++ gcc-4.7.2/libstdc++-v3/config/cpu/arm/atomicity.h 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/config/cpu/arm/atomicity.h gcc-4.7.3/libstdc++-v3/config/cpu/arm/atomicity.h +--- gcc-4.7.3-old/libstdc++-v3/config/cpu/arm/atomicity.h 1970-01-01 00:00:00.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/config/cpu/arm/atomicity.h 2013-10-24 00:30:20.765932714 +0000 @@ -0,0 +1,67 @@ +//Begin TFT patch +//Support _Atomic_word operations on arm-miosix-eabi @@ -480,9 +480,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomicity.h gcc-4.7.2/libstd + +} +//End TFT patch -diff -ruN gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomic_word.h gcc-4.7.2/libstdc++-v3/config/cpu/arm/atomic_word.h ---- gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomic_word.h 1970-01-01 01:00:00.000000000 +0100 -+++ gcc-4.7.2/libstdc++-v3/config/cpu/arm/atomic_word.h 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/config/cpu/arm/atomic_word.h gcc-4.7.3/libstdc++-v3/config/cpu/arm/atomic_word.h +--- gcc-4.7.3-old/libstdc++-v3/config/cpu/arm/atomic_word.h 1970-01-01 00:00:00.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/config/cpu/arm/atomic_word.h 2013-10-24 00:30:20.765932714 +0000 @@ -0,0 +1,12 @@ +//begin TFT patch +//Support _Atomic_word operations on arm-miosix-eabi @@ -497,9 +497,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/config/cpu/arm/atomic_word.h gcc-4.7.2/libs +#endif +//end TFT patch \ No newline at end of file -diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_alloc.cc gcc-4.7.2/libstdc++-v3/libsupc++/eh_alloc.cc ---- gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_alloc.cc 2012-12-29 12:38:52.097533117 +0100 -+++ gcc-4.7.2/libstdc++-v3/libsupc++/eh_alloc.cc 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/libsupc++/eh_alloc.cc gcc-4.7.3/libstdc++-v3/libsupc++/eh_alloc.cc +--- gcc-4.7.3-old/libstdc++-v3/libsupc++/eh_alloc.cc 2011-10-10 19:03:39.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/libsupc++/eh_alloc.cc 2013-10-24 00:30:20.765932714 +0000 @@ -73,6 +73,15 @@ # define EMERGENCY_OBJ_COUNT 4 #endif @@ -516,9 +516,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_alloc.cc gcc-4.7.2/libstdc++-v #if INT_MAX == 32767 || EMERGENCY_OBJ_COUNT <= 32 typedef unsigned int bitmask_type; #else -diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_globals.cc gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc ---- gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_globals.cc 2012-12-29 12:38:52.097533117 +0100 -+++ gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/libsupc++/eh_globals.cc gcc-4.7.3/libstdc++-v3/libsupc++/eh_globals.cc +--- gcc-4.7.3-old/libstdc++-v3/libsupc++/eh_globals.cc 2011-10-10 19:03:39.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/libsupc++/eh_globals.cc 2013-10-24 00:30:20.769932714 +0000 @@ -42,119 +42,6 @@ using namespace __cxxabiv1; @@ -643,9 +643,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/eh_globals.cc gcc-4.7.2/libstdc++ +//are now Miosix syscalls, since the __cxa_eh_globals struct needs +//to be provided on a per-thread basis \ No newline at end of file -diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/guard.cc gcc-4.7.2/libstdc++-v3/libsupc++/guard.cc ---- gcc-4.7.2-old/libstdc++-v3/libsupc++/guard.cc 2012-12-29 12:38:52.097533117 +0100 -+++ gcc-4.7.2/libstdc++-v3/libsupc++/guard.cc 2012-12-29 12:39:06.633533203 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/libsupc++/guard.cc gcc-4.7.3/libstdc++-v3/libsupc++/guard.cc +--- gcc-4.7.3-old/libstdc++-v3/libsupc++/guard.cc 2012-09-11 15:24:06.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/libsupc++/guard.cc 2013-10-24 00:30:20.769932714 +0000 @@ -179,238 +179,6 @@ // | _GLIBCXX_GUARD_WAITING_BIT) and some other threads are waiting until // it is initialized. @@ -889,9 +889,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/guard.cc gcc-4.7.2/libstdc++-v3/l +//as static object initialization can occur also before the kernel is started, +//therefore at a time when using pthread_mutexe and pthread_cond is unsafe. \ No newline at end of file -diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/pure.cc gcc-4.7.2/libstdc++-v3/libsupc++/pure.cc ---- gcc-4.7.2-old/libstdc++-v3/libsupc++/pure.cc 2012-12-29 12:38:52.097533117 +0100 -+++ gcc-4.7.2/libstdc++-v3/libsupc++/pure.cc 2012-12-29 13:11:28.768002568 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/libsupc++/pure.cc gcc-4.7.3/libstdc++-v3/libsupc++/pure.cc +--- gcc-4.7.3-old/libstdc++-v3/libsupc++/pure.cc 2011-10-10 19:03:39.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/libsupc++/pure.cc 2013-10-24 00:30:20.769932714 +0000 @@ -43,15 +43,17 @@ # define writestr(str) /* Empty */ #endif @@ -912,9 +912,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/pure.cc gcc-4.7.2/libstdc++-v3/li { writestr ("deleted virtual method called\n"); std::terminate (); -diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/vterminate.cc gcc-4.7.2/libstdc++-v3/libsupc++/vterminate.cc ---- gcc-4.7.2-old/libstdc++-v3/libsupc++/vterminate.cc 2012-12-29 12:38:52.097533117 +0100 -+++ gcc-4.7.2/libstdc++-v3/libsupc++/vterminate.cc 2012-12-29 12:39:06.637533196 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/libsupc++/vterminate.cc gcc-4.7.3/libstdc++-v3/libsupc++/vterminate.cc +--- gcc-4.7.3-old/libstdc++-v3/libsupc++/vterminate.cc 2011-01-30 22:39:36.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/libsupc++/vterminate.cc 2013-10-24 00:30:20.769932714 +0000 @@ -41,7 +41,9 @@ // A replacement for the standard terminate_handler which prints // more information about the terminating exception (if any) on @@ -926,9 +926,9 @@ diff -ruN gcc-4.7.2-old/libstdc++-v3/libsupc++/vterminate.cc gcc-4.7.2/libstdc++ { static bool terminating; if (terminating) -diff -ruN gcc-4.7.2-old/libstdc++-v3/src/c++11/functexcept.cc gcc-4.7.2/libstdc++-v3/src/c++11/functexcept.cc ---- gcc-4.7.2-old/libstdc++-v3/src/c++11/functexcept.cc 2012-12-29 12:38:52.233533118 +0100 -+++ gcc-4.7.2/libstdc++-v3/src/c++11/functexcept.cc 2012-12-29 12:39:06.637533196 +0100 +diff -ruN gcc-4.7.3-old/libstdc++-v3/src/c++11/functexcept.cc gcc-4.7.3/libstdc++-v3/src/c++11/functexcept.cc +--- gcc-4.7.3-old/libstdc++-v3/src/c++11/functexcept.cc 2012-01-23 23:12:01.000000000 +0000 ++++ gcc-4.7.3/libstdc++-v3/src/c++11/functexcept.cc 2013-10-24 00:30:20.769932714 +0000 @@ -44,72 +44,76 @@ { _GLIBCXX_BEGIN_NAMESPACE_VERSION diff --git a/miosix_np_2/nbproject/private/configurations.xml b/miosix_np_2/nbproject/private/configurations.xml index da862a02ec0a04e2dbdfbb3d69ca52cecbe39baa..4e01a997c48049f66161a863e401841b3c521c7d 100644 --- a/miosix_np_2/nbproject/private/configurations.xml +++ b/miosix_np_2/nbproject/private/configurations.xml @@ -2,36 +2,6 @@ <configurationDescriptor version="89"> <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT"> <df root=".." name="miosix_np_2"> - <df name="ff10"> - <df name="doc"> - <df name="en"> - </df> - <df name="img"> - <in>app1.c</in> - <in>app2.c</in> - <in>app3.c</in> - </df> - <df name="ja"> - </df> - </df> - <df name="src"> - <df name="option"> - <in>cc932.c</in> - <in>cc936.c</in> - <in>cc949.c</in> - <in>cc950.c</in> - <in>ccsbcs.c</in> - <in>syscall.c</in> - <in>unicode.c</in> - </df> - <in>diskio.c</in> - <in>diskio.h</in> - <in>ff.c</in> - <in>ff.h</in> - <in>ffconf.h</in> - <in>integer.h</in> - </df> - </df> <df name="miosix"> <df name="arch"> <df name="arm7_lpc2000">