http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51450
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-30 20:18:31 UTC --- Looks like there are two different places in configure which test -fno-rtti and -fno-exceptions: One around line 28658 (which does not use lt_simple_compile_test_code And one around line 14958 (which does use it). I was looking at the first one rather than the second one.