http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35367
--- Comment #3 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> 2011-10-29 06:55:58 UTC --- Created attachment 25657 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25657 taken from debian's config-ml.diff Similar bug in libffi (misdetection of target when using --enable-targets=all) produces lots of failures in libgo and libffi testsuite. Both issues are fixed with the attached hack, which is present in debian's set of patches. With this hack current trunk passess bootstrap with --enable-targets=all --enable-languages=all,obj-c++,go and regtest with RUNTESTFLAGS="--target_board 'unix{,-m64}'" just fine on i686.