* If you use -O0 do you get the same error, but with a somewhat longer stacktrace? This should do the trick before the cmake call: export CFLAGS="%{optflags} -O0" Can you try that?