Nothing in the documentation indicates what platforms are supported, or minimum requirements (which is an advantage of using autotools or cmake). What minimum version of G++, etc.?
Platform is running Linux 2.6.32-431.23.3.el6.x86_64, and the code fails to compile from doing a make from the release directory. The actual failure is the code in huge_malloc (huge_malloc.cc) as MADV_HUGEPAGE and MADV_NOHUGEPAGE don't exist. Since it explicitly sets one mode or the other, the assumption is the default on my system is no huge page support, so I commented out the entire block to get it to compile.
Now, I get further. But still no go. When compiling huge_malloc.cc:
g++ -W -Wall -Werror -O3 -flto -ggdb -pthread -fPIC -mrtm -std=c++11 -I../release -I../src -c ../src/huge_malloc.cc -o ../release/huge_malloc.o
Gives the following error:
/tmp/ccX5VXF3.s: Assembler messages:
/tmp/ccX5VXF3.s:1614: Error: no such instruction: xbegin .L37' /tmp/ccX5VXF3.s:2237: Error: no such instruction: xabort $9'
/tmp/ccX5VXF3.s:2267: Error: no such instruction: xend' /tmp/ccX5VXF3.s:2381: Error: no such instruction: xbegin .L28'
/tmp/ccX5VXF3.s:2407: Error: no such instruction: `xabort $9'
make: *** [../release/huge_malloc.o] Error 1
If I comment out most of this file, we get a similar error building large_malloc.cc:
g++ -W -Wall -Werror -O3 -flto -ggdb -pthread -fPIC -mrtm -std=c++11 -I../release -I../src -c ../src/large_malloc.cc -o ../release/large_malloc.o
/tmp/ccYsHMMz.s: Assembler messages:
/tmp/ccYsHMMz.s:2681: Error: no such instruction: xbegin .L74' /tmp/ccYsHMMz.s:2838: Error: no such instruction: xbegin .L66'
/tmp/ccYsHMMz.s:2869: Error: no such instruction: xabort $9' /tmp/ccYsHMMz.s:2881: Error: no such instruction: xend'
make: *** [../release/large_malloc.o] Error 1
Nothing in the documentation indicates what platforms are supported, or minimum requirements (which is an advantage of using autotools or cmake). What minimum version of G++, etc.?
Platform is running Linux 2.6.32-431.23.3.el6.x86_64, and the code fails to compile from doing a make from the release directory. The actual failure is the code in huge_malloc (huge_malloc.cc) as MADV_HUGEPAGE and MADV_NOHUGEPAGE don't exist. Since it explicitly sets one mode or the other, the assumption is the default on my system is no huge page support, so I commented out the entire block to get it to compile.
Now, I get further. But still no go. When compiling huge_malloc.cc:
g++ -W -Wall -Werror -O3 -flto -ggdb -pthread -fPIC -mrtm -std=c++11 -I../release -I../src -c ../src/huge_malloc.cc -o ../release/huge_malloc.o
Gives the following error:
/tmp/ccX5VXF3.s: Assembler messages:
/tmp/ccX5VXF3.s:1614: Error: no such instruction:
xbegin .L37' /tmp/ccX5VXF3.s:2237: Error: no such instruction:xabort $9'/tmp/ccX5VXF3.s:2267: Error: no such instruction:
xend' /tmp/ccX5VXF3.s:2381: Error: no such instruction:xbegin .L28'/tmp/ccX5VXF3.s:2407: Error: no such instruction: `xabort $9'
make: *** [../release/huge_malloc.o] Error 1
If I comment out most of this file, we get a similar error building large_malloc.cc:
g++ -W -Wall -Werror -O3 -flto -ggdb -pthread -fPIC -mrtm -std=c++11 -I../release -I../src -c ../src/large_malloc.cc -o ../release/large_malloc.o
/tmp/ccYsHMMz.s: Assembler messages:
/tmp/ccYsHMMz.s:2681: Error: no such instruction:
xbegin .L74' /tmp/ccYsHMMz.s:2838: Error: no such instruction:xbegin .L66'/tmp/ccYsHMMz.s:2869: Error: no such instruction:
xabort $9' /tmp/ccYsHMMz.s:2881: Error: no such instruction:xend'make: *** [../release/large_malloc.o] Error 1