[all-commits] [llvm/llvm-project] bdc4ec: [AIX] Avoid use of mtim.tv_nsec member of stat str...

Hubert Tong via All-commits all-commits at lists.llvm.org
Mon Apr 26 15:30:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdc4ec04d42a0d9c7db9842754487e97d9778639
      https://github.com/llvm/llvm-project/commit/bdc4ec04d42a0d9c7db9842754487e97d9778639
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/cmake/config-ix.cmake

  Log Message:
  -----------
  [AIX] Avoid use of mtim.tv_nsec member of stat structure on AIX

The value observed for the `mtim.tv_nsec` member is erroneous in some
AIX environments. Avoid using this member by forcing
`HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC` to `0`.

This resolves "mtime changed" errors such as the one
http://lab.llvm.org:8014/#/builders/126/builds/330/steps/5/logs/FAIL__Clang__test_c
has.

Reviewed By: daltenty, jsji

Differential Revision: https://reviews.llvm.org/D101323




More information about the All-commits mailing list