diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-01-24 14:57:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-24 22:06:13 +0000 |
commit | 78a24b3a1eae04e5f4744f320e4ccbb8bfe17b9a (patch) | |
tree | c82a41157b73962d1d492ef406c4de8269c8b6e9 /meta/recipes-devtools/ccache/ccache_3.6.bb | |
parent | c2e17047b99a0d445dbe91b43d0744bfaa54c580 (diff) | |
download | openembedded-core-contrib-78a24b3a1eae04e5f4744f320e4ccbb8bfe17b9a.tar.gz |
ccache: Fix Segmentation fault error when gcc -o /dev/null
Fixed:
$ export CCACHE_DEBUG=1
$ ccache gcc -c hello.c -o /dev/null
Segmentation fault (core dumped)
This is because failed to open /dev/null.foo (Permission denied), check file
stream before write to it can fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache/ccache_3.6.bb')
-rw-r--r-- | meta/recipes-devtools/ccache/ccache_3.6.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ccache/ccache_3.6.bb b/meta/recipes-devtools/ccache/ccache_3.6.bb index a12306e9a5..60807be0ae 100644 --- a/meta/recipes-devtools/ccache/ccache_3.6.bb +++ b/meta/recipes-devtools/ccache/ccache_3.6.bb @@ -8,4 +8,5 @@ SRC_URI[sha256sum] = "a3f2b91a2353b65a863c5901251efe48060ecdebec46b5eaec8ea8e092 SRC_URI += " \ file://0002-dev.mk.in-fix-file-name-too-long.patch \ + file://0003-Fix-Segmentation-fault-error-when-gcc-o-dev-null.patch \ " |