summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-06-14 10:21:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 13:22:17 +0100
commita41c3e486773f90448a29e88a332c4be3df738e6 (patch)
tree1e37b30125beb9fd7c4e6a7ae07ed6a8d86013d8 /meta/recipes-devtools/gcc/gcc-4.6.inc
parent4f65868ea56695177212ebe4b357b6e1d010e483 (diff)
downloadpoky-a41c3e486773f90448a29e88a332c4be3df738e6.tar.gz
gcc-cross: argument list too long when do_install
There would be an "Argument list too long" error when the length of tmpdir is longer than 190, this is caused by: headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, use the $(sort list) of GNU make which can handle the too long list would fix the problem, the header would be short enough after sorted. The "tr ' ' '\012'" was used for translating the space to "\n", the $(sort list) doesn't need this. This doesn't impact the output, so it doesn't need the PR bump. [YOCTO #2591] (From OE-Core rev: b9b75e6cf31991c046713194f75bc61027558464) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 7a70a3848a..03d887149d 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -75,6 +75,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
75 file://fortran-cross-compile-hack.patch \ 75 file://fortran-cross-compile-hack.patch \
76 file://cpp-honour-sysroot.patch \ 76 file://cpp-honour-sysroot.patch \
77 file://mips64-default-n64.patch \ 77 file://mips64-default-n64.patch \
78 file://gcc-argument-list-too-long.patch \
78 " 79 "
79 80
80SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " 81SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "