Compile Error:q
SarahFz89 opened this issue · 1 comments
SarahFz89 commented
I followed all steps to integrate gem5 with ramulator, however, when I tried to scons, I got the below errors:
build/ALPHA/base/debug.hh:101:21: error: binding dereferenced null pointer to reference has undefined behavior [-Werror,-Wnull-dereference]
I would appreciate it if you could help me with the issue.
TarTaroSauce commented
I have the same problem
I guess that it is the problem of the version of clang++ but, now I'm using ubuntu 18.04 so that I can't install clang++ under 3.9.
If you use ubuntu 16.04 or lower, I recommend you to install clang and clang++ 3.5
PS. I tried on my ubuntu 14.04 machine with clang++-3.5 and it worked!
I recommend you to use ubuntu 14.04 and clang++-3.5