[PATCH] D39508: [ubsan] lit changes for lld testing, future lto testing.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 03:20:01 PST 2017


lebedev.ri added a comment.

Ok, reproduced with (ld is gold)

  $ CC=clang CXX=clang++ cmake ../compiler-rt -DLLVM_CONFIG_PATH=/usr/bin/llvm-config-6.0 -DCOMPILER_RT_INCLUDE_TESTS=ON -DLLVM_MAIN_SRC_DIR=/build/llvm
  $ make -j9
  $ make check-all -j9
  ...
  [100%] Running all regression tests
  llvm-lit: /build/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse config file '/build/compiler-rt/test/profile/Linux/lit.local.cfg', traceback: Traceback (most recent call last):
    File "/build/llvm/utils/lit/lit/TestingConfig.py", line 88, in load_from_path
      exec(compile(data, path, 'exec'), cfg_globals, None)
    File "/build/compiler-rt/test/profile/Linux/lit.local.cfg", line 37, in <module>
      if root.host_os not in ['Linux'] or not is_gold_linker_available():
    File "/build/compiler-rt/test/profile/Linux/lit.local.cfg", line 27, in is_gold_linker_available
      stderr = subprocess.PIPE)
    File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
      errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory


Repository:
  rL LLVM

https://reviews.llvm.org/D39508





More information about the llvm-commits mailing list