Building on CentOS with gcc4.8.1 problem

May 9, 2014 at 9:54 AM
Edited May 9, 2014 at 9:59 AM
I am getting errors like this:
Scanning dependencies of target casablanca
[ 1%] Building CXX object src/CMakeFiles/casablanca.dir/streams/linux/fileio_linux.cpp.o
/tmp/ccoWLl81.s: Assembler messages:
/tmp/ccoWLl81.s:97: Error: expecting string instruction after `rep'
/tmp/cc7lOzT9.s:188: -//-
/tmp/cc7lOzT9.s:298: -//-
/tmp/cc7lOzT9.s:310: -//-
/tmp/cc7lOzT9.s:322: -//-
/tmp/cc7lOzT9.s:334: -//-
/tmp/cc7lOzT9.s:371: -//-
/tmp/cc7lOzT9.s:494: -//-
/tmp/cc7lOzT9.s:508:-//-
/tmp/cc7lOzT9.s:522: -//-
/tmp/cc7lOzT9.s:536: -//-
/tmp/cc7lOzT9.s:550: -//-
/tmp/cc7lOzT9.s:2028: -//-
/tmp/cc7lOzT9.s:2057: -//-
/tmp/cc7lOzT9.s:2086: -//-
/tmp/cc7lOzT9.s:3975: -//-
/tmp/cc7lOzT9.s:6186: -//-
/tmp/cc7lOzT9.s:10355: -//-
make[2]: *** [src/CMakeFiles/casablanca.dir/streams/linux/fileio_linux.cpp.o] Error 1
make[2]: Leaving directory /home/me/casablanca/Release/buildRelease
make[1]: *** [src/CMakeFiles/casablanca.dir/all] Error 2
make[1]: Leaving directory /home/me/casablanca/Release/buildRelease
make: *** [all] Error 2
after I have done
cmake .. -DCMAKE_BUILD_TYPE=Release
Have anyone met this problem? Is it because of gcc-4.8.1?