]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
go-native: fix import error when len(TMPDIR) == 410
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 15 Nov 2017 02:57:05 +0000 (10:57 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 30 Nov 2017 01:27:27 +0000 (09:27 +0800)
commit218a504a761a852ee5013166b6c2b91c6db7ad05
treeec7807569d39cf8978a81ac16ba7384ffa834c80
parent12c2694b20a9198d2d4f02100ced3dbdc1351f75
go-native: fix import error when len(TMPDIR) == 410

It is used for saving file path, 500 is a little small when building in deep
path, for example, it would be failed when oe-coe's len(TMPDIR) == 410, use
1000 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 src/cmd/gc/go.h.

[YOCTO #11351]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/go/files/0002-cmd-gc-go.h-NSYMB-500-1000.patch [new file with mode: 0644]
meta/recipes-devtools/go/go-native.inc