Closed
Description
I get this error while running all.bash
. It looks similar issue #12814, but as I've got GCC installed, I don't think it is related to Clang. (also, my installed version of Clang is above 3.6). Re-posting this in a separate issue, per Ian's request
[~]$ gcc --version
gcc (GCC) 5.2.0
[~]$ clang --version
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[~]$ go version
go version devel +ae31599 Thu Oct 8 23:15:40 2015 +0000 linux/amd64
[~]$ uname -a
Linux x220 4.2.2-1-ARCH #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 x86_64 GNU/Linux
And the error is as follows:
##### ../misc/cgo/testsanitizers
FATAL: Code 0x55b1cb4d8e20 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'.
==21153==Process memory map follows:
0x55b1cb3f6000-0x55b1cb6fa000 /tmp/go-build208042185/command-line-arguments/_obj/exe/msan
0x55b1cb8f9000-0x55b1cb901000 /tmp/go-build208042185/command-line-arguments/_obj/exe/msan
0x55b1cb901000-0x55b1cdd9c000
0x7f0a2addf000-0x7f0a2b131000
0x7f0a2b131000-0x7f0a2b2cc000 /usr/lib/libc-2.22.so
0x7f0a2b2cc000-0x7f0a2b4cb000 /usr/lib/libc-2.22.so
0x7f0a2b4cb000-0x7f0a2b4cf000 /usr/lib/libc-2.22.so
0x7f0a2b4cf000-0x7f0a2b4d1000 /usr/lib/libc-2.22.so
0x7f0a2b4d1000-0x7f0a2b4d5000
0x7f0a2b4d5000-0x7f0a2b4eb000 /usr/lib/libgcc_s.so.1
0x7f0a2b4eb000-0x7f0a2b6ea000 /usr/lib/libgcc_s.so.1
0x7f0a2b6ea000-0x7f0a2b6eb000 /usr/lib/libgcc_s.so.1
0x7f0a2b6eb000-0x7f0a2b6ee000 /usr/lib/libdl-2.22.so
0x7f0a2b6ee000-0x7f0a2b8ed000 /usr/lib/libdl-2.22.so
0x7f0a2b8ed000-0x7f0a2b8ee000 /usr/lib/libdl-2.22.so
0x7f0a2b8ee000-0x7f0a2b8ef000 /usr/lib/libdl-2.22.so
0x7f0a2b8ef000-0x7f0a2b9ec000 /usr/lib/libm-2.22.so
0x7f0a2b9ec000-0x7f0a2bbeb000 /usr/lib/libm-2.22.so
0x7f0a2bbeb000-0x7f0a2bbec000 /usr/lib/libm-2.22.so
0x7f0a2bbec000-0x7f0a2bbed000 /usr/lib/libm-2.22.so
0x7f0a2bbed000-0x7f0a2bbf4000 /usr/lib/librt-2.22.so
0x7f0a2bbf4000-0x7f0a2bdf3000 /usr/lib/librt-2.22.so
0x7f0a2bdf3000-0x7f0a2bdf4000 /usr/lib/librt-2.22.so
0x7f0a2bdf4000-0x7f0a2bdf5000 /usr/lib/librt-2.22.so
0x7f0a2bdf5000-0x7f0a2be0d000 /usr/lib/libpthread-2.22.so
0x7f0a2be0d000-0x7f0a2c00c000 /usr/lib/libpthread-2.22.so
0x7f0a2c00c000-0x7f0a2c00d000 /usr/lib/libpthread-2.22.so
0x7f0a2c00d000-0x7f0a2c00e000 /usr/lib/libpthread-2.22.so
0x7f0a2c00e000-0x7f0a2c012000
0x7f0a2c012000-0x7f0a2c034000 /usr/lib/ld-2.22.so
0x7f0a2c216000-0x7f0a2c21b000
0x7f0a2c229000-0x7f0a2c233000
0x7f0a2c233000-0x7f0a2c234000 /usr/lib/ld-2.22.so
0x7f0a2c234000-0x7f0a2c235000 /usr/lib/ld-2.22.so
0x7f0a2c235000-0x7f0a2c236000
0x7ffdda888000-0x7ffdda8a9000 [stack]
0x7ffdda9ba000-0x7ffdda9bc000 [vvar]
0x7ffdda9bc000-0x7ffdda9be000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==21153==End of process memory map.
exit status 77
Please let me know if any other information is required.