https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80928
--- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #18 from rguenther at suse dot de <rguenther at suse dot de> --- [...] > I have not yet built a native i686 compiler with 64bit support but only > tried a x86_64 -> i686 cross with 64bit support where it doesn't > reproduce. > > Native builds for i686 on a x86_64 host are always a bit odd to produce. Indeed, probably worth documenting the procedure somewhere. I believe what you need is to configure with * CC='gcc -m32' 'CXX='g++ -m32' * --enable-targets=all * --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu so configure doesn't conclude it's a cross * using 32-bit gas and gld helps, but isn't required, I believe (it gets a few assembler configure tests wrong where the 32-bit and 64-bit results differ) However, it's easier than having to have a separate machine with a 32-bit kernel around (if such beasts still exist)... Rainer