- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.4k
 
Closed
Closed
Copy link
Labels
1st Hackathon: the FixhathonThis issue can be tackled at a ROOT fixathonThis issue can be tackled at a ROOT fixathonbugin:Build System
Milestone
Description
As mentioned here in some setups the compiler is actually a symlink to ccache. When ROOT is compiled with such a wrapper, it stores ccache as the compiler in compiledata.h (with #define CLING_CXX_RLTV "ccache  ") and then ROOT cannot figure out compiler include paths at runtime:
$ root
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C ccache   -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
   ------------------------------------------------------------------
  | Welcome to ROOT 6.26/02                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Apr 12 2022, 16:28:03                 |
  | From tags/v6-26-02@v6-26-02                                      |
  | With                                                             |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------Metadata
Metadata
Assignees
Labels
1st Hackathon: the FixhathonThis issue can be tackled at a ROOT fixathonThis issue can be tackled at a ROOT fixathonbugin:Build System
Type
Projects
Status
Done
Status
No status