SuperMalloc
SuperMalloc copied to clipboard
lto1 error when running make
I tried to install SuperMalloc on my computer (Ubuntu-15.10).
When my compiler(g++-4.9.3) was running the following command,
g++ -W -Wall -Werror -O3 -flto -ggdb -pthread -fPIC -mrtm -std=c++11 ../release/aligned_alloc.o -ldl -L../release/lib -Wl,-rpath,../release/lib -ldl ../release/lib/libsupermalloc.so -o ../release/aligned_alloc
an error message showed.
lto1: fatal error: bytecode stream generated with LTO version 4.0 instead of the expected 3.0
Can anyone help me deal with this problem?