| Summary: | openssl do_compile failed when ccache enabled | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Mingli Yu <mingli.yu> |
| Component: | devtools / tool chain | Assignee: | Mingli Yu <mingli.yu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | alex.kanavin, liezhi.yang, meta.mr.watcher, meta.watcher, raj.khem, randy.macleod, ross.burton |
| Version: | 2.6 | ||
| Target Milestone: | 2.7 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Mingli Yu
2018-06-22 09:52:56 UTC
I've just sent a patch to disable ccache in openssl, which is a workaround instead of a fix but might be the best we can do. Mingli please work on this as a medium priority bug, even after the 2.6 release would be okay with me since it's a build optimization that few people use. Note that openssl-1.1 also has problems with ccache in some cases and has disabled it or clang-3.6: $ cd .../openssl/openssl.git $ git log -1 --stat 4b8574461b92ea64ef048335f942995a09025331 commit 4b8574461b92ea64ef048335f942995a09025331 Author: Emilia Kasper <emilia@openssl.org> Date: Sat Mar 12 17:18:25 2016 +0100 Workaround for false -Warray-bounds in Travis ccache + clang produces a false strcmp warning, see https://llvm.org/bugs/show_bug.cgi?id=20144 Since this only happens with ccache and --strict-warnings, and only with certain versions of glibc / clang, disabling ccache is a reasonable short-term workaround. Reviewed-by: Richard Levitte <levitte@openssl.org> .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rmacleod@fidler openssl/openssl.git $ git tag --contains 4b8574461b92ea64ef048335f942995a09025331 | head -1 OpenSSL_1_1_0 Hi Randy, Since Ross has workarounded the issue, it doesn't break anything now, and seldom ones use ccache, so I think that we can hold on the bug until upstream fixes it. Merged in oe-core 8f9ceebb197dba10f2d08449de2dd64584de06bb |