Jeffrey Walton
unread,Feb 27, 2016, 12:01:16 AM2/27/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to memory-s...@googlegroups.com
Hi Everyone,
I'm experiencing the following.
FATAL: Code below application range: 0x56195775bd90 < 0x600000000000.
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.
The makefile's CXXFLAGS includes -fPIC for all object files. The
makefile's CXXFLAGS includes -pie for the executable program. So I
think the relocation requirements are covered. (According to the GCC
folks, -fPIC can be used anywhere -fPIE is required. I'm making the
leap the same applies to Clang).
The only out-of-the-ordinary thing I have noticed is the machine is a
desktop with 16GB of memory, and it produces the following in syslog.
I'm not used to seeing it because I don't have machines with this much
memory.
[ 0.000000] total RAM covered: 16320M
[ 0.000000] Found optimal setting for mtrr clean up
[ 0.000000] gran_size: 64K chunk_size: 64M
num_reg: 9 lose cover RAM: 0G
[ 0.000000] New variable MTRRs
[ 0.000000] reg 0, base: 0GB, range: 2GB, type WB
[ 0.000000] reg 1, base: 2GB, range: 1GB, type WB
[ 0.000000] reg 2, base: 3GB, range: 512MB, type WB
[ 0.000000] reg 3, base: 3536MB, range: 16MB, type UC
[ 0.000000] reg 4, base: 3552MB, range: 32MB, type UC
[ 0.000000] reg 5, base: 4GB, range: 4GB, type WB
[ 0.000000] reg 6, base: 8GB, range: 8GB, type WB
[ 0.000000] reg 7, base: 16GB, range: 512MB, type WB
[ 0.000000] reg 8, base: 16880MB, range: 16MB, type UC
Any ideas what I should do?
Thanks in advance.