diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-15 10:57:05 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2017-11-30 09:27:27 +0800 |
commit | 12c2694b20a9198d2d4f02100ced3dbdc1351f75 (patch) | |
tree | be3ff0d7a5c07b2f6028a47352ce8cfe0db52658 /meta/recipes-devtools/go/go-native.inc | |
parent | 33418ed064fe9cff5b4803f09135a81d9170c189 (diff) | |
download | openembedded-core-contrib-12c2694b20a9198d2d4f02100ced3dbdc1351f75.tar.gz |
go-native: fix PATH issue when len(TMPDIR) == 410
The buf is used for saving PATH, 4096 is a little small when building in deep
path, for example, it would be failed when oe-coe's len(TMPDIR) == 410, use
8192 can fix the problem.
Fixed:
$ bitbake go-native
[snip]
gcc -isystem/workspace2/lyang1/aaaaaaaa/[snip]
exec gcc: No such file or directory
[snip]
Only go-native needs this patch since only it uses go1.4 which has unix.c.
[YOCTO #11351]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/go/go-native.inc')
-rw-r--r-- | meta/recipes-devtools/go/go-native.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/go/go-native.inc b/meta/recipes-devtools/go/go-native.inc index 95db1c2b7c..0791b6d5e1 100644 --- a/meta/recipes-devtools/go/go-native.inc +++ b/meta/recipes-devtools/go/go-native.inc @@ -4,7 +4,9 @@ nonstaging_libdir := "${libdir}" inherit native -SRC_URI_append = " http://golang.org/dl/go1.4.3.src.tar.gz;name=bootstrap;subdir=go1.4" +SRC_URI_append = " http://golang.org/dl/go1.4.3.src.tar.gz;name=bootstrap;subdir=go1.4 \ + file://0001-cmd-dist-unix.c-bprintf-use-larger-buf.patch;patchdir=../go1.4 \ +" SRC_URI[bootstrap.md5sum] = "dfb604511115dd402a77a553a5923a04" SRC_URI[bootstrap.sha256sum] = "9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959" |