This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix bug 31610
ClosedPublic

Authored by kzhuravl on Mar 22 2017, 1:35 PM.

Details

Summary

Was able to reproduce and verify on base/archlinux:latest with gcc (GCC) 6.3.1 20170306 with:
cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_APPEND_VC_REV:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_FFI:BOOL=ON -DFFI_INCLUDE_DIR:PATH="$(pkg-config --variable=includedir libffi)" -DFFI_LIBRARY_DIR:PATH="$(pkg-config --variable=libdir libffi)" -DLLVM_BUILD_DOCS:BOOL=ON -DLLVM_ENABLE_SPHINX:BOOL=ON -DSPHINX_OUTPUT_HTML:BOOL=ON -DSPHINX_OUTPUT_MAN:BOOL=ON -DSPHINX_WARNINGS_AS_ERRORS:BOOL=OFF -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLLVM_BINUTILS_INCDIR:PATH=/usr/include "../${_pkgname}"

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Mar 22 2017, 1:35 PM
kerberizer accepted this revision.Mar 22 2017, 2:47 PM

I can confirm that this fixes the LLVM regression tests on Arch Linux. Many thanks for finding the cause and fixing it.

[100%] Running the LLVM regression tests
-- Testing: 20099 tests, 64 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Testing Time: 121.54s
  Expected Passes    : 19351
  Expected Failures  : 137
  Unsupported Tests  : 611
[100%] Built target check-llvm
This revision is now accepted and ready to land.Mar 22 2017, 2:47 PM
This revision was automatically updated to reflect the committed changes.

I can confirm that this fixes the LLVM regression tests on Arch Linux. Many thanks for finding the cause and fixing it.

[100%] Running the LLVM regression tests
-- Testing: 20099 tests, 64 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Testing Time: 121.54s
  Expected Passes    : 19351
  Expected Failures  : 137
  Unsupported Tests  : 611
[100%] Built target check-llvm

Thanks for verifying and providing directions to reproduce. rL298551.