I updated one of my powerpc64le llvm test systems to Fedora 25 and I started getting a whole bunch of sanitizer test case failures. I tried testing some earlier revisions on the new OS that had worked fine under the old but they generate the same errors now so it isn't any changes in llvm.
There are two different errors:
FATAL: ThreadSanitizer: unsupported VMA range
FATAL: Found 47 - Supported 44 and 46
and
FATAL: Code 0x00010eddf660 is out of application range. Non-PIE build?
FATAL: MemorySanitizer can not mmap the shadow memory.
FATAL: Make sure to compile with -fPIE and to link with -pie.
FATAL: Disabling ASLR is known to cause this error.
FATAL: If running under GDB, try 'set disable-randomization off'.
Obviously something changed when I updated the OS but I am not sure how to fix it. The compilation options didn't change and ASLR isn't disabled. I used the same gcc compiler to build llvm under the different OS releases.
The first full test after the OS update is here: http://lab.llvm.org:8011/builders/sanitizer-ppc64le-linux/builds/3636
Any ideas? Thanks!
Here's the full output from one of the failures:
FAIL: MemorySanitizer-powerpc64le :: Linux/mallinfo.cc (34091 of 34964)
******************** TEST 'MemorySanitizer-powerpc64le :: Linux/mallinfo.cc' FAILED ********************
Script: