Hahnfeld marked 2 inline comments as done.
Hahnfeld added a comment.

The error with `-DLLVM_USE_SANITIZER=Address` is

  -- Check if the system is big endian
  -- Searching 16 bit integer
  -- Looking for stddef.h
  -- Looking for stddef.h - not found
  -- Check size of unsigned short
  -- Check size of unsigned short - failed
  -- Check size of unsigned int
  -- Check size of unsigned int - failed
  -- Check size of unsigned long
  -- Check size of unsigned long - failed
  CMake Error at <...>/cmake/share/cmake-3.5/Modules/TestBigEndian.cmake:51 
(message):
    no suitable type found
  Call Stack (most recent call first):
    projects/compiler-rt/cmake/base-config-ix.cmake:151 (TEST_BIG_ENDIAN)
    projects/compiler-rt/cmake/config-ix.cmake:138 (test_targets)
    projects/compiler-rt/CMakeLists.txt:99 (include)

The reason is that the compile tests are performed with `-fsanitize=address 
-nodefaultlibs`. This gives a lot of undefined references because the runtime 
dependencies aren't linked in.


https://reviews.llvm.org/D38277



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to