http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56909
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-04-12 21:35:26 UTC --- > Remove what? The '--with-arch=i686' setting? If so then is there any > workaround > to get rid of those undefined references. Yes, remove --with-arch=i686 and --with-tune=i686, the default is better.