[PATCH] D31063: LTO: Fix a potential race condition in the caching API.
Ulrich Weigand via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 09:41:10 PDT 2017
uweigand added a comment.
It looks like this commit broke the SystemZ build bot:
http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/6102
- TEST 'LLVM :: ThinLTO/X86/cache-config.ll' FAILED ********************
LLVM ERROR: Failed to open cache file /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/test/ThinLTO/X86/Output/cache-config.ll.tmp.cache/88CBD6AEFE21EF8594951733D6A16FDEBB8AE7E5: No such file or directory
Any suggestions what might go wrong here? Using strace it appears that the file indeed does not exist:
[pid 54322] open("/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/test/ThinLTO/X86/Output/cache-config.ll.tmp.cache/88CBD6AEFE21EF8594951733D6A16FDEBB8AE7E5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Not sure what the expected behavior should have been here ...
Repository:
rL LLVM
https://reviews.llvm.org/D31063
More information about the llvm-commits
mailing list