Files
poky/meta/recipes-devtools/ccache/ccache_3.6.bb
Robert Yang bb97a087e9 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.

(From OE-Core rev: 78a24b3a1eae04e5f4744f320e4ccbb8bfe17b9a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-26 13:39:37 +00:00

13 lines
423 B
BlitzBasic

require ccache.inc
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=70762511f9c509cc2a4e4ba2ef687ae3"
SRC_URI[md5sum] = "bd6fd69db28426baf22ec0acdd5c4b2a"
SRC_URI[sha256sum] = "a3f2b91a2353b65a863c5901251efe48060ecdebec46b5eaec8ea8e092b9e871"
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 \
"