aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Werner <ken.werner@linaro.org>2012-05-14 13:43:21 +0200
committerKen Werner <ken.werner@linaro.org>2012-05-14 13:43:21 +0200
commitc1e4bc0cdf0b07ec588c601f036741f219b10b2f (patch)
treecbd9b53729f153ac3ca8645fd765af539beb20d3
parenta295065dcc6ca3d605e9f7af959ea493c7d64129 (diff)
downloadmeta-linaro-c1e4bc0cdf0b07ec588c601f036741f219b10b2f.tar.gz
Revert "Initial support for Linaro GCC 4.7"
This reverts commit a295065dcc6ca3d605e9f7af959ea493c7d64129. Signed-off-by: Ken Werner <ken.werner@linaro.org>
-rw-r--r--recipes-devtools/gcc/gcc-cross-candian_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-cross-initial_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-cross_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-intermediate_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc-linaro-4.7.inc19
-rw-r--r--recipes-devtools/gcc/gcc-linaro-4.7/optional_libstdc.patch86
-rw-r--r--recipes-devtools/gcc/gcc-linaro-4.7/use-defaults.h-and-t-oe-in-B.patch80
-rw-r--r--recipes-devtools/gcc/gcc-linaro-common-4.7.inc2
-rw-r--r--recipes-devtools/gcc/gcc-runtime_linaro-4.7.bb2
-rw-r--r--recipes-devtools/gcc/gcc_linaro-4.7.bb3
-rw-r--r--recipes-devtools/gcc/libgcc_linaro-4.7.bb2
13 files changed, 0 insertions, 206 deletions
diff --git a/recipes-devtools/gcc/gcc-cross-candian_linaro-4.7.bb b/recipes-devtools/gcc/gcc-cross-candian_linaro-4.7.bb
deleted file mode 100644
index 91cfbf30..00000000
--- a/recipes-devtools/gcc/gcc-cross-candian_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-cross-canadian_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-cross-initial_linaro-4.7.bb b/recipes-devtools/gcc/gcc-cross-initial_linaro-4.7.bb
deleted file mode 100644
index d0ec13f2..00000000
--- a/recipes-devtools/gcc/gcc-cross-initial_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-cross-initial_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-cross_linaro-4.7.bb b/recipes-devtools/gcc/gcc-cross_linaro-4.7.bb
deleted file mode 100644
index 0ecec160..00000000
--- a/recipes-devtools/gcc/gcc-cross_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-cross_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.7.bb b/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.7.bb
deleted file mode 100644
index f8aeff53..00000000
--- a/recipes-devtools/gcc/gcc-crosssdk-initial_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-crosssdk-initial_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-crosssdk-intermediate_linaro-4.7.bb b/recipes-devtools/gcc/gcc-crosssdk-intermediate_linaro-4.7.bb
deleted file mode 100644
index 15466433..00000000
--- a/recipes-devtools/gcc/gcc-crosssdk-intermediate_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-crosssdk-intermediate_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-crosssdk_linaro-4.7.bb b/recipes-devtools/gcc/gcc-crosssdk_linaro-4.7.bb
deleted file mode 100644
index c5554364..00000000
--- a/recipes-devtools/gcc/gcc-crosssdk_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-crosssdk_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc-linaro-4.7.inc b/recipes-devtools/gcc/gcc-linaro-4.7.inc
deleted file mode 100644
index 37247690..00000000
--- a/recipes-devtools/gcc/gcc-linaro-4.7.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-require recipes-devtools/gcc/gcc-4.7.inc
-require gcc-linaro-common-4.7.inc
-
-PR = "r0"
-RELEASE = "2012.04"
-BINV = "4.7.1"
-
-FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-${PV}-${RELEASE}' ], d)}"
-
-SRC_URI = "http://launchpad.net/gcc-linaro/${BASEPV}/${BASEPV}-${RELEASE}/+download/gcc-${PV}-${RELEASE}.tar.bz2 \
- file://optional_libstdc.patch \
- file://use-defaults.h-and-t-oe-in-B.patch \
- "
-
-SRC_URI[md5sum] = "6dab459c1177fc9ae2969e7a39549d44"
-SRC_URI[sha256sum] = "69cbff3408972de4f149215f09b1074d615bfb4dfec5ab50c96ab02f0ef165a9"
-
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}-${RELEASE}"
-B = "${WORKDIR}/gcc-${PV}-${RELEASE}/build.${HOST_SYS}.${TARGET_SYS}"
diff --git a/recipes-devtools/gcc/gcc-linaro-4.7/optional_libstdc.patch b/recipes-devtools/gcc/gcc-linaro-4.7/optional_libstdc.patch
deleted file mode 100644
index fe157a89..00000000
--- a/recipes-devtools/gcc/gcc-linaro-4.7/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/recipes-devtools/gcc/gcc-linaro-4.7/use-defaults.h-and-t-oe-in-B.patch b/recipes-devtools/gcc/gcc-linaro-4.7/use-defaults.h-and-t-oe-in-B.patch
deleted file mode 100644
index b4351ee7..00000000
--- a/recipes-devtools/gcc/gcc-linaro-4.7/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/recipes-devtools/gcc/gcc-linaro-common-4.7.inc b/recipes-devtools/gcc/gcc-linaro-common-4.7.inc
deleted file mode 100644
index f9d63115..00000000
--- a/recipes-devtools/gcc/gcc-linaro-common-4.7.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-BASEPV = "4.7"
-PV = "linaro-${BASEPV}"
diff --git a/recipes-devtools/gcc/gcc-runtime_linaro-4.7.bb b/recipes-devtools/gcc/gcc-runtime_linaro-4.7.bb
deleted file mode 100644
index a976006e..00000000
--- a/recipes-devtools/gcc/gcc-runtime_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc-runtime_${BASEPV}.bb
diff --git a/recipes-devtools/gcc/gcc_linaro-4.7.bb b/recipes-devtools/gcc/gcc_linaro-4.7.bb
deleted file mode 100644
index d8b14eb5..00000000
--- a/recipes-devtools/gcc/gcc_linaro-4.7.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/gcc_${BASEPV}.bb
-
diff --git a/recipes-devtools/gcc/libgcc_linaro-4.7.bb b/recipes-devtools/gcc/libgcc_linaro-4.7.bb
deleted file mode 100644
index f98fa24d..00000000
--- a/recipes-devtools/gcc/libgcc_linaro-4.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require gcc-linaro-common-4.7.inc
-require recipes-devtools/gcc/libgcc_${BASEPV}.bb