summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-25 11:09:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-25 11:09:32 +0000
commit49ec2321b7bcea4c0378aab1c5006e6d77d64d26 (patch)
tree34f97111b1334226fd8cc160dde4e5e6fb7616d4 /toolchain
parentc30639b1e86d8b0a5e374066e4c7fb7b0bfd90cb (diff)
downloadmtk-20170518-49ec2321b7bcea4c0378aab1c5006e6d77d64d26.zip
mtk-20170518-49ec2321b7bcea4c0378aab1c5006e6d77d64d26.tar.gz
mtk-20170518-49ec2321b7bcea4c0378aab1c5006e6d77d64d26.tar.bz2
gcc: fix a linker error in 4.3.3 and 4.3.4 that is triggered by including an object in a linking process which is already part of libbackend.a
SVN-Revision: 17718
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch11
-rw-r--r--toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch b/toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch
new file mode 100644
index 0000000..4dd83db
--- /dev/null
+++ b/toolchain/gcc/patches/4.3.3/106-fix_linker_error.patch
@@ -0,0 +1,11 @@
+--- a/gcc/cp/Make-lang.in
++++ b/gcc/cp/Make-lang.in
+@@ -73,7 +73,7 @@ g++-cross$(exeext): g++$(exeext)
+ CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
+ c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
+ c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
+- c-gimplify.o c-omp.o tree-inline.o
++ c-gimplify.o c-omp.o
+
+ # Language-specific object files for C++ and Objective C++.
+ CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \
diff --git a/toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch b/toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch
new file mode 100644
index 0000000..4dd83db
--- /dev/null
+++ b/toolchain/gcc/patches/4.3.4/106-fix_linker_error.patch
@@ -0,0 +1,11 @@
+--- a/gcc/cp/Make-lang.in
++++ b/gcc/cp/Make-lang.in
+@@ -73,7 +73,7 @@ g++-cross$(exeext): g++$(exeext)
+ CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
+ c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
+ c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
+- c-gimplify.o c-omp.o tree-inline.o
++ c-gimplify.o c-omp.o
+
+ # Language-specific object files for C++ and Objective C++.
+ CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \