diff options
14 files changed, 0 insertions, 273 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-canadian_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-canadian_linaro-4.6.bb deleted file mode 100644 index 59122edc..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-canadian_linaro-4.6.bb +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright (C) 2012 Khem Raj <khem@openembedded.org> -# Released under the MIT license (see COPYING.MIT for the terms) - -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-cross-canadian_${BASEPV}.bb diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb deleted file mode 100644 index b0dbcc6f..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-cross-initial_${BASEPV}.bb diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross_linaro-4.6.bb deleted file mode 100644 index 6b5ad0cb..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross_linaro-4.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-cross_${BASEPV}.bb diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.6.bb deleted file mode 100644 index d78dc6a0..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.6.bb +++ /dev/null @@ -1,4 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-crosssdk-initial_${BASEPV}.bb - -EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} " diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk_linaro-4.6.bb deleted file mode 100644 index aeec7ce6..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-crosssdk_linaro-4.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-crosssdk_${BASEPV}.bb diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6.inc b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6.inc deleted file mode 100644 index 59058249..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6.inc +++ /dev/null @@ -1,22 +0,0 @@ -require recipes-devtools/gcc/gcc-4.6.inc -require gcc-linaro-common-4.6.inc - -MMYY = "13.05" -RELEASE = "20${MMYY}" -PR = "r${RELEASE}" -BINV = "4.6.4" - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-${PV}' ], d)}" - -SRC_URI = "http://releases.linaro.org/${MMYY}/components/toolchain/gcc-linaro/${BASEPV}/gcc-${PV}-${RELEASE}.tar.bz2 \ - file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ - file://64bithack.patch \ - file://optional_libstdc.patch \ - file://use-defaults.h-and-t-oe-in-B.patch \ - " - -SRC_URI[md5sum] = "26b48802ae1203cd99415026fbf56ed7" -SRC_URI[sha256sum] = "4b6cad20684ba06da766d523c38abcee22d69020e0b9213cf6f580920c91e18e" - -S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}-${RELEASE}" -B = "${WORKDIR}/gcc-${PV}-${RELEASE}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/64bithack.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/64bithack.patch deleted file mode 100644 index be6a2689..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/64bithack.patch +++ /dev/null @@ -1,28 +0,0 @@ -This patch causes the GCC to install the libstc++ into lib as opposed to -lib64 on X86_64 Linux targets. Usually the libstdc++ will be placed in lib64 -during the install step. Because that's where 64bit libs go for linux targets -according to the FHS. If you don't like this but want to use linux as a target -you have to patch the toolchain which is what 64bithack.patch attempts to do. -One solution would be to have a distinctive OE target that doesn't support -multilib and has 64bit libs under lib. The advantage over the current -meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch provided by oe-core is that -multilib upport is entirely disabled and MULTILIB_OSDIRNAMES is empty. This -prevents a broken toolchain in case --enable-multilib gets used. - -Upstream-Status: Inappropriate - -Signed-off-by: Ken Werner <ken.werner@linaro.org> - -Index: gcc-linaro-4.6-2012.04/gcc/config.gcc -=================================================================== ---- gcc-linaro-4.6-2012.04.orig/gcc/config.gcc -+++ gcc-linaro-4.6-2012.04/gcc/config.gcc -@@ -1310,7 +1310,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu - tm_file="${tm_file} knetbsd-gnu.h" - ;; - esac -- tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules" -+ tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules" - ;; - i[34567]86-pc-msdosdjgpp*) - xm_file=i386/xm-djgpp.h diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch deleted file mode 100644 index ce827400..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +++ /dev/null @@ -1,33 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -Index: gcc-4.6.0/configure.ac -=================================================================== ---- gcc-4.6.0.orig/configure.ac -+++ gcc-4.6.0/configure.ac -@@ -3073,7 +3073,7 @@ fi - # for target_alias and gcc doesn't manage it consistently. - target_configargs="--cache-file=./config.cache ${target_configargs}" - --FLAGS_FOR_TARGET= -+FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET" - case " $target_configdirs " in - *" newlib "*) - case " $target_configargs " in -Index: gcc-4.6.0/configure -=================================================================== ---- gcc-4.6.0.orig/configure -+++ gcc-4.6.0/configure -@@ -7594,7 +7594,7 @@ fi - # for target_alias and gcc doesn't manage it consistently. - target_configargs="--cache-file=./config.cache ${target_configargs}" - --FLAGS_FOR_TARGET= -+FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET" - case " $target_configdirs " in - *" newlib "*) - case " $target_configargs " in diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/optional_libstdc.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/optional_libstdc.patch deleted file mode 100644 index fe157a89..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/optional_libstdc.patch +++ /dev/null @@ -1,86 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -gcc-runtime builds libstdc++ separately from gcc-cross-*. Its configure tests using g++ -will not run correctly since by default the linker will try to link against libstdc++ -which shouldn't exist yet. We need an option to disable -lstdc++ -option whilst leaving -lc, -lgcc and other automatic library dependencies added by gcc -driver. This patch adds such an option which only disables the -lstdc++. - -A "standard" gcc build uses xgcc and hence avoids this. We should ask upstream how to -do this officially, the likely answer is don't build libstdc++ separately. - -RP 29/6/10 - -Index: gcc-4.6.0/gcc/cp/g++spec.c -=================================================================== ---- gcc-4.6.0.orig/gcc/cp/g++spec.c -+++ gcc-4.6.0/gcc/cp/g++spec.c -@@ -127,6 +127,7 @@ lang_specific_driver (struct cl_decoded_ - switch (decoded_options[i].opt_index) - { - case OPT_nostdlib: -+ case OPT_nostdlib__: - case OPT_nodefaultlibs: - library = -1; - break; -Index: gcc-4.6.0/gcc/doc/invoke.texi -=================================================================== ---- gcc-4.6.0.orig/gcc/doc/invoke.texi -+++ gcc-4.6.0/gcc/doc/invoke.texi -@@ -193,7 +193,7 @@ in the following sections. - -fno-pretty-templates @gol - -frepo -fno-rtti -fstats -ftemplate-depth=@var{n} @gol - -fno-threadsafe-statics -fuse-cxa-atexit -fno-weak -nostdinc++ @gol ---fno-default-inline -fvisibility-inlines-hidden @gol -+-nostdlib++ -fno-default-inline -fvisibility-inlines-hidden @gol - -fvisibility-ms-compat @gol - -Wabi -Wconversion-null -Wctor-dtor-privacy @gol - -Wnoexcept -Wnon-virtual-dtor -Wreorder @gol -@@ -431,7 +431,7 @@ Objective-C and Objective-C++ Dialects}. - @gccoptlist{@var{object-file-name} -l@var{library} @gol - -nostartfiles -nodefaultlibs -nostdlib -pie -rdynamic @gol - -s -static -static-libgcc -static-libstdc++ -shared @gol ---shared-libgcc -symbolic @gol -+-shared-libgcc -symbolic -nostdlib++ @gol - -T @var{script} -Wl,@var{option} -Xlinker @var{option} @gol - -u @var{symbol}} - -@@ -9069,6 +9069,11 @@ These entries are usually resolved by en - libc. These entry points should be supplied through some other - mechanism when this option is specified. - -+@item -nostdlib++ -+@opindex nostdlib++ -+Do not use the standard system C++ runtime libraries when linking. -+Only the libraries you specify will be passed to the linker. -+ - @cindex @option{-lgcc}, use with @option{-nostdlib} - @cindex @option{-nostdlib} and unresolved references - @cindex unresolved references and @option{-nostdlib} -Index: gcc-4.6.0/gcc/c-family/c.opt -=================================================================== ---- gcc-4.6.0.orig/gcc/c-family/c.opt -+++ gcc-4.6.0/gcc/c-family/c.opt -@@ -1111,6 +1111,10 @@ nostdinc++ - C++ ObjC++ - Do not search standard system include directories for C++ - -+nostdlib++ -+Driver -+Do not link standard C++ runtime library -+ - o - C ObjC C++ ObjC++ Joined Separate - ; Documented in common.opt -Index: gcc-4.6.0/gcc/gcc.c -=================================================================== ---- gcc-4.6.0.orig/gcc/gcc.c -+++ gcc-4.6.0/gcc/gcc.c -@@ -666,6 +666,7 @@ proper position among the other output f - %(mflib) " STACK_SPLIT_SPEC "\ - %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\ - %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\ -+ %{!nostdlib++:}\ - %{!nostdlib:%{!nostartfiles:%E}} %{T*} }}}}}}" - #endif - diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/use-defaults.h-and-t-oe-in-B.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/use-defaults.h-and-t-oe-in-B.patch deleted file mode 100644 index b4351ee7..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.6/use-defaults.h-and-t-oe-in-B.patch +++ /dev/null @@ -1,80 +0,0 @@ -Upstream-Status: Pending - -Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}, so that -the source can be shared between gcc-cross-initial, -gcc-cross-intermediate, gcc-cross, gcc-runtime, and also the sdk build. ---- - gcc/Makefile.in | 2 +- - gcc/configure | 4 ++-- - gcc/configure.ac | 4 ++-- - gcc/mkconfig.sh | 4 ++-- - 4 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 7790915..3a0c34a 100644 ---- a/gcc/Makefile.in -+++ b/gcc/Makefile.in -@@ -463,7 +463,7 @@ LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ] - TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@ - - xmake_file=@xmake_file@ --tmake_file=@tmake_file@ -+tmake_file=@tmake_file@ ./t-oe - TM_ENDIAN_CONFIG=@TM_ENDIAN_CONFIG@ - TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@ - TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@ -diff --git a/gcc/configure b/gcc/configure -index 82fa3e4..d4711b5 100755 ---- a/gcc/configure -+++ b/gcc/configure -@@ -11227,8 +11227,8 @@ for f in $tm_file; do - tm_include_list="${tm_include_list} $f" - ;; - defaults.h ) -- tm_file_list="${tm_file_list} \$(srcdir)/$f" -- tm_include_list="${tm_include_list} $f" -+ tm_file_list="${tm_file_list} ./$f" -+ tm_include_list="${tm_include_list} ./$f" - ;; - * ) - tm_file_list="${tm_file_list} \$(srcdir)/config/$f" -diff --git a/gcc/configure.ac b/gcc/configure.ac -index 844d8da..a960343 100644 ---- a/gcc/configure.ac -+++ b/gcc/configure.ac -@@ -1628,8 +1628,8 @@ for f in $tm_file; do - tm_include_list="${tm_include_list} $f" - ;; - defaults.h ) -- tm_file_list="${tm_file_list} \$(srcdir)/$f" -- tm_include_list="${tm_include_list} $f" -+ tm_file_list="${tm_file_list} ./$f" -+ tm_include_list="${tm_include_list} ./$f" - ;; - * ) - tm_file_list="${tm_file_list} \$(srcdir)/config/$f" -diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh -index d56df8c..875d0f1 100644 ---- a/gcc/mkconfig.sh -+++ b/gcc/mkconfig.sh -@@ -77,7 +77,7 @@ if [ -n "$HEADERS" ]; then - if [ $# -ge 1 ]; then - echo '#ifdef IN_GCC' >> ${output}T - for file in "$@"; do -- if test x"$file" = x"defaults.h"; then -+ if test x"$file" = x"./defaults.h"; then - postpone_defaults_h="yes" - else - echo "# include \"$file\"" >> ${output}T -@@ -103,7 +103,7 @@ esac - - # If we postponed including defaults.h, add the #include now. - if test x"$postpone_defaults_h" = x"yes"; then -- echo "# include \"defaults.h\"" >> ${output}T -+ echo "# include \"./defaults.h\"" >> ${output}T - fi - - # Add multiple inclusion protection guard, part two. --- -1.7.1 - diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-common-4.6.inc b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-common-4.6.inc deleted file mode 100644 index 4bb5cae1..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-common-4.6.inc +++ /dev/null @@ -1,2 +0,0 @@ -BASEPV = "4.6" -PV = "linaro-${BASEPV}" diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-runtime_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-runtime_linaro-4.6.bb deleted file mode 100644 index 57e445e8..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-runtime_linaro-4.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc-runtime_${BASEPV}.bb diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.6.bb deleted file mode 100644 index d16ece24..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/gcc_linaro-4.6.bb +++ /dev/null @@ -1,3 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/gcc_${BASEPV}.bb - diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/libgcc_linaro-4.6.bb b/meta-linaro-toolchain/recipes-devtools/gcc/libgcc_linaro-4.6.bb deleted file mode 100644 index f44a0843..00000000 --- a/meta-linaro-toolchain/recipes-devtools/gcc/libgcc_linaro-4.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gcc-linaro-common-4.6.inc -require recipes-devtools/gcc/libgcc_${BASEPV}.bb |