Yes, ultimately the problem is that the mingw-gcc that is in the tarball git has a too low target. But that is a rather larger fix than setting the arch targetted in configure.


2014-07-17 22:50 GMT+02:00 Páli Gábor János <pali.gabor@gmail.com>:
2014-07-17 22:05 GMT+02:00 Niklas Larsson <metaniklas@gmail.com>:
> The bug is that the mingw32 build is generating
> code for i386, which lacks these assembler primitives.

I think this might be a feature instead.  As I wrote earlier, on
FreeBSD/i386, arch is set to i486 in GCC's configure script [1].
Hence, whatever version I install from the Ports Collection, it will
target i486 by default.

[1] https://github.com/mirrors/gcc/blob/master/gcc/config.gcc#L2899