[ https://issues.apache.org/jira/browse/ARROW-14436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461036#comment-17461036 ]
Eduardo Ponce commented on ARROW-14436: --------------------------------------- Not sure what was causing the issue here. I was not able to reproduce such error, but based on the SO discussion above (BTW not related to Apache Arrow), others have stumbled upon similar issues. I am closing this issue as [the reporter was able to prevent error by updating software|https://github.com/apache/arrow/pull/11518#issuecomment-949968012]. > [C++] Disable color diagnostics when compiling with ccache > ---------------------------------------------------------- > > Key: ARROW-14436 > URL: https://issues.apache.org/jira/browse/ARROW-14436 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Krisztian Szucs > Assignee: Eduardo Ponce > Priority: Minor > Labels: pull-request-available > Fix For: 7.0.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Copied from [https://github.com/apache/arrow/issues/11279] > Steps to reproduce: > Compile arrow_objlib with ccache, clang and CCACHE_DEBUG=1 > CCACHE_LOGFILE=./ccache.log > Find in ./ccache.log: > Failed; falling back to running the real compiler > Result: unsupported compiler option > Dropping -fcolor-diagnostics fixes the issue. > I suggest either opting into color diagnostics with WITH_COLOR_DIAGNOSTICS or > adding a way to disable it via DISABLE_COLOR_DIAGNOSTICS. > It would be good if this wouldn't be tied to ARROW_USE_CCACHE since its also > relevant for: > -DARROW_USE_CCACHE=OFF -DCMAKE_CXX_COMPILER_LAUNCHER=emscripten_ccache. -- This message was sent by Atlassian Jira (v8.20.1#820001)